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

Modify build_info query to also look for build_info_total #73

Closed
brettimus opened this issue Aug 2, 2023 · 0 comments
Closed

Modify build_info query to also look for build_info_total #73

brettimus opened this issue Aug 2, 2023 · 0 comments

Comments

@brettimus
Copy link
Collaborator

brettimus commented Aug 2, 2023

Because of #38, the build_info functionality does not work out-of-the-box

What's happening is that opentelemetry-python is converting the gauge to a counter, thus the metric name is build_info_total instead of build_info.

We could modify the queries to accommodate this issue, until it's resolved upstream:

* on (instance, job) group_left(version, commit) (
  last_over_time({
    __name__=~"build_info(_total)?"
  }[${interval}])
  or on (instance, job) up
)
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

No branches or pull requests

1 participant