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
In the metrics-generator, to convert span and resource attributes to Prometheus labels, we just sanitize them. Which involves of substituting . with _.
While that is correct, the Prometheus spec further specifies how some resource attributes should be used. This means, that in order to properly follow the spec, we need to change two translations
span service.instance.id to metric instance
span service.name to metric job
span service.namespace to metric job, if service.name is not present
The text was updated successfully, but these errors were encountered:
In the metrics-generator, to convert span and resource attributes to Prometheus labels, we just sanitize them. Which involves of substituting
.
with_
.While that is correct, the Prometheus spec further specifies how some resource attributes should be used. This means, that in order to properly follow the spec, we need to change two translations
service.instance.id
to metricinstance
service.name
to metricjob
service.namespace
to metricjob
, ifservice.name
is not presentThe text was updated successfully, but these errors were encountered: