Skip to content

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):

HeaderField
x-session-idsession_id
x-user-iduser_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).

  1. Enable captures in Settings
  2. Events matching capture rules are stored
  3. 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'.