Link Search Menu Expand Document

DefaultTelemetryTrace


A singleton subclass of TelemetryTrace used by RepoDb.Telemetry.Default. It is created and started internally by DefaultTelemetryGlobalConfiguration.UseDefaultTelemetry() — there is no need to instantiate it directly.

Properties

NameDescription
InstanceGets the singleton instance. Throws InvalidOperationException if accessed before UseDefaultTelemetry() has been called.

Calling UseDefaultTelemetry() more than once is safe — it reuses the same singleton instance rather than starting a new one.