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 up__param_match[] available in relabeling #3926
Comments
This comment has been minimized.
This comment has been minimized.
|
This is not possible, and I don't think it's sane to offer it. Federation can have multiple params and they should be static. |
brian-brazil
closed this
Mar 8, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 22, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
skpenpen commentedMar 8, 2018
What did you do?
Try to use relabelling to populate the parameter "match[]" for federation
What did you expect to see?
The "__param_match[]" populate from value from consul tag "param"
What did you see instead? Under which circumstances?
failed to reload config: couldn't load configuration (--config.file=/prometheus/conf/prometheus-smhg-mutu.yml): parsing YAML file /prometheus/conf/prometheus.yml: "__param_match[]" is invalid 'target_label' for replace action
Environment
Linux 3.10.0-693.11.1.el7.x86_64 x86_64
Prometheus version:
2.1.0
Prometheus configuration file: