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
@to4kin , the issue should be fixed in the commit 87f8c72 . Could you build vmagent from this commit according to these docs and verify whether it now properly scrapes Spring Boot servers?
@to4kin , the bugfix has been included in v1.38.0 release. Closing the issue as fixed. Feel free re-opening if v1.38.0 or newer release of vmagent doesn't work as expected for your case.
Describe the bug
One of my springboot applications return metrics only if the correct header set:
curl -v localhost:9080/actuator/prometheus
curl -v -H "Accept: text/plain" localhost:9080/actuator/prometheus
curl http://vmagent-host:8429/targets
VMAgent cannot scrape these metrics when prometheus can
To Reproduce
Same issue in Prometheus: prometheus/client_java#267
Expected behavior
VMAgent should scrape this application too
Version
The line returned when passing
--version
command line flag to binary. For example:Used command-line flags
/vmagent-prod -remoteWrite.url=http://victoria-metrics-vminsert:8480/insert/0/prometheus/ -promscrape.consulSDCheckInterval=30s -promscrape.suppressScrapeErrors -promscrape.config=/vmagent-remotewrite-data/scrape.yml
The text was updated successfully, but these errors were encountered: