Spaces:
Sleeping
Sleeping
|
Download docs/MONITORING.md from 01ammu/data-cleaning-openenv: direct link, hf CLI and curl.
- Browser
- Download file 882 Bytes
-
https://huggingface.co/spaces/01ammu/data-cleaning-openenv/resolve/main/docs/MONITORING.md
- Command line
-
hf download hf://spaces/01ammu/data-cleaning-openenv/docs/MONITORING.md
-
curl -L -o MONITORING.md https://huggingface.co/spaces/01ammu/data-cleaning-openenv/resolve/main/docs/MONITORING.md
882 Bytes
Monitoring
This project includes a basic uptime check and Prometheus metrics exposure.
Healthcheck (GitHub Action)
- A scheduled GitHub Action (.github/workflows/monitoring-ping.yml) pings the Space health endpoint every 15 minutes.
- If the healthcheck fails, the workflow creates a GitHub issue notifying maintainers.
Prometheus metrics
- Backend exposes
/metrics(Prometheus text format). - You can configure Prometheus to scrape
https://01ammu-data-cleaning-openenv.hf.space/metrics. - A sample Prometheus scrape config is included in
infra/prometheus.yml.
Recommendations
- Configure an alerting/notification channel for critical failures (PagerDuty, Email, Slack).
- Add more detailed application-level metrics (job latency, queue length, errors) via
prometheus_client. - Consider adding uptime checks for the frontend after deployment (Vercel URL).