Production diagnostics and support bundles
When someone reports a problem, telemetry says that something failed. Production diagnostics keep what the Blazor app was doing - the route and component, the event handler, the requests that failed before it, what the page reported, the circuit's transitions, the release, the trace ids - in a bounded, sanitized timeline in memory, and turn it into a support bundle the user previews and confirms before anything leaves the app.
Errors, Dependencies
and Traces in the banner (or on the consent page) to see the evidence below. Nothing
of it is ever sent to this site: the bundle is downloaded to your own machine.
Turn it on
Off by default. It needs no exporter, follows the user's consent, and on Blazor Server keeps one timeline per circuit - holding only what that circuit's code produced.
builder.Services.AddBitBelemetryServices(o =>
{
o.Diagnostics.Enabled = true;
o.Diagnostics.AutoCaptureTriggers = BelemetryDiagnosticTriggers.Default; // optional: unhandled exceptions, circuit failures
o.Diagnostics.Release.Commit = Environment.GetEnvironmentVariable("GIT_COMMIT");
});Try it
Make something fail, then capture. The preview shows what the bundle would hold; nothing leaves the page until you confirm.
Exception groups
Grouped by BelemetryExceptionFingerprint: the type, the message with its values replaced
(Order {n} not found) and the first application frames - without paths, line numbers or arguments,
so one failure is one group across builds. Each group keeps its count, releases and last occurrences.
None yet: fail something above.
What a bundle holds
A ZIP of JSON documents with a versioned manifest - every file's SHA-256, what was redacted, cut, left out for consent or size, and what the user removed in the preview - plus the issue report as Markdown. Every statement of the report says whether it was observed (an exception logged inside a component's event handler is that handler's failure), inferred (a request that failed just before may be the cause), or user-provided. Metadata, never values: route templates, URL templates, component types, exception types and scrubbed messages; never bodies, headers, cookies, DOM text, session or user ids.
Application state, classification, BevTools
Belemetry never serializes components or services. A snapshot provider describes what support needs as plain
values, only when a capture asks for it; a classifier groups and flags your domain's exceptions; and
Bit.BevTools.Belemetry adds a Support panel to BevTools and the component tree to captures.