Sessions, captures & infrastructure
Advanced platform features beyond core HTTP metrics.
Sessions
Group activity by end user when events include session_id or user_id.
How to send
Middleware (automatic from headers):
| Header | Field |
|---|---|
x-session-id | session_id |
x-user-id | user_id |
Manual:
typescript
await client.track({
endpoint: 'GET /api/me',
method: 'GET',
statusCode: 200,
latencyMs: 20,
sessionId: 'sess_abc',
userId: 'user_42',
});Dashboard
Sessions page — browse session timelines for the project.
GDPR
Delete session-linked data:
http
DELETE /api/gdpr/sessions/:sessionId?projectId=Requires Clerk JWT. See Dashboard API.
Event captures
Store and replay selected HTTP requests for debugging (when enabled in project Settings).
- Enable captures in Settings
- Events matching capture rules are stored
- Captures page — list and replay
Captures may include sensitive data — restrict project access and disable in production if not needed.
Infrastructure
Infrastructure page aggregates metrics for infra providers (aws, supabase, firebase, …) when your SDK tags outbound calls with those providers.
Track AWS SDK calls via HTTP wrappers or manual provider: 'aws'.
