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
This example app serves as an example of how one can easily instrument HTTP handlers with [Prometheus](https://prometheus.io/) metrics.
3
+
This example app serves as an example of how one can easily instrument HTTP handlers with [Prometheus][prometheus] metrics. It uses the Prometheus [go client][client-golang] to create a new Prometheus registry.
4
4
5
5
Usage is simple, on any request to `/` the request will result in a `200` response code. This increments the counter for this response code. Similarly the `/err` endpoint will result in a `404` response code, therefore increments that respective counter.
6
6
7
7
A Docker image is available at: `quay.io/brancz/prometheus-example-app:v0.1.0`
0 commit comments