summaryrefslogtreecommitdiffstats
path: root/tools/performance/prometheus.yml
blob: b9a937c2a5cd6c75eb15cae6a9f6991170067ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
global:
  scrape_interval: 5s
  external_labels:
    monitor: 'my-monitor'

scrape_configs:
  - job_name: 'prometheus'
    static_configs:
      - targets: ['localhost:9090']

  - job_name: 'kafka-consumer'
    metrics_path: '/monitoring/prometheus'
    static_configs:
      - targets: ['kafka-consumer:6062']