Back to godoc.org
github.com/prometheus/client_golang

directory github.com/prometheus/client_golang

v1.6.0
Latest Go to latest
Published: Apr 28, 2020 | License: Apache-2.0 | Module: github.com/prometheus/client_golang
Path Synopsis
api Package api provides clients for the HTTP APIs.
api/prometheus/v1 Package v1 provides bindings to the Prometheus HTTP API v1: http://prometheus.io/docs/querying/api/
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/internal
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.