examples/exemplars | |
examples/gocollector | A minimal example of how to include Prometheus instrumentation. |
examples/middleware | |
examples/middleware/httpmiddleware | Package httpmiddleware is adapted from https://github.com/bwplotka/correlator/tree/main/examples/observability/ping/pkg/httpinstrumentation |
examples/random | A simple example exposing fictional RPC latencies with different types of random distributions (uniform, normal, and exponential) as Prometheus metrics. |
examples/simple | A minimal example of how to include Prometheus instrumentation. |
examples/versioncollector | A minimal example of how to include Prometheus instrumentation. |