jean-cloud-services/services/nginx_exporter/exporter_config_template.yml
2024-06-15 17:59:53 +02:00

18 lines
354 B
YAML

listen:
port: 4040
address: "localhost"
metrics_endpoint: "/metrics"
namespaces:
- name: nginx
format: "%FORMAT%"
source:
files:
- /var/log/nginx/access.log
metrics_override:
- from: server_name
labels:
host: %HOST%
environment: "production"
histogram_buckets: [.001, .01, .1, .5, 1, 5, 10]