Class RedbActivitySource

Assembly: redb.Core.dll

Centralized telemetry identity for REDB. The engine declares each database command on an
named ; an OpenTelemetry consumer subscribes
with .AddSource(RedbActivitySource.SourceName) and a span per command appears.

The source is inert until something subscribes: with no listener nothing is emitted and a command
is run straight through, so REDB adds no trace by itself and no statement text or parameters ever
leave the process in a span. This is the shape EF Core uses for its own
Microsoft.EntityFrameworkCore source: the engine owns the source, the application opts in
by name.

public static class RedbActivitySource

Inheritance

Object→RedbActivitySource