Promtail-generated metrics have promtail_custom prefix #1583
Labels
component/agent
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
We would love help on these issues. Please come help us!
keepalive
An issue or PR that will be kept alive and never marked as stale.
Describe the bug
Metrics created by the metrics pipeline stage have a prefix of "promtail_custom_". This is not documented anywhere and not logged so I eventually figured it out by scraping the metrics and browsing through them manually.
To Reproduce
Steps to reproduce the behavior:
Add a unique metric name to a scrape_config pipeline, like foo_my_metric.
Scrape the metrics manually.
See the metric promail_custom_foo_my_metric in the output.
Expected behavior
Either this behavior should be removed or should be documented.
Environment:
docker image: grafana/promtail:v1.3.0
The text was updated successfully, but these errors were encountered: