You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when a promscrape config contains a target that contains the scheme (http/https), vmagent will drop the target without an error message
To Reproduce
add a http/https scheme to scrape target, see an examples below:
This is a kind of a feature-bug :) Prometheus doesn't allow specifying scheme and metrics path in targets list and in the __address__ label - see the __address__ contains "/" block at the first diagram in this article.
I think this is more a bug than a feature, since it feels natural specifying full scrape urls in targets list or in __address__ label during relabeling. So this "bug" has been fixed in the commit f9df0ca . This commit will be included in the next release. In the meantime it is possible to build vmagent from this commit according to these instructions and verify whether it accepts full urls in targets list as expected.
Describe the bug
when a promscrape config contains a target that contains the scheme (http/https), vmagent will drop the target without an error message
To Reproduce
add a http/https scheme to scrape target, see an examples below:
prometheus.yml:
Expected behavior
vmagent will not start or print out an error to logs/stdout as it works in prometheus
Screenshots
The text was updated successfully, but these errors were encountered: