|
| 1 | +package = "lua-resty-ngxstats" |
| 2 | +version = "1.2.0-1" |
| 3 | +source = { |
| 4 | + url = "git+https://github.com/abtreece/lua-resty-ngxstats.git", |
| 5 | + tag = "v1.2.0" |
| 6 | +} |
| 7 | +description = { |
| 8 | + summary = "OpenResty/NGINX metrics collection and Prometheus exporter", |
| 9 | + detailed = [[ |
| 10 | + lua-resty-ngxstats is a production-ready NGINX metrics exporter |
| 11 | + for OpenResty. It collects connection, request, server zone, |
| 12 | + upstream, and cache metrics, outputting them in Prometheus |
| 13 | + text exposition format. |
| 14 | +
|
| 15 | + Features: |
| 16 | + - Prometheus text format with HELP/TYPE comments |
| 17 | + - Connection metrics (active, accepted, handled, reading, writing, idle) |
| 18 | + - Request metrics (total, current) |
| 19 | + - Server zone metrics with response status codes |
| 20 | + - HTTP method tracking (GET, POST, etc.) |
| 21 | + - Request timing metrics and histograms |
| 22 | + - Slow request tracking |
| 23 | + - Request size histograms |
| 24 | + - SSL/TLS protocol tracking |
| 25 | + - Upstream metrics with response times and health gauge |
| 26 | + - Cache metrics (hit, miss, bypass, etc.) |
| 27 | + - Pre-built Grafana dashboard and Prometheus alerting rules |
| 28 | + ]], |
| 29 | + homepage = "https://github.com/abtreece/lua-resty-ngxstats", |
| 30 | + license = "MIT", |
| 31 | + maintainer = "Britt Treece" |
| 32 | +} |
| 33 | +dependencies = { |
| 34 | + "lua >= 5.1" |
| 35 | +} |
| 36 | +build = { |
| 37 | + type = "builtin", |
| 38 | + modules = { |
| 39 | + ["resty.ngxstats"] = "lib/resty/ngxstats/init.lua", |
| 40 | + ["resty.ngxstats.common"] = "lib/resty/ngxstats/common.lua", |
| 41 | + ["resty.ngxstats.log"] = "lib/resty/ngxstats/log.lua", |
| 42 | + ["resty.ngxstats.prometheus"] = "lib/resty/ngxstats/prometheus.lua", |
| 43 | + ["resty.ngxstats.show"] = "lib/resty/ngxstats/show.lua", |
| 44 | + ["resty.ngxstats.status"] = "lib/resty/ngxstats/status.lua", |
| 45 | + ["resty.ngxstats.version"] = "lib/resty/ngxstats/version.lua", |
| 46 | + } |
| 47 | +} |
0 commit comments