If you access the applications landing page(localhost:8080) you'll end up with a 404. We should follow prometheus's best practices and have a landing page that describes the application and has a link to the metrics api. We can explore using https://github.com/prometheus/exporter-toolkit/ as this already has a built in way of exposing a landing page. Or, we could just add a simple handler that renders a template.
If you access the applications landing page(
localhost:8080
) you'll end up with a 404. We should follow prometheus's best practices and have a landing page that describes the application and has a link to the metrics api. We can explore using https://github.com/prometheus/exporter-toolkit/ as this already has a built in way of exposing a landing page. Or, we could just add a simple handler that renders a template.