By the end of this guide, the Sluice agent will be reading events from your Redis broker and forwarding them to the dashboard — without modifying a single line of your application code.Documentation Index
Fetch the complete documentation index at: https://docs.sluice.sh/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Docker (or any container runtime)
- A Redis instance used as your Celery broker
- A Sluice account (free, no credit card required)
1. Create a connection
Sign in to the Sluice dashboard and go to Connections. Click Add Connection, pick “Docker Agent”, and name your connection (e.g., “Production Celery”). You’ll receive:- An API key — starts with
sk_ - A Connection ID — a UUID that identifies this connection
2. Run the agent
3. Verify the connection
Check the agent logs to confirm it connected:4. See your data
Open the Sluice dashboard. Jobs from your Celery workers will appear in real time.How the agent works
The Go agent connects directly to your Redis broker and:- Subscribes to Celery events — listens on
celeryev.*PUB/SUB channels for task and worker events. - Polls queue depths — reads queue lengths via
LLENon queue keys. - Reads queue topology — scans
_kombu.binding.*keys to discover which queues exist. - Normalizes and forwards — converts Celery events to Sluice’s unified model and batches them to the Sluice API.
- Reconnects automatically — if Redis goes down, the agent retries with exponential backoff and resumes when it comes back.
Kubernetes deployment
For production Kubernetes clusters, deploy the agent as a single-replica Deployment:SDK vs Agent — which to choose
| Python SDK | Docker Agent | |
|---|---|---|
| Code changes | 2 lines | None |
| Auto-configures Celery events | Yes | No (manual config needed) |
| Data richness | Highest (in-process access) | High (Redis events + key reads) |
| Deployment | In your Celery worker process | Separate container |
| Best for | App developers who own the code | Platform/DevOps teams |
Next steps
- Agent Configuration Reference — all environment variables and defaults
- Troubleshooting — if jobs aren’t appearing
- Connection Issues — Redis connectivity problems
- REST API Reference — programmatic access to your data