feature-creeps / observability-workshop

Apache License 2.0
33 stars 7 forks source link

Access prometheus endpoints for domain specific services from web browser #25

Closed abangser closed 4 years ago

abangser commented 5 years ago

On the targets page in prometheus we are able to see what services are scraped but they only display the magical internal DNS urls. Attendees being able to see what the endpoints look like could help them identify if a question can be answered.

possibly solution: write some nginx magic to redirect http://<ip>:9876/<servicename> would be able to redirect to the http://imageflip:8080/actuator/prometheus endpoint.

xellsys commented 4 years ago

You can use the reverse proxy for that: http:///proxy//actuator/prometheus eg: http://46.101.170.74/proxy/imageholder/actuator/prometheus