jean-cloud-services/services/nginx_exporter/exporter_config_template.yml

18 lines
354 B
YAML
Raw Normal View History

2024-06-15 15:59:53 +00:00
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]