Scrape pretix-metrics #12

Open
opened 2026-10-06 14:04:57 +00:00 by simon · 0 comments
Owner

See monitoring-ng Recipe for how to configure and pretix docs for the /metrics endpoint.

especially when reducing the standard NUM_WORKERS via env, we want to monitor the health and performance of the instance more thoroughly.

interesting metrics might be:

  • pretix_view_durations_seconds: busy gunicorn workers (sum(rate(…_sum[5m])) vs. NUM_WORKERS)
  • pretix_task_duration_seconds: which background tasks are heavy (by (task_name))
See [monitoring-ng Recipe](https://git.coopcloud.tech/coop-cloud/monitoring-ng#discovering-metrics-from-other-apps) for how to configure and [pretix docs](https://docs.pretix.eu/de/self-hosting/maintenance/#performance-monitoring) for the /metrics endpoint. especially when reducing the standard `NUM_WORKERS` via env, we want to monitor the health and performance of the instance more thoroughly. interesting metrics might be: - `pretix_view_durations_seconds`: busy gunicorn workers (`sum(rate(…_sum[5m]))` vs. `NUM_WORKERS`) - `pretix_task_duration_seconds`: which background tasks are heavy (`by (task_name)`)
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/pretix#12