-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[receiver/prometheus] Add static TAG/LABEL to all metrics scraped with job #31812
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
maybe you can use attributesprocessor to add your label |
I think the labels section might have the wrong quoting? At least it looks funky to me. https://prometheus.io/docs/prometheus/latest/configuration/configuration/#static_config Try |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
receiver/prometheus
Describe the issue you're reporting
Hi all,
i use the prometheus-receiver, to scrape the otel-col Metrics. Now i would route the otel-metrics to an other metrics-DB than the default OT-Metrics, createt by the OT-Agent. For this i need an extra TAG/LABEL with every metric, create bei on prometheus-receiver job.
This is my current config:
The label-part is not working. Did any one have an idee, what i could do?
The text was updated successfully, but these errors were encountered: