From 6f7024b3df20d983be232ecd1484fe24918d6b39 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Tue, 17 Feb 2026 04:38:10 +0900 Subject: [PATCH] Use `ansible-role-prometheus-nginxlog-exporter` Signed-off-by: Suguru Hirahara --- docs/configuring-playbook-prometheus-grafana.md | 2 +- group_vars/matrix_servers | 2 +- requirements.yml | 3 +++ setup.yml | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/configuring-playbook-prometheus-grafana.md b/docs/configuring-playbook-prometheus-grafana.md index 3f9148367..4f5ca8f90 100644 --- a/docs/configuring-playbook-prometheus-grafana.md +++ b/docs/configuring-playbook-prometheus-grafana.md @@ -106,7 +106,7 @@ There are some additional things you may wish to configure about Prometheus and Take a look at: - [Prometheus role](https://github.com/mother-of-all-self-hosting/ansible-role-prometheus)'s [`defaults/main.yml`](https://github.com/mother-of-all-self-hosting/ansible-role-prometheus/blob/main/defaults/main.yml) for some variables that you can customize via your `vars.yml` file. You can override settings (even those that don't have dedicated playbook variables) using the `prometheus_configuration_extension_yaml` variable -- `roles/custom/matrix-prometheus-nginxlog-exporter/defaults/main.yml` for some variables that you can customize via your `vars.yml` file +- `roles/galaxy/prometheus_nginxlog_exporter/defaults/main.yml` for some variables that you can customize via your `vars.yml` file ## Adjusting the playbook configuration — Grafana diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 225d95c1d..8fcf8d228 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -5428,7 +5428,7 @@ grafana_dashboard_download_urls: | grafana_provisioning_dashboard_template_files: | {{ ([{ - 'path': 'roles/custom/matrix-prometheus-nginxlog-exporter/templates/grafana/nginx-proxy.json', + 'path': 'roles/galaxy/prometheus_nginxlog_exporter/templates/grafana/nginx-proxy.json', 'name': 'nginx-proxy.json', }] if matrix_prometheus_nginxlog_exporter_enabled else []) }} diff --git a/requirements.yml b/requirements.yml index 51dd7509d..c1c529834 100644 --- a/requirements.yml +++ b/requirements.yml @@ -65,6 +65,9 @@ - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus.git version: v3.9.1-0 name: prometheus +- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus-nginxlog-exporter.git + version: v1.10.0-0 + name: prometheus_nginxlog_exporter - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus-node-exporter.git version: v1.9.1-13 name: prometheus_node_exporter diff --git a/setup.yml b/setup.yml index c64dc0e21..aae5e2ebc 100644 --- a/setup.yml +++ b/setup.yml @@ -101,7 +101,7 @@ - custom/matrix-synapse-usage-exporter - galaxy/prometheus_node_exporter - galaxy/prometheus_postgres_exporter - - custom/matrix-prometheus-nginxlog-exporter + - galaxy/prometheus_nginxlog_exporter - galaxy/prometheus - galaxy/grafana - custom/matrix-prometheus-services-connect