From 7f90dda4fcec32bf2a0e798e60684b2a187e6eea Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 30 Jan 2025 14:12:19 +0900 Subject: [PATCH] Update docs/configuring-playbook-prometheus-nginxlog.md: move down the section "Docker Image Compatibility" The section seems to be less relevant than the one for saving metrics on a Prometheus server. Signed-off-by: Suguru Hirahara --- ...configuring-playbook-prometheus-nginxlog.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/configuring-playbook-prometheus-nginxlog.md b/docs/configuring-playbook-prometheus-nginxlog.md index eb46f1b54..5d04d905b 100644 --- a/docs/configuring-playbook-prometheus-nginxlog.md +++ b/docs/configuring-playbook-prometheus-nginxlog.md @@ -22,15 +22,6 @@ Add the following configuration to your `inventory/host_vars/matrix.example.com/ matrix_prometheus_nginxlog_exporter_enabled: true ``` -### Docker Image Compatibility (optional) - -At the moment of writing only images for `amd64` and `arm64` architectures are available. The playbook currently does not support [self-building](./self-building.md) a container image on other architectures. You can however use a custom-build image by setting: - -```yaml -matrix_prometheus_nginxlog_exporter_docker_image_arch_check_enabled: false -matrix_prometheus_nginxlog_exporter_docker_image: path/to/docker/image:tag -``` - ### Save metrics on an external Prometheus server (optional) > [!WARNING] @@ -46,6 +37,15 @@ Whichever way you go with, this service will expose its metrics endpoint **witho For password-protection, use (`matrix_metrics_exposure_http_basic_auth_enabled` and `matrix_metrics_exposure_http_basic_auth_users`) or (`matrix_prometheus_nginxlog_exporter_container_labels_metrics_middleware_basic_auth_enabled` and `matrix_prometheus_nginxlog_exporter_container_labels_metrics_middleware_basic_auth_users`). +### Docker Image Compatibility (optional) + +At the moment of writing only images for `amd64` and `arm64` architectures are available. The playbook currently does not support [self-building](./self-building.md) a container image on other architectures. You can however use a custom-build image by setting: + +```yaml +matrix_prometheus_nginxlog_exporter_docker_image_arch_check_enabled: false +matrix_prometheus_nginxlog_exporter_docker_image: path/to/docker/image:tag +``` + ### Extending the configuration There are some additional things you may wish to configure about the component.