prometheus/client_golang
Prometheus instrumentation library for Go applications observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 98
- Release rhythm 82
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 31.0
- age_days: 4968
- days_rel: 40
- days_push: 13
- n_releases_24m: 11
Adoption not part of the score
6020 stars · 1308 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The official Go client library for Prometheus, providing APIs for instrumenting application code with metrics and for querying the Prometheus HTTP API. It supports counters, gauges, histograms, and summaries, and can export metrics via OpenTelemetry OTLP.
Use cases
- instrument a Go application with Prometheus metrics
- expose counters and histograms from a Go HTTP server
- query Prometheus data from a Go program
- export Go app metrics via OpenTelemetry OTLP
- add custom business metrics to a Go microservice
When to choose
- you need standard Prometheus metrics instrumentation in Go
- you want the official, widely adopted Prometheus client
- you need to bridge Prometheus metrics into OpenTelemetry pipelines
When to avoid
- you are instrumenting a non-Go language (use the language-specific client)
- you need a full metrics collection and storage system (use Prometheus server itself)
- you rely on the HTTP API client and need strict API stability guarantees
Facets
library · maturity stable
monitoring sdk monitoring developer-tools backend go cross-platform prometheus metrics instrumentation opentelemetry observability
4 sources
- readme: https://github.com/prometheus/client_golang · fetched 2026-08-28 · 0cf0fa5b2281
- homepage: https://pkg.go.dev/github.com/prometheus/client_golang · fetched 2026-08-29 · 7a12bb7e687e
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| prometheus/client_golang | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="prometheus/client_golang")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem