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

Support generic addon to allow specify metric query in configuration #21

Open
maxwangvmt opened this issue Apr 10, 2019 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@maxwangvmt
Copy link
Contributor

Currently, when added one addon to support a new exporter, we need to write code for the exporter.

After looking into some examples as Cassandra and XL server, it seems that we can have one generic addon that can allow users to specify the queries to get the metrics and the mapping from the metrics to the corresponding commodities. For example, user can simply add following to a configuration file:

promethuest-query-1 RESPONSE_TIME
promethuest-query-2 TRANSACTION

and prometurbo will take the settings and query the promethues server for the metrics and generate response time and transaction commodities as in our current prometurbo mechanism.

The above is a simplified version but as discussed with the team, this generic addon should be doable and shouldn't be too complicated. Need further investigation and think an optimal way for the framework.

@maxwangvmt maxwangvmt added the enhancement New feature or request label Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant