summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/templates/jobs/generic.j2
blob: 65a950078627953fb10af9a17af42d5fdfc39663 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
  - job_name: '{{ job }}'
    metrics_path: /{{ job }}
    scheme: https
    tls_config:
      ca_file: /etc/ssl/prometheus/ca-crt.pem
      cert_file: /etc/ssl/prometheus/server/scrape-crt.pem
      key_file: /etc/ssl/prometheus/server/scrape-key.pem
    file_sd_configs:
    - files:
      - "/etc/prometheus/targets/{{ job }}/*.yml"