Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uprelabeling ignores __name__ when replacing __address__ #5200
Comments
amnonh
referenced this issue
Feb 10, 2019
Closed
prometheus ignores the __name__ in node_exporter configuration #496
This comment has been minimized.
This comment has been minimized.
This is expected, I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search. |
simonpasquier
closed this
Feb 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
amnonh commentedFeb 10, 2019
Bug Report
What did you do?
I'm using my server ip address configuration for node_exporter.
To be able to support both node_exporter 0.14 and node_exporter 0.17 I'm renaming the metrics to 0.14.
What did you expect to see?
both address and names will be replaced.
What did you see instead? Under which circumstances?
Unfortunately, the names were not replaced, but the address was correct.
To verify it, I've changed the name to be replaced in the metric_relabel_configs part.
This did work.
Environment
Prometheus with dokcer container.
System information:
insert output of
uname -srmherePrometheus version:
checked with 2.5 and 2.7.1
Prometheus configuration file: