Link Search Menu Expand Document

TelemetryItem


Represents a single captured Telemetry record for one operation execution (e.g. Insert, Query). Instances are created internally by TelemetryTrace and passed to IPublisherRepository for publishing.

Properties

NameDescription
ApplicationName of the application that produced the telemetry.
GroupThe logical group the application is categorized under. Defaults to "Default".
SessionIdUnique identifier correlating an operation’s before/after execution logs.
OperationThe operation name (e.g. Insert, Query, Update, Delete).
StartTimeUTC timestamp of when the operation started executing.
StatementThe SQL statement (or equivalent) that was executed.
ElapsedTotal elapsed time of the operation, in milliseconds.
IsCancelledWhether the operation was cancelled from within a trace callback.
ClientThe machine name the operation ran on.
SourceThe name of the assembly that hosts/consumes the library (your application).
VersionThe version of that assembly.

RepoDb.Telemetry.Default uses DefaultTelemetryItem, a concrete subclass of this class.