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,
prometheusremotewriteexporter looks at resource attributes and if there arejobandlabelattributes 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
jobandinstanceattributes together with semantic attributes.Thus I have to duplicate my
service.nameto thejobandservice.instance.idto theinstance.I think it was quite useful if the
prometheusremotewriteexporter checked the attributes and, if the value of some of the attributes (joborinstance) is missing, would use the default value of the corresponding semantic attribute (service.nameorservice.instance.idrespectively).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