Ross ROSS = Recommend OSS · open-source software intelligence for agents

trallnag/prometheus-fastapi-instrumentator

Instrument your FastAPI with Prometheus metrics. observed · 2026-08-28

github.com/trallnag/prometheus-fastapi-instrumentator · Python · ISC (permissive) observed · 2026-08-28

Health v2 · maintenance only

92/100

  • Activity 95
  • Release rhythm 83
  • 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: 33
  • age_days: 2246
  • days_rel: 38
  • days_push: 32
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

1482 stars · 117 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A configurable, modular Python library that instruments FastAPI applications with Prometheus metrics. It exposes default HTTP request metrics and supports custom metric functions via a simple one-line setup.

Use cases

  • add prometheus metrics to a fastapi app
  • track http request latency and counts in fastapi
  • expose a /metrics endpoint for prometheus scraping
  • monitor request and response sizes in fastapi
  • create custom prometheus metrics for fastapi endpoints
  • reduce metric cardinality with grouped status codes

When to choose

  • you run a FastAPI service and want Prometheus observability with minimal setup
  • you need sensible default HTTP metrics plus the ability to customize metrics
  • you want a maintained, widely used instrumentation library

When to avoid

  • your app is not built on FastAPI
  • you need a full metrics/monitoring stack rather than just instrumentation
  • you require metrics for frameworks other than FastAPI

Facets

library · maturity active

monitoring middleware web-framework monitoring web-development backend python prometheus fastapi metrics instrumentation exporter devops web-server

2 sources

Member repositories

RepositoryRoleHealth v2
trallnag/prometheus-fastapi-instrumentatormain92

For agents

markdown · JSON · MCP: product_card(name="trallnag/prometheus-fastapi-instrumentator")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem