Spaces:
Paused
Paused
Download monitoring/prometheus.yml from Kraft102/widgettdc-api: direct link, hf CLI and curl.
- Browser
- Download file 775 Bytes
-
https://huggingface.co/spaces/Kraft102/widgettdc-api/resolve/main/monitoring/prometheus.yml
- Command line
-
hf download hf://spaces/Kraft102/widgettdc-api/monitoring/prometheus.yml
-
curl -L -o prometheus.yml https://huggingface.co/spaces/Kraft102/widgettdc-api/resolve/main/monitoring/prometheus.yml
775 Bytes
| global: | |
| scrape_interval: 15s | |
| evaluation_interval: 15s | |
| scrape_configs: | |
| - job_name: 'prometheus' | |
| static_configs: | |
| - targets: ['localhost:9090'] | |
| - job_name: 'widgetdc-backend' | |
| static_configs: | |
| - targets: ['backend:3001'] | |
| metrics_path: '/metrics' | |
| # Note: PostgreSQL, Redis, and Neo4j require exporters for metrics | |
| # Direct scraping of native ports doesn't work | |
| # To enable metrics, add: | |
| # - postgres_exporter for PostgreSQL | |
| # - redis_exporter for Redis | |
| # - neo4j has built-in metrics at /metrics on 2004 port (needs config) | |
| - job_name: 'grafana' | |
| static_configs: | |
| - targets: ['grafana:3000'] | |
| metrics_path: '/metrics' | |
| - job_name: 'loki' | |
| static_configs: | |
| - targets: ['loki:3100'] | |
| metrics_path: '/metrics' | |