Docs/Error Tracking/Performance

Performance / Transactions

Unseenr captures performance data through transactions. A transaction represents a single unit of work in your application, such as an HTTP request, a page load, or a background job.

What Gets Tracked

Transactions include:

  • Transaction name: e.g., GET /api/users or pageload /dashboard
  • Duration: Total time from start to finish
  • Status: Success or error
  • Spans: Individual operations within the transaction (database queries, HTTP calls, etc.)
  • Environment: Production, staging, etc.
  • Timestamp: When the transaction occurred

How Transactions Are Ingested

Transactions are sent through the same ingest endpoint as error events (/api/{projectId}/envelope) with the type transaction. They count against your monthly event quota.

Viewing Performance Data

Navigate to your project's Performance page to see:

  • List of transaction groups with average duration
  • Transaction detail view with timing breakdown
  • Individual span details

Enabling Performance in the SDK

import * as Sentry from "@sentry/browser";

Sentry.init({
  dsn: "https://<PUBLIC_KEY>@app.unseenr.io/<PROJECT_ID>",
  tracesSampleRate: 1.0, // Capture 100% of transactions (adjust for production)
});

Set tracesSampleRate to a value between 0 and 1 to control what percentage of transactions are captured. For high-traffic applications, a lower sample rate reduces quota usage.

Also available in:Deutsch