raazkumar commited on
Commit
85ed17f
·
verified ·
1 Parent(s): 563f922

Upload production/prometheus.yml

Browse files
Files changed (1) hide show
  1. production/prometheus.yml +38 -0
production/prometheus.yml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ global:
2
+ scrape_interval: 15s
3
+ evaluation_interval: 15s
4
+
5
+ alerting:
6
+ alertmanagers:
7
+ - static_configs:
8
+ - targets: []
9
+
10
+ rule_files:
11
+ - /etc/prometheus/rules/*.yml
12
+
13
+ scrape_configs:
14
+ - job_name: 'prometheus'
15
+ static_configs:
16
+ - targets: ['localhost:9090']
17
+
18
+ - job_name: 'ml_intern_api'
19
+ static_configs:
20
+ - targets: ['api:8000']
21
+ metrics_path: /metrics
22
+ scrape_interval: 10s
23
+
24
+ - job_name: 'nginx'
25
+ static_configs:
26
+ - targets: ['nginx:80']
27
+ metrics_path: /stub_status
28
+ scrape_interval: 15s
29
+
30
+ - job_name: 'postgres'
31
+ static_configs:
32
+ - targets: ['postgres:5432']
33
+ scrape_interval: 30s
34
+
35
+ - job_name: 'redis'
36
+ static_configs:
37
+ - targets: ['redis:6379']
38
+ scrape_interval: 30s