Update example config files

This commit is contained in:
Orsiris de Jong 2023-05-29 19:34:37 +02:00
parent 183d72e98f
commit 2aca4487f1
2 changed files with 4 additions and 4 deletions

View file

@ -46,10 +46,10 @@ prometheus:
## Supervision
metrics: true
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
# Since you probably want the backup_job to be the job posted to pushgateway, name it without non URL encoded characters
backup_job: ${MACHINE_ID}
# Prometheus metrics destination can be a http / https server with optional basic authentication (pushgateway), or a file path for node textfile collector to pickup
# example: https://push.monitoring.example.tld/metrics/job/npbackup
# example: https://push.monitoring.example.tld/metrics/job/${BACKUP_JOB} where ${BACKUP_JOB} is defined in prometheus_backup_job
# example: https://push.monitoring.example.tld/metrics/job/${BACKUP_JOB} where ${BACKUP_JOB} is defined in backup_job above
# example: /var/lib/prometheus/collector/mytextfile
destination:
no_cert_verify: False

View file

@ -46,10 +46,10 @@ prometheus:
## Supervision
metrics: true
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
# Since you probably want the backup_job to be the job posted to pushgateway, name it without non URL encoded characters
backup_job: ${MACHINE_ID}
# Prometheus metrics destination can be a http / https server with optional basic authentication (pushgateway), or a file path for node textfile collector to pickup
# example: https://push.monitoring.example.tld/metrics/job/npbackup
# example: https://push.monitoring.example.tld/metrics/job/${BACKUP_JOB} where ${BACKUP_JOB} is defined in prometheus_backup_job
# example: https://push.monitoring.example.tld/metrics/job/${BACKUP_JOB} where ${BACKUP_JOB} is defined in backup_job above
# example: /var/lib/prometheus/collector/mytextfile
destination:
no_cert_verify: False