-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprometheus.yml
More file actions
35 lines (30 loc) · 722 Bytes
/
prometheus.yml
File metadata and controls
35 lines (30 loc) · 722 Bytes
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
34
35
global:
scrape_interval: 5s
evaluation_interval: 5s
external_labels:
cluster: "federated-learning"
environment: "development"
scrape_configs:
- job_name: "coordinator"
static_configs:
- targets: ["coordinator:9090"]
labels:
service: "coordinator"
component: "rust-grpc"
- job_name: "aggregator"
static_configs:
- targets: ["aggregator:9091"]
labels:
service: "aggregator"
component: "cpp-grpc"
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
# Alerting rules
rule_files:
- "alerts.yml"
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets: []