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

Fix mapping of Prometheus query for new metric configuration #228

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

mikkeloscar
Copy link
Contributor

@mikkeloscar mikkeloscar commented Nov 16, 2020

Follow up to #81

This fixes the mapping of query defined in the annotation to the prometheus metric when using the new configuration style where metric type is defined as type: prometheus.

Adds test to cover the initialization of external prometheus metric types which was previously not covered.

Fix #227

@mikkeloscar mikkeloscar force-pushed the prometheus-fix-query-mapping branch from 30d945f to 4506701 Compare November 16, 2020 16:44
@jonathanbeber
Copy link
Contributor

👍

1 similar comment
@mikkeloscar
Copy link
Contributor Author

👍

@mikkeloscar mikkeloscar merged commit b5fbb1b into master Nov 16, 2020
@mikkeloscar mikkeloscar deleted the prometheus-fix-query-mapping branch November 16, 2020 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to create new metrics collector
2 participants