File: prometheus.yml

package info (click to toggle)
watcher 15.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,216 kB
  • sloc: python: 52,260; xml: 323; sh: 299; makefile: 78
file content (16 lines) | stat: -rw-r--r-- 591 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
global:
  scrape_interval: 10s
scrape_configs:
  - job_name: "node"
    static_configs:
      - targets: ["controller:3000"]
      - targets: ["controller:9100"]
        labels:
          fqdn: "controller" # change the hostname here to your controller hostname
      - targets: ["compute-1:9100"]
        labels:
          fqdn: "compute-1" # change the hostname here to your fist compute hostname
      - targets: ["compute-2:9100"]
        labels:
          fqdn: "compute-2" # change the hostname her to your secondd compute hostname
      # add as many blocks as compute nodes you have