feature: Observability: Prometheus Metrics and Grafana

This commit is contained in:
voltsrage
2026-06-17 16:25:27 +08:00
parent 101040f9d9
commit df99bf3c91
22 changed files with 1462 additions and 132 deletions
+11
View File
@@ -0,0 +1,11 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: vigilcare_api
# host.docker.internal resolves to the host machine from inside Docker.
# Replace with the container name and internal port if the API runs in Docker too.
static_configs:
- targets: ["host.docker.internal:5270"]
metrics_path: /metrics