prometheus_client_golang – github.com/m3db/prometheus_client_golang Directories

prometheus_client_golang/ directory

Directories

PathSynopsis
apiPackage api provides clients for the HTTP APIs.
api/prometheus
api/prometheus/v1Package v1 provides bindings to the Prometheus HTTP API v1: http://prometheus.io/docs/querying/api/
examples
examples/gocollectorA minimal example of how to include Prometheus instrumentation.
examples/randomA simple example exposing fictional RPC latencies with different types of random distributions (uniform, normal, and exponential) as Prometheus metrics.
examples/simpleA minimal example of how to include Prometheus instrumentation.
prometheusPackage prometheus is the core instrumentation package.
prometheus/collectorsPackage collectors provides implementations of prometheus.Collector to conveniently collect process and Go-related metrics.
prometheus/graphitePackage graphite provides a bridge to push Prometheus metrics to a Graphite server.
prometheus/internal
prometheus/promautoPackage promauto provides alternative constructors for the fundamental Prometheus metric types and their …Vec and …Func variants.
prometheus/promhttpPackage promhttp provides tooling around HTTP servers and clients.
prometheus/pushPackage push provides functions to push metrics to a Pushgateway.
prometheus/testutilPackage testutil provides helpers to test code using the prometheus package of client_golang.
prometheus/testutil/promlintPackage promlint provides a linter for Prometheus metrics.
Version
v1.12.8 (latest)
Published
Jun 3, 2022
Platform
linux/amd64
Last checked
2 months ago

Tools for package owners.