Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
prometheusremotewrite
exporter looks at resource attributes and if there arejob
andlabel
attributes they are mapped to the corresponding Prometheus labels. But the rest of the resource attributes are ignored.This provides a bad user experience because users have to add
job
andinstance
attributes together with semantic attributes.Thus I have to duplicate my
service.name
to thejob
andservice.instance.id
to theinstance
.I think it was quite useful if the
prometheusremotewrite
exporter checked the attributes and, if the value of some of the attributes (job
orinstance
) is missing, would use the default value of the corresponding semantic attribute (service.name
orservice.instance.id
respectively).It would also be nice to map all of the resource labels to Prometheus metric labels.
Is there any points on this in the spec? What does Prometheus WG think about this?
Beta Was this translation helpful? Give feedback.
All reactions