-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add an internal metric build_info #4354
Comments
Can I pick this task if no one has picked it yet. |
We already have the version in all the metrics, but not enabled by default https://github.com/open-telemetry/opentelemetry-collector/blob/main/service/telemetry.go#L48 |
Thanks @bogdandrutu ! But I don't unsertand, by default this var is true, I don't see any way to update it, but I don't have it either in timeseries, either in metrics labels. 🤔 |
+1 on this one. |
@dashpole don't you think it duplicates the new "target" metric ? In this case the version, go version, etc will be resources attributes of all internal otel collector data. |
Yes, this is a special-case of passing resource information through prometheus.
I'm not sure I understand the question.
The prometheus receiver will transform target info back into resource information. That is specified in https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#resource-attributes, and is tracked in open-telemetry/opentelemetry-collector-contrib#8265. |
Was there a decision about this? A metric like |
This is currently exposed in the
I believe this can be closed. Please re-open if that's not the case |
Is your feature request related to a problem? Please describe.
Add a metric exposing the build_info somewhere around https://github.com/open-telemetry/opentelemetry-collector/tree/main/internal/obsreportconfig/obsmetrics
This could be very useful to monitor deployed collector and track version drifs, missing updates and so on...
The text was updated successfully, but these errors were encountered: