Spaces:
Runtime error
Runtime error
Download monitoring/prometheus.yml from hello-yaaash25/DoclessAPIAgent: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/spaces/hello-yaaash25/DoclessAPIAgent/resolve/main/monitoring/prometheus.yml
- Command line
-
hf download hf://spaces/hello-yaaash25/DoclessAPIAgent/monitoring/prometheus.yml
-
curl -L -o prometheus.yml https://huggingface.co/spaces/hello-yaaash25/DoclessAPIAgent/resolve/main/monitoring/prometheus.yml
1.09 kB
| global: | |
| scrape_interval: 15s | |
| evaluation_interval: 15s | |
| rule_files: | |
| # - "alert_rules.yml" | |
| scrape_configs: | |
| # API Agent monitoring | |
| - job_name: 'api-agent' | |
| static_configs: | |
| - targets: ['api-agent:3000'] | |
| metrics_path: /metrics | |
| scrape_interval: 15s | |
| # Mock services monitoring | |
| - job_name: 'payment-service' | |
| static_configs: | |
| - targets: ['payment-service:3001'] | |
| metrics_path: /health | |
| scrape_interval: 30s | |
| - job_name: 'oauth2-service' | |
| static_configs: | |
| - targets: ['oauth2-service:3003'] | |
| metrics_path: /health | |
| scrape_interval: 30s | |
| - job_name: 'webhook-service' | |
| static_configs: | |
| - targets: ['webhook-service:3004'] | |
| metrics_path: /health | |
| scrape_interval: 30s | |
| # Nginx monitoring | |
| - job_name: 'nginx' | |
| static_configs: | |
| - targets: ['nginx:80'] | |
| metrics_path: /nginx_status | |
| scrape_interval: 30s | |
| # Self monitoring | |
| - job_name: 'prometheus' | |
| static_configs: | |
| - targets: ['localhost:9090'] | |
| alerting: | |
| alertmanagers: | |
| - static_configs: | |
| - targets: | |
| # - alertmanager:9093 | |