{"adoption": {"forks": 117, "observed_at": "2026-08-28T04:04:51.259290+00:00", "stars": 1482}, "canonical_url": "https://ross.abutalabs.com/products/prometheus-fastapi-instrumentator", "card": {"archived": false, "artifact_type": "library", "description": "Instrument your FastAPI with Prometheus metrics.", "domain": ["monitoring", "web-development", "backend"], "enriched": true, "function": ["monitoring", "middleware", "web-framework"], "health_score": 97, "homepage": null, "language": "Python", "license": "ISC", "license_family": "permissive", "maturity": "active", "member_repos": ["trallnag/prometheus-fastapi-instrumentator"], "name": "trallnag/prometheus-fastapi-instrumentator", "platform": ["python"], "pushed_at": "2026-08-01T05:34:02+00:00", "repo": "trallnag/prometheus-fastapi-instrumentator", "stars": 1482, "tags": ["prometheus", "fastapi", "metrics", "instrumentation", "exporter", "devops", "web-server"], "topics": ["prometheus", "fastapi", "metrics", "exporter", "instrumentation"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/prometheus-fastapi-instrumentator", "repo": "trallnag/prometheus-fastapi-instrumentator", "role": "main", "score": 92}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:51.259290+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:34:09.179140+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d82fba8089b9ef216f990bd5058a7a1f9770eda9fb70eb02e39b24d886eef28", "fetched_at": "2026-08-28T04:04:51.259290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trallnag/prometheus-fastapi-instrumentator"}, {"content_hash": "70417fc5a7bd0724bef56b0e5cd7bfb99bf297894e1cc1a3c6441bc73c9298ba", "fetched_at": "2026-08-29T11:40:50.635346+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/prometheus-fastapi-instrumentator/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 100, "rhythm": 83}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2246, "days_push": 32, "days_rel": 38, "gap_med": 33, "n_releases_24m": 6}, "score": 92, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}