File size: 655 Bytes
b413138
 
c2c8d10
7e4dcd6
 
 
c2c8d10
 
 
 
 
 
 
 
 
b413138
 
 
739e446
b413138
 
739e446
 
7e4dcd6
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
global:
  scrape_interval: 15s
  evaluation_interval: 15s
  external_labels:
    monitor: 'hopcroft-monitor'
    environment: 'development'

rule_files:
  - "alert_rules.yml"

alerting:
  alertmanagers:
    - static_configs:
        - targets:
          - 'alertmanager:9093'

scrape_configs:
  - job_name: 'hopcroft-api'
    metrics_path: '/metrics'
    static_configs:
      - targets: ['hopcroft-api:8080']
    scrape_interval: 10s

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

  - job_name: 'pushgateway'
    honor_labels: true 
    static_configs:
      - targets: ['pushgateway:9091']
    scrape_interval: 30s