prometheus/client_golang

Prometheus instrumentation library for Go applications

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 6 minutes ago
Added to GitGenius on September 11th, 2026
Created on January 25th, 2013
Open Issues & Pull Requests: 132 (+0)
GitHub issues: Enabled
Number of forks: 1,313
Total Stargazers: 6,028 (+0)
Total Subscribers: 72 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.0 days
Mean response time: 124.6 days
90th percentile: 569.1 days
Tracked items: 150

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 68% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Only 4% of issues opened in the past year have been closed. Three people close 73% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 72
New in 7 days: 2
Closed in 7 days: 1
Avg open age: 882 days
Stale 30+ days: 67
Stale 90+ days: 55

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • stale (66)
  • help wanted (37)
  • bug (26)
  • enhancement (23)
  • good first issue (16)
  • feature request (14)
  • question (8)
  • OpenMetrics (6)

Detailed Description

client_golang is an instrumentation library for Go applications that exports metrics to Prometheus.

The library solves the problem of collecting and exposing application metrics in a format that Prometheus can scrape. It provides two main components: an instrumentation API for adding metrics to application code, and an HTTP API client for querying data from Prometheus servers. Applications use the instrumentation part to define and record metrics like counters, gauges, and histograms, which are then exposed via an HTTP endpoint that Prometheus pulls from periodically.

Developers instrumenting Go applications should choose this library if they want native Prometheus integration with pull-based metric collection. It suits any Go service that needs to expose operational metrics to a Prometheus monitoring system. The library also supports exporting metrics via OpenTelemetry OTLP for environments where pull-based scraping is not feasible, though pull-based collection remains the recommended approach. The HTTP API client for querying Prometheus is still experimental and may see breaking changes without triggering a major version bump.

The project maintains support for the two most recent major releases of Go. Development is proceeding with batched breaking changes tracked toward a v2 milestone, with experimental work on new APIs happening in parallel within the stable release branch. The repository explicitly solicits help on the v2 effort.