Skip to content

product / error-management

Error management

Connect errors, slow queries and logs from the same request. Compatible profiles also expose traces, measurements and sessions. The guide states the SDKs, services to enable and limits.

Thousands of exceptions, one problem each

Equal occurrences become one group, with how often it happens and since when. Open one occurrence and you get the stacktrace, the request, the breadcrumbs and the user.

What is included
  • Resolve, ignore, reopen: and an automatic reopen when it comes back
  • Occurrence histograms and per-occurrence drill-down
  • Sentry profiles for errors and sessions; native crashes with compatible SDKs and processors
  • Promote an error to a ticket without losing the link between the two
  • Private source maps, R8/ProGuard mappings and native symbols: received and reconstructed stacks stay separate
  • Sessions by release and environment, with unknown outcomes explicit
Errors
  • NoMethodError in OrdersController#createRegression47 times2 minutes ago
  • Timeout calling the payment serviceOpen12 times1 hour ago
  • ActiveRecord::RecordNotFound in Cart#showIn progress5 timesyesterday
  • TypeError: undefined is not a functionResolved128 times28 Sep

Slow is a bug too

Slow queries and slow methods from real traffic are turned into verdicts you can act on: N+1, too many queries, slow request, slow external call, jank.

What is included
  • Duration charts per query and per method
  • Threshold alerts on the metrics you care about
  • Parameter capture is opt-in and scrubbed: off by default
  • Correlated to errors and logs of the same request via trace_id
  • OTLP traces with operation timing and explicit missing data
  • Typed measurements and per-series alerts; percentiles with uncertainty bounds
Performance

00:0012:0023:00

The logs of that request, not all the logs

Errors, metrics and logs of one request share a trace_id. From an error you jump to what the app wrote in that same moment.

What is included
  • Append-only stream with levels and JSON attributes
  • Batched ingest from the SDKs
  • Retention set for the install, the organization or the project
  • Manual link from a log line to an error or a ticket
  • Typed OTLP logs through the optional receiver; error severity alone does not create an error report
Logs
  • 14:02:11errorNoMethodError in OrdersController#create a41f-9c02
  • 14:02:11warnN+1 on line_items · 840 ms a41f-9c02
  • 14:02:10infoPOST /orders · user 2841 a41f-9c02
  • 14:01:58infoDeploy v2.4.1 completed
  • 14:01:40infoJob SendReceipt ran in 212 ms

The other areas