You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prometheus and OpenTelemetry support attaching exemplars to metrics. It would be useful to provide support for this out of the box with autometrics.
Ideally, we would integrate with whatever popular libraries are used for to add tracing in each language so that we could automatically attach the trace_id to the metrics.
The biggest problem I foresee with this is that exemplars are not well-supported across many of the OpenTelemetry and Prometheus client libraries. We will either need to submit PRs to add support for exemplars upstream, wait until they are added, or support this feature only when autometrics is being used in combination with a metrics library that supports exemplars.
Since exemplar support is optional and in a number of cases blocked on upstream support for it in the Prometheus/OpenTelemetry client libraries, I am going to close this issue for now.
Prometheus and OpenTelemetry support attaching exemplars to metrics. It would be useful to provide support for this out of the box with autometrics.
Ideally, we would integrate with whatever popular libraries are used for to add tracing in each language so that we could automatically attach the
trace_id
to the metrics.The biggest problem I foresee with this is that exemplars are not well-supported across many of the OpenTelemetry and Prometheus client libraries. We will either need to submit PRs to add support for exemplars upstream, wait until they are added, or support this feature only when autometrics is being used in combination with a metrics library that supports exemplars.
prometheus-client
backend)prometheus-client
package)The text was updated successfully, but these errors were encountered: