Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ This file only calls out major changes. Please see [the list of Git commits](
https://github.com/api7/nginx-lua-prometheus/commits/main) for the full list
of changes.

## 1.2.0

- Accept an optional `error_metric_labels` map in `metric_data()` and
`collect()` to label the built-in error metric on output. Errors are still
counted under the bare name; an invalid map is logged, counted as an error,
and the bare metric is output (#30).

## 1.1.1

- Update a metric's pending increment in place instead of allocating a new
Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = nginx-lua-prometheus-api7
abstract = Prometheus metric library for Nginx
version = 1.1.1
version = 1.2.0
author = Anton Tolchanov
is_original = no
license = mit
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
-- Note, this file must have version in its name
-- (see https://github.com/knyar/nginx-lua-prometheus/issues/27)
package = "nginx-lua-prometheus-api7"
version = "1.1.1-1"
version = "1.2.0-1"

source = {
url = "git+https://github.com/api7/nginx-lua-prometheus.git",
tag = "1.1.1",
tag = "1.2.0",
}

description = {
Expand Down
Loading