forked from PinSpace-Org/GistPin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprometheus.yml
More file actions
46 lines (39 loc) · 1.08 KB
/
Copy pathprometheus.yml
File metadata and controls
46 lines (39 loc) · 1.08 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
# Prometheus configuration for GistPin metrics collection
global:
scrape_interval: 15s
evaluation_interval: 15s
alerting:
alertmanagers:
- static_configs:
- targets: []
rule_files:
- "alert-rules.yml"
- "gistpin-exporter-rules.yml"
- "log-alert-rules.yml"
scrape_configs:
- job_name: "gistpin-backend"
static_configs:
- targets: ["localhost:3000"]
metrics_path: /metrics
- job_name: "node-exporter"
static_configs:
- targets: ["localhost:9100"]
# Custom GistPin exporters (from scrape-configs.yml)
- job_name: "gistpin-gist-exporter"
static_configs:
- targets: ["gistpin-monitoring:9101"]
metrics_path: /metrics
scrape_interval: 30s
scrape_timeout: 10s
- job_name: "gistpin-soroban-exporter"
static_configs:
- targets: ["gistpin-monitoring:9102"]
metrics_path: /metrics
scrape_interval: 30s
scrape_timeout: 15s
- job_name: "gistpin-postgres-exporter"
static_configs:
- targets: ["postgres-exporter:9187"]
metrics_path: /metrics
scrape_interval: 30s
scrape_timeout: 10s