Appearance
Quick Start
Send your first event and see it in the console. Two minutes, one curl.
1. Create a Stream
Open Telemetry in the Console and click Create Your First Stream (or Manage Streams, then + New Stream, if you already have one).
- Pick Events.
- Name it
Weband leave retention at 7 days. - Click Create Stream.
2. Issue an ingest key
The new Stream opens on Keys & Setup. Click Issue Key and confirm.
Copy the key right away. It starts with lit_ and is shown only once.
3. Send an event
bash
curl -X POST https://ws.latency.app/v1/ingest \
-H "Authorization: Bearer lit_your_key" \
-H "Content-Type: application/json" \
-d '{"name": "signup", "plan": "pro", "source": "pricing"}'You'll get back:
json
{ "accepted": true, "bytes": 54 }4. See it
Back in Telemetry, pick the Web Stream in Explore. Your event is there, and plan and source are ready to filter on. There's no Stream name in the URL: the key decides where data goes.
Next steps
- Instrument an app with OpenTelemetry: automatic traces, metrics and logs
- Send logs and metrics over HTTP: every format the API accepts