Error in documentation of __param_
for prometheus.scrape
#5995
Labels
bug
Something isn't working
frozen-due-to-age
Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
What's wrong?
The documentations states:
It seems correct would be
Note the single
_
at the end instead of two.Steps to reproduce
Try to write a config using
__param__foo
, go to localhost:12345 and look at the "scraper → Debug info / target" block. There the parameterfoo
has an unintended leading_
resulting in_foo
.System information
Ubuntu 20.04.6 LTS x86_64 5.4.0-167-generic
Software version
Grafana Agent v0.38.1
Configuration
Logs
No response
The text was updated successfully, but these errors were encountered: