A healthy self-hosted Sentry deployment depends on several services running together. This page covers how to check service status, read logs, and set up ongoing health monitoring.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/getsentry/sentry/llms.txt
Use this file to discover all available pages before exploring further.
Health check endpoint
Sentry exposes a health check endpoint at/_health/:
full query parameter:
/_health/ as your load balancer or uptime monitor target.
Docker Compose service status
To see the current state of all services:Up. A service in Exit or Restarting state indicates a problem — check its logs for details.
To restart a single service:
Viewing logs
To follow logs for all services:| Service | What it does |
|---|---|
web | Serves the Sentry UI and API |
worker | Processes background Celery tasks |
cron | Runs scheduled jobs |
relay | Accepts and filters inbound events |
ingest-events | Kafka consumer for error events |
ingest-transactions | Kafka consumer for transaction events |
post-process-forwarder-errors | Forwards events for post-processing |
Log levels
Sentry logs atINFO level by default. To increase verbosity for debugging, set the log level in sentry.conf.py:
Sentry reporting to itself
You can configure your self-hosted Sentry instance to report its own errors to itself (or to another Sentry instance). This gives you visibility into internal errors and unexpected exceptions. To enable self-reporting, create a project in Sentry, then set the DSN insentry.conf.py:
Key services to monitor
Web workers
Theweb service runs the Sentry HTTP server. If it’s down, users will see a 502 Bad Gateway error. Monitor it with:
ERROR lines and worker crash/restart messages.
Celery workers
Celery handles background processing (notifications, issue grouping, data cleanup). If workers are down, issues will stop processing and alerts won’t fire.Relay
Relay is the event ingestion gateway. If Relay is down, no new events will arrive in Sentry, even if the web UI appears functional.Kafka consumers
Kafka consumers process ingested events. Check for consumer lag — if consumers fall behind, events will be delayed.Metrics
Sentry can emit metrics to StatsD-compatible systems. To enable, configure the backend insentry.conf.py:
Key metrics to track
| Metric | What to watch for |
|---|---|
| Queue depth | Celery queue growing without draining |
| Event processing latency | Time from ingest to issue creation |
| Error rate | Spike in 5xx responses from the web service |
| Worker concurrency | Workers saturated under load |
Resource usage
Monitor host-level resource usage alongside Sentry service metrics:- Too many Celery workers running with high concurrency
- Memory leaks in long-running workers (check uptime and restart if needed)
- ClickHouse/Snuba queries holding large result sets in memory
- Event volume exceeding the configured retention period
- File attachments accumulating in local file storage without cleanup