A wrapper for enabling Prometheus on a stanard http.ServerMux.
Also contains a docker-compose file for running a Prometheus server with a sample configuration.
mux := http.NewServeMux()
mux = metrics.Expose(mux)
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
A wrapper for enabling Prometheus on a stanard http.ServerMux.
Also contains a docker-compose file for running a Prometheus server with a sample configuration.
mux := http.NewServeMux()
mux = metrics.Expose(mux)