hashicorp/go-metrics
A Golang library for exporting performance and runtime metrics to external metrics systems (i.e. statsite, statsd) observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 98
- Release rhythm 63
- 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: 283.0
- age_days: 4772
- days_rel: 35
- days_push: 16
- n_releases_24m: 3
Adoption not part of the score
1578 stars · 189 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library for instrumenting code and exporting performance and runtime metrics to external metrics systems. It supports multiple sinks including StatsD, statsite, Prometheus, and in-memory aggregation via a flexible MetricSink interface.
Use cases
- instrument go application metrics
- export metrics to statsd
- expose prometheus metrics endpoint from go service
- profile runtime performance of a go app
- aggregate metrics in memory for debugging
- filter high-cardinality metric labels
- dump recent metrics on a signal for debugging
When to choose
- you need lightweight metrics instrumentation in a Go application
- you want pluggable sinks including StatsD, statsite, and Prometheus
- you need label filtering to control metric cardinality
When to avoid
- you need a full observability suite with tracing and logging
- you are not using Go
- you need OpenTelemetry-compatible instrumentation
Facets
library · maturity stable
monitoring analytics monitoring developer-tools backend go cross-platform metrics statsd statsite prometheus instrumentation observability devops
1 source
- readme: https://github.com/hashicorp/go-metrics · fetched 2026-08-28 · 178d1ebe9999
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hashicorp/go-metrics | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="hashicorp/go-metrics")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem