Back to


Latest Go to latest
Published: Apr 28, 2020 | License: Apache-2.0 | Module:
Path Synopsis
api Package api provides clients for the HTTP APIs.
api/prometheus/v1 Package v1 provides bindings to the Prometheus HTTP API v1:
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.
prometheus Package prometheus is the core instrumentation package.
prometheus/graphite Package graphite provides a bridge to push Prometheus metrics to a Graphite server.
prometheus/promauto Package promauto provides alternative constructors for the fundamental Prometheus metric types and their …Vec and …Func variants.
prometheus/promhttp Package promhttp provides tooling around HTTP servers and clients.
prometheus/push Package push provides functions to push metrics to a Pushgateway.
prometheus/testutil Package testutil provides helpers to test code using the prometheus package of client_golang.
prometheus/testutil/promlint Package promlint provides a linter for Prometheus metrics.