VelaIngestClient sends events to Vela. It authenticates with your app’s API key (vela_live_...).
Constructor
| Option | Type | Default | Description |
|---|---|---|---|
baseUrl | string | https://api.vela.dev | API base URL |
timeout | number | 30000 | Request timeout in ms |
fetchImpl | typeof fetch | globalThis.fetch | Custom fetch implementation |
Send a single event
Send a batch
Send up to 100 events in a single request:Event levels
| Level | When to use |
|---|---|
info | Normal business events — order placed, user signed up |
success | Completed flows — payment captured, email delivered |
warning | Degraded but non-critical — retry #2, slow response |
error | Failures requiring attention — payment failed, webhook error |