Quickstart
By the end of this page you'll have an account, an API key, and your first traced event showing up in the dashboard.
Before you start
You'll need an API key scoped to telemetry. Any admin can create one under Organization settings → API Keys. Keep it secret and treat it like a password.
- 1Create your accountSign up with your work email, verify it, and create your organization. This takes about a minute. See the full walkthrough in Members & Invitations once you're ready to bring in your team.
- 2Create an API keyIn Organization settings → API Keys, create a key scoped to telemetry. You'll pass this to the SDK in the next step. See API Keys for details.
- 3Install the Python SDKMidil ships an official Python SDK,
pymidil. Install it with theauthextra so it can talk to Observatory:More language SDKs are on the way. See SDKs.pip install "pymidil[auth]" - 4Wrap your first consumerWrap an existing consumer loop with
ConsumerObserver, no rewrite required:from pymidil.event.observability import ConsumerObserverobserve = ConsumerObserver(observatory_url="https://api.midil.io",api_key="mo_your_api_key",consumer="orders-worker",broker="kafka", # any broker name works, it's just a label)async for record in your_existing_consumer:async with observe(record.key, "OrderPlaced", headers=record.headers):handle_order(record) - 5Check the dashboardOpen Overview. The first event your service reports should show up within moments. No extra setup needed.
What's next
- Core Concepts: the vocabulary Observatory uses, including traces, statuses, control states, idempotency, and the DLQ.
- Using the Dashboard: a tour of every screen.
- Python SDK guides: idempotency, retries, distributed tracing, and more.