# jupp0r/prometheus-cpp

Prometheus Client Library for Modern C++

Repository: https://github.com/jupp0r/prometheus-cpp
Canonical: https://ross.abutalabs.com/products/prometheus-cpp
Language: C++
License: NOASSERTION
License Family: other
Topics: prometheus, metrics
Last push: 2026-08-29T17:55:10+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 8, longevity 100
- inputs: {"age_days": 3655, "days_push": 4, "days_rel": 668, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1118, forks 358 (observed 2026-09-01T02:14:03.392018+00:00)

## What it is
A C++ client library implementing the Prometheus data model for collecting and exposing metrics from C++ services. It provides counters, gauges, histograms, and an HTTP exposer so Prometheus can scrape metrics.

## Use cases
- instrument a c++ service with prometheus metrics
- expose counters and histograms for scraping
- add metrics-driven development to c++ applications
- monitor native application performance with prometheus
- embed a metrics http endpoint in a c++ server

## When to choose
- you need native C++ Prometheus instrumentation without shelling out to other processes
- you want low-overhead counters and gauges in high-performance C++ services
- you need an embedded HTTP metrics endpoint for Prometheus scraping

## When to avoid
- you need a full monitoring stack rather than a client library
- your service is not C++ or lacks modern C++ toolchain support
- you need push-gateway-heavy workflows out of the box

## Facets
- artifact type: library
- maturity: active
- function: monitoring, http-server, sdk
- domain: monitoring, developer-tools, backend
- platform: cpp, cross-platform, windows
- tags: prometheus, metrics, instrumentation, observability, c-plus-plus, linux, macos

## Member repositories
- jupp0r/prometheus-cpp (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:03.392018+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:41:48.778588+00:00, confidence not recorded.
  - readme: https://github.com/jupp0r/prometheus-cpp (fetched 2026-09-01T02:14:03.392018+00:00, sha 2ca00e6c4f94)
- Data as of 2026-08-30T08:39:29.467469+00:00.
