itamae/cookbooks/prometheus-exporters/files/etc/prometheus_exporters.d/filestat.yml

22 lines
675 B
YAML
Raw Permalink Normal View History

exporter:
# Optional network parameters
listen_address: ':9943'
metrics_path: /metrics
# Optional working directory - overridden by parameter '-path.cwd'
# working_directory: "/path/to/my/project"
# Default enable/disable of metrics - overridden if not set by parameter '-metric.*'
enable_crc32_metric: true
enable_nb_line_metric: false
2020-10-24 03:56:43 +00:00
# list of patterns to apply - metrics can be enable/disabled for each group
files:
- patterns: ["/var/run/reboot-required"]
enable_crc32_metric: false
enable_nb_line_metric: false
2020-10-24 03:56:43 +00:00
2020-10-24 15:38:38 +00:00
- patterns: ["/var/spool/apt-mirror/updated"]
enable_crc32_metric: false
enable_nb_line_metric: false