Spaces:
Running
Running
Create monitoring/prometheus.yml
Browse files- monitoring/prometheus.yml +17 -0
monitoring/prometheus.yml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
global:
|
| 2 |
+
scrape_interval: 15s
|
| 3 |
+
evaluation_interval: 15s
|
| 4 |
+
|
| 5 |
+
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']
|