mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-07-17 12:13:34 +03:00
Upgrade prometheus-nginxlog-exporter role (v1.10.0-4 -> v1.10.0-5) and fix its metric names
The exporter's configuration used to ship a leftover "myprefix" placeholder as the metric name prefix, so the bundled Grafana dashboard (which queries unprefixed metric names) could never show any data. Metric names are now unprefixed and the namespace label value changed from matrix to nginx. See the CHANGELOG entry for details. Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3380 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
# 2026-07-17
|
||||
|
||||
## prometheus-nginxlog-exporter metric names have changed
|
||||
|
||||
If you have enabled [metrics for nginx logs](docs/configuring-playbook-prometheus-grafana.md) (`prometheus_nginxlog_exporter_enabled: true`), note that the exporter's metric names have changed.
|
||||
|
||||
The exporter's configuration used to ship a leftover `myprefix` placeholder as the metric name prefix, producing metrics like `myprefix_http_response_count_total`. The bundled Grafana dashboard queries unprefixed metric names (`http_response_count_total`), so it could never show any data (reported in [#3380](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3380)).
|
||||
|
||||
Metric names are now unprefixed, matching the bundled dashboard, which should start working. Each metric carries a `namespace` label, whose value is now `nginx` (previously `matrix`); it is configurable via `prometheus_nginxlog_exporter_config_namespace_name`. If you have built custom dashboards or alerts on top of the old `myprefix_*` metric names, adjust them accordingly, or restore the old behavior by setting `prometheus_nginxlog_exporter_config_namespace_metrics_prefix: myprefix` in your `vars.yml` file.
|
||||
|
||||
|
||||
# 2026-07-16
|
||||
|
||||
## (Backward Compatibility Break) Bridge variables have been renamed
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@
|
||||
version: v3.13.1-0
|
||||
name: prometheus
|
||||
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus-nginxlog-exporter.git
|
||||
version: v1.10.0-4
|
||||
version: v1.10.0-5
|
||||
name: prometheus_nginxlog_exporter
|
||||
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus-node-exporter.git
|
||||
version: v1.12.1-0
|
||||
|
||||
Reference in New Issue
Block a user