summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/templates/job-snippets/generic.j2
blob: 87992eeb1c59b4c1edacf678df399607392ab751 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
  - job_name: '{{ job }}'
    metrics_path: /proxy
    params:
      module:
      - {{ 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/jobs/{{ job }}/*.yml"