Spaces:
Sleeping
Sleeping
Upload prometheus-config.js
Browse files- prometheus-config.js +9 -0
prometheus-config.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
global:
|
| 2 |
+
scrape_interval: 15s
|
| 3 |
+
evaluation_interval: 15s
|
| 4 |
+
|
| 5 |
+
scrape_configs:
|
| 6 |
+
- job_name: 'ocr-api'
|
| 7 |
+
static_configs:
|
| 8 |
+
- targets: ['ocr-api:7860']
|
| 9 |
+
metrics_path: '/metrics'
|