Skip to content

How to add service labels? #2670

Answered by rfratto
tcurdt asked this question in Q&A
Jan 5, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

It must be relabel_configs. Labels starting with __meta_ are only available prior to scraping. relabel_configs applies to discovered targets prior to scraping, while metric_relabel_configs applies to individual metrics post-scraping.

Is there a schema for current version of the yml?

https://grafana.com/docs/agent/latest/configuration/

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@tcurdt
Comment options

@tcurdt
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by tcurdt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants