saemstunes commited on
Commit
780d2f2
·
verified ·
1 Parent(s): 8de4931

Update monitoring/prometheus.yml

Browse files
Files changed (1) hide show
  1. monitoring/prometheus.yml +38 -4
monitoring/prometheus.yml CHANGED
@@ -6,12 +6,46 @@ rule_files:
6
  - "alerts.yml"
7
 
8
  scrape_configs:
9
- - job_name: 'saems-ai-api'
10
  static_configs:
11
- - targets: ['ai-api:8000']
12
  metrics_path: /metrics
13
  scrape_interval: 10s
 
14
 
15
- - job_name: 'prometheus'
16
  static_configs:
17
- - targets: ['localhost:9090']
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  - "alerts.yml"
7
 
8
  scrape_configs:
9
+ - job_name: 'saems-tunes-ai'
10
  static_configs:
11
+ - targets: ['localhost:8001', 'localhost:8002', 'localhost:8003']
12
  metrics_path: /metrics
13
  scrape_interval: 10s
14
+ scrape_timeout: 5s
15
 
16
+ - job_name: 'saems-tunes-api'
17
  static_configs:
18
+ - targets: ['localhost:3000']
19
+ metrics_path: /metrics
20
+ scrape_interval: 15s
21
+
22
+ - job_name: 'node-exporter'
23
+ static_configs:
24
+ - targets: ['localhost:9100']
25
+ scrape_interval: 30s
26
+
27
+ - job_name: 'supabase-metrics'
28
+ static_configs:
29
+ - targets: ['localhost:9187']
30
+ scrape_interval: 30s
31
+
32
+ alerting:
33
+ alertmanagers:
34
+ - static_configs:
35
+ - targets: ['localhost:9093']
36
+
37
+ remote_write:
38
+ - url: http://localhost:9090/api/v1/write
39
+ remote_timeout: 30s
40
+ queue_config:
41
+ capacity: 2500
42
+ max_shards: 200
43
+ min_shards: 1
44
+ max_samples_per_send: 500
45
+ batch_send_deadline: 5s
46
+ min_backoff: 30ms
47
+ max_backoff: 100ms
48
+
49
+ remote_read:
50
+ - url: http://localhost:9090/api/v1/read
51
+ remote_timeout: 1m