Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce complete metric query support to Prometheus metric provider #46

Merged
merged 5 commits into from
Jul 18, 2023

Conversation

zqzten
Copy link
Member

@zqzten zqzten commented Jul 18, 2023

What type of PR is this?

/kind feature
/kind dependencies

What this PR does / why we need it:

This PR completely rewrites the Prometheus metric provider to introduce Prometheus Adapter like mechanism to it. This enables the provider to support any kind of metric query including resource metrics, custom metrics and external metrics, and the configuration is fully compatible with the one used by Prometheus Adapter.

Which issue(s) this PR fixes:

Fixes #38

@zqzten zqzten added kind/feature Categorizes issue or PR as related to a new feature or enhancements of an existing feature. kind/dependencies Pull requests that update a dependency file. labels Jul 18, 2023
@zqzten zqzten added this to the v0.2 milestone Jul 18, 2023
@zqzten zqzten requested a review from dayko2019 July 18, 2023 08:31
@dayko2019 dayko2019 merged commit 420bea8 into traas-stack:main Jul 18, 2023
@zqzten zqzten deleted the prom-metric-provider branch July 19, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/dependencies Pull requests that update a dependency file. kind/feature Categorizes issue or PR as related to a new feature or enhancements of an existing feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support arbitrary metrics query for promethues metric provider
2 participants