Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upec2_sd_config metrics_path not supported #5073
Comments
This comment has been minimized.
This comment has been minimized.
|
ec2_sd_config metrics_path not supported. Using spring boot with the prometheus actuator. Our endpoint is on /prometheus. But the service discovery uses /metrics and cannot be changed. Spring boot reserves /metrics for its own use. |
This comment has been minimized.
This comment has been minimized.
|
The EC2 service discovery has nothing to do with the scrape configuration. Your configuration is probably buggy. Otherwise if you want to override the metrics path through I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search. |
simonpasquier
closed this
Jan 7, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
paulca99 commentedJan 7, 2019
•
edited
Proposal
Use case. Why is this important?
not always possible to use /metrics as the path
Bug Report
have a working ec2_sd_config setup, but there's no way to change the context path from /metrics to /prometheus
Prometheus version:
insert output of
prometheus --versionhere2.6.0
Alertmanager version:
insert output of
alertmanager --versionhere (if relevant to the issue)Prometheus configuration file: