{"adoption": {"forks": 236, "observed_at": "2026-08-28T04:05:03.900039+00:00", "stars": 1562}, "canonical_url": "https://ross.abutalabs.com/products/nginx-lua-prometheus", "card": {"archived": false, "artifact_type": "library", "description": "Prometheus metric library for Nginx written in Lua", "domain": ["monitoring", "web-development", "backend"], "enriched": true, "function": ["monitoring", "logging"], "health_score": 20, "homepage": null, "language": "Lua", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["knyar/nginx-lua-prometheus"], "name": "knyar/nginx-lua-prometheus", "platform": ["lua", "self-hosted"], "pushed_at": "2025-01-04T08:43:30+00:00", "repo": "knyar/nginx-lua-prometheus", "stars": 1562, "tags": ["prometheus", "metrics", "nginx-lua", "observability", "instrumentation", "devops", "nginx", "openresty", "linux"], "topics": ["nginx", "prometheus", "metrics", "lua", "monitoring"], "urls": [], "use_cases": ["expose nginx metrics to prometheus", "track http request latency by server name", "count requests by status code in nginx", "monitor nginx connections with prometheus", "instrument openresty applications with prometheus metrics", "scrape nginx metrics endpoint"], "what_it_is": "A Lua library for Nginx (via ngx_lua/OpenResty) that tracks metrics like counters, gauges, and histograms and exposes them on a /metrics endpoint for Prometheus scraping. It lets you instrument request counts, latencies, and connection states directly in nginx.conf.", "when_to_avoid": ["your nginx build lacks the ngx_lua module and you cannot add it", "you need metrics from non-Lua parts of your stack or other services", "you use a metrics backend other than Prometheus without conversion support"], "when_to_choose": ["you run nginx or OpenResty with ngx_lua and want native Prometheus metrics without an exporter sidecar", "you need low-overhead per-request instrumentation inside nginx itself", "you want counters, gauges, and histograms with custom labels exposed on a scrape endpoint"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nginx-lua-prometheus", "repo": "knyar/nginx-lua-prometheus", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "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:05:03.900039+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.900039+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:00:18.048574+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55631042b2a0c6ec788e35d4c0ecff60252c6814e22ac3ad1e5217a6d0870e87", "fetched_at": "2026-08-28T04:05:03.900039+00:00", "kind": "readme", "missing": false, "url": "https://github.com/knyar/nginx-lua-prometheus"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3819, "days_push": 606, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}