aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/haproxy/conf.yml
blob: 9e3a61ec1b69b227130d4e7774e5bd534e23a78a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# my global config
global:
  scrape_interval: 60s
  evaluation_interval: 120s
  scrape_timeout: 10s

# remote_write:
#   - url: https://prometheus-blocks-prod-us-central1.grafana.net/api/prom/push
#     basic_auth:
#       username: 151269
#       password: eyJrIjoiY2E0NDIwNTM1MmMzMDUxMjZjZTBlYWYzYmNiOGY5ZjU1NzBhYTM0ZiIsIm4iOiJoYXByb3h5X3Byb20iLCJpZCI6NTE2NjQyfQ==

scrape_configs:
  - job_name: haproxy

    honor_labels: true
    metrics_path: '/metrics'
    scheme: 'http'

    static_configs:
      - targets: ["haproxy:8404"]
        labels:
          my: haproxy
          your: haproxy