2022-12-07 14:58:36 +00:00
---
# prometheus-nginxlog-exporter exports nginx logs in a prometheus usable format on a `/metrics/ endpoint
# See: https://github.com/martin-helmich/prometheus-nginxlog-exporter/
matrix_prometheus_nginxlog_exporter_enabled : true
2024-01-13 14:50:44 +00:00
matrix_prometheus_nginxlog_exporter_identifier : ''
# You don't need to configure a hostname and path prefix if you're not exposing this.
matrix_prometheus_nginxlog_exporter_hostname : ''
matrix_prometheus_nginxlog_exporter_path_prefix : "/metrics/nginxlog"
2023-10-06 12:14:03 +00:00
# renovate: datasource=docker depName=ghcr.io/martin-helmich/prometheus-nginxlog-exporter/exporter
2022-12-07 14:58:36 +00:00
matrix_prometheus_nginxlog_exporter_version : v1.10.0
matrix_prometheus_nginxlog_exporter_container_metrics_port : '4040'
matrix_prometheus_nginxlog_exporter_container_syslog_port : '6514'
matrix_prometheus_nginxlog_exporter_docker_image_arch : [ 'amd64' , 'arm64' ]
matrix_prometheus_nginxlog_exporter_docker_image_name_prefix : "{{ 'ghcr.io/martin-helmich/' }}"
matrix_prometheus_nginxlog_exporter_docker_image_tag : "{{ 'latest' if matrix_prometheus_nginxlog_exporter_version == 'master' else matrix_prometheus_nginxlog_exporter_version }}-{{ matrix_architecture }}"
matrix_prometheus_nginxlog_exporter_docker_image : "{{ matrix_prometheus_nginxlog_exporter_docker_image_name_prefix }}prometheus-nginxlog-exporter/exporter:{{ matrix_prometheus_nginxlog_exporter_docker_image_tag }}"
matrix_prometheus_nginxlog_exporter_docker_image_force_pull : "{{ matrix_prometheus_nginxlog_exporter_docker_image.endswith(':latest') }}"
matrix_prometheus_nginxlog_exporter_docker_image_arch_check_enabled : true
2024-01-04 10:49:00 +00:00
# Controls whether prometheus-nginxlog-exporter metrics should be proxied (exposed) on a public URL
2022-12-07 14:58:36 +00:00
matrix_prometheus_nginxlog_exporter_metrics_proxying_enabled : false
2024-01-13 14:50:44 +00:00
matrix_prometheus_nginxlog_exporter_metrics_proxying_hostname : ''
matrix_prometheus_nginxlog_exporter_metrics_proxying_path_prefix : ''
2022-12-07 14:58:36 +00:00
# matrix_prometheus_nginxlog_exporter_dashboard_urls contains a list of URLs with Grafana dashboard definitions.
# If the Grafana role is enabled, these dashboards will be downloaded.
matrix_prometheus_nginxlog_exporter_dashboard_urls : [ ]
matrix_prometheus_nginxlog_exporter_base_path : "{{ matrix_base_data_path }}/prometheus-nginxlog-exporter"
matrix_prometheus_nginxlog_exporter_config_path : "{{ matrix_prometheus_nginxlog_exporter_base_path }}/config"
2024-01-13 14:50:44 +00:00
matrix_prometheus_nginxlog_exporter_container_network : "{{ matrix_prometheus_nginxlog_exporter_identifier }}"
2024-01-14 19:32:02 +00:00
matrix_prometheus_nginxlog_exporter_container_additional_networks : "{{ matrix_prometheus_nginxlog_exporter_container_additional_networks_auto + matrix_prometheus_nginxlog_exporter_container_additional_networks_custom }}"
matrix_prometheus_nginxlog_exporter_container_additional_networks_auto : [ ]
matrix_prometheus_nginxlog_exporter_container_additional_networks_custom : [ ]
2024-01-13 14:50:44 +00:00
# matrix_prometheus_nginxlog_exporter_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
# See `../templates/labels.j2` for details.
#
# To inject your own other container labels, see `matrix_prometheus_nginxlog_exporter_container_labels_additional_labels`.
matrix_prometheus_nginxlog_exporter_container_labels_traefik_enabled : "{{ true if matrix_prometheus_nginxlog_exporter_hostname else false }}"
matrix_prometheus_nginxlog_exporter_container_labels_traefik_docker_network : "{{ matrix_prometheus_nginxlog_exporter_container_network }}"
matrix_prometheus_nginxlog_exporter_container_labels_traefik_hostname : "{{ matrix_prometheus_nginxlog_exporter_hostname }}"
# The path prefix must either be `/` or not end with a slash (e.g. `/metrics`).
matrix_prometheus_nginxlog_exporter_container_labels_traefik_path_prefix : "{{ matrix_prometheus_nginxlog_exporter_path_prefix }}"
2024-09-05 11:58:43 +00:00
matrix_prometheus_nginxlog_exporter_container_labels_traefik_rule : "Host(`{{ matrix_prometheus_nginxlog_exporter_container_labels_traefik_hostname }}`) && PathPrefix(`{{ matrix_prometheus_nginxlog_exporter_container_labels_traefik_path_prefix }}`)"
2024-01-13 14:50:44 +00:00
matrix_prometheus_nginxlog_exporter_container_labels_traefik_entrypoints : web-secure
matrix_prometheus_nginxlog_exporter_container_labels_traefik_tls : "{{ matrix_prometheus_nginxlog_exporter_container_labels_traefik_entrypoints != 'web' }}"
matrix_prometheus_nginxlog_exporter_container_labels_traefik_tls_certResolver : default # noqa var-naming
matrix_prometheus_nginxlog_exporter_container_labels_metrics_middleware_basic_auth_enabled : false
# See: https://doc.traefik.io/traefik/middlewares/http/basicauth/#users
matrix_prometheus_nginxlog_exporter_container_labels_metrics_middleware_basic_auth_users : ''
# matrix_prometheus_nginxlog_exporter_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
# See `../templates/labels.j2` for details.
#
# Example:
# matrix_prometheus_nginxlog_exporter_container_labels_additional_labels: |
# my.label=1
# another.label="here"
matrix_prometheus_nginxlog_exporter_container_labels_additional_labels : ''
2023-03-20 15:04:23 +00:00
2022-12-07 14:58:36 +00:00
# A list of extra docker arguments to pass to the container
matrix_prometheus_nginxlog_exporter_container_extra_arguments : [ ]
# List of systemd services that matrix-prometheus_nginxlog_exporter.service depends on
2024-01-13 14:50:44 +00:00
matrix_prometheus_nginxlog_exporter_systemd_required_services_list : "{{ matrix_prometheus_nginxlog_exporter_systemd_required_services_list_default + matrix_prometheus_nginxlog_exporter_systemd_required_services_list_auto + matrix_prometheus_nginxlog_exporter_systemd_required_services_list_custom }}"
2024-06-04 10:14:34 +00:00
matrix_prometheus_nginxlog_exporter_systemd_required_services_list_default : "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
2024-01-13 14:50:44 +00:00
matrix_prometheus_nginxlog_exporter_systemd_required_services_list_auto : [ ]
matrix_prometheus_nginxlog_exporter_systemd_required_services_list_custom : [ ]
2022-12-07 14:58:36 +00:00
# List of systemd services that matrix-prometheus_nginxlog_exporter.service wants
matrix_prometheus_nginxlog_exporter_systemd_wanted_services_list : [ ]
# Controls whether the matrix-prometheus_nginxlog_exporter container exposes its HTTP port (tcp/4040 in the container).
#
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:4040"), or empty string to not expose.
matrix_prometheus_nginxlog_exporter_container_http_host_bind_port : ''
# Controls whether the matrix-prometheus_nginxlog_exporter container exposes its SYSLOG port (udp/6514 in the container).
#
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:6514"), or empty string to not expose.
2024-10-14 17:47:38 +00:00
# Note: is an UDP connection!
2022-12-07 14:58:36 +00:00
matrix_prometheus_nginxlog_exporter_container_syslog_host_bind_port : ''
2024-01-13 14:50:44 +00:00
matrix_prometheus_nginxlog_exporter_config_namespaces_matrix_source_tags : "{{ matrix_prometheus_nginxlog_exporter_config_namespaces_matrix_source_tags_auto + matrix_prometheus_nginxlog_exporter_config_namespaces_matrix_source_tags_custom }}"
matrix_prometheus_nginxlog_exporter_config_namespaces_matrix_source_tags_auto : [ ]
matrix_prometheus_nginxlog_exporter_config_namespaces_matrix_source_tags_custom : [ ]