From e91fe3e080c90fc49241003afd1c8584aec1aea9 Mon Sep 17 00:00:00 2001 From: Martin Sonnberger Date: Tue, 1 Sep 2026 16:51:31 +0200 Subject: [PATCH] docs(usageStats): Document `callback_error` client discard reason --- docs/product/stats/index.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/product/stats/index.mdx b/docs/product/stats/index.mdx index 67a2f969910b4..3ea58dce901cc 100644 --- a/docs/product/stats/index.mdx +++ b/docs/product/stats/index.mdx @@ -96,6 +96,7 @@ Events and attachments discarded by the SDK. The following reasons are currently - **Invalid**: An event was dropped because it contained invalid data (e.g. replay session exceeded maximum allowed length). - **Ignored**: An event was ignored by the SDK (for example, a span was ignored by `ignore_spans`). - **No Parent Span**: A span was not started or dropped because no parent span was present at span start (for example, auto-instrumented request spans suppressed when the request happens outside an active span). +- **Callback Error**: An event was dropped because a callback (e.g., `before_send`, `traces_sampler`) threw an error. For more details, please consult the [Client Reports](https://develop.sentry.dev/sdk/telemetry/client-reports/#envelope-item-payload) documentation.