1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
scrape_configs:
# Prometheus itself metrics
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
# OpenTelemetry Collector metrics
- job_name: 'otel-collector'
static_configs:
- targets: ['otel-collector:8889']
# Node Exporter for host metrics
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter:9100']