-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprometheus.yml
More file actions
46 lines (41 loc) · 1.13 KB
/
prometheus.yml
File metadata and controls
46 lines (41 loc) · 1.13 KB
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
36
37
38
39
40
41
42
43
44
45
46
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'dia-oracle-system'
scrape_configs:
# Bridge service metrics
- job_name: 'bridge'
static_configs:
- targets: ['bridge:8080']
labels:
service: 'bridge'
component: 'oracle-bridge'
# Attestor service metrics (when implemented)
- job_name: 'attestor'
static_configs:
- targets: ['attestor:8080']
labels:
service: 'attestor'
component: 'oracle-attestor'
# Hyperlane monitor service metrics
- job_name: 'hyperlane-monitor'
static_configs:
- targets: ['hyperlane_monitor:9091']
labels:
service: 'hyperlane-monitor'
component: 'message-monitor'
# PostgreSQL exporter (if added)
- job_name: 'postgres'
static_configs:
- targets: ['postgres-exporter:9187']
labels:
service: 'postgres'
component: 'database'
# Node exporter for system metrics (if added)
- job_name: 'node'
static_configs:
- targets: ['node-exporter:9100']
labels:
service: 'node'
component: 'system'