Skip to content

Commit 7957028

Browse files
committed
chore: release v1.2.0
- Update version.lua to 1.2.0 - Add lua-resty-ngxstats-1.2.0-1.rockspec - Update CHANGELOG with v1.2.0 release notes
1 parent d1d770b commit 7957028

File tree

3 files changed

+52
-2
lines changed

3 files changed

+52
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.2.0] - 2026-01-15
11+
1012
### Added
1113
- **Slow request tracking** - `nginx_server_zone_slow_requests_total` counts requests exceeding configurable threshold (default 1s)
1214
- **Request size histogram** - `nginx_server_zone_request_length_bytes_bucket` tracks request body size distribution with buckets from 100B to 100MB
@@ -107,6 +109,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
107109
- Performance characteristics
108110
- Comparison with nginx-module-vts and NGINX Plus
109111

110-
[Unreleased]: https://github.com/abtreece/lua-resty-ngxstats/compare/v1.1.0...HEAD
112+
[Unreleased]: https://github.com/abtreece/lua-resty-ngxstats/compare/v1.2.0...HEAD
113+
[1.2.0]: https://github.com/abtreece/lua-resty-ngxstats/compare/v1.1.0...v1.2.0
111114
[1.1.0]: https://github.com/abtreece/lua-resty-ngxstats/compare/v1.0.0...v1.1.0
112115
[1.0.0]: https://github.com/abtreece/lua-resty-ngxstats/releases/tag/v1.0.0

lib/resty/ngxstats/version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-- Version module for lua-resty-ngxstats
22
-- Single source of truth for version information
33

4-
return "1.1.0"
4+
return "1.2.0"
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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

Comments
 (0)