...

Directory /src/github.com/prometheus/client_golang/examples

Name Synopsis
..
random A simple example exposing fictional RPC latencies with different types of random distributions (uniform, normal, and exponential) as Prometheus metrics.
simple A minimal example of how to include Prometheus instrumentation.