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
| Name | Description |
|---|---|
| Application | Name of the application that produced the telemetry. |
| Group | The logical group the application is categorized under. Defaults to "Default". |
| SessionId | Unique identifier correlating an operation’s before/after execution logs. |
| Operation | The operation name (e.g. Insert, Query, Update, Delete). |
| StartTime | UTC timestamp of when the operation started executing. |
| Statement | The SQL statement (or equivalent) that was executed. |
| Elapsed | Total elapsed time of the operation, in milliseconds. |
| IsCancelled | Whether the operation was cancelled from within a trace callback. |
| Client | The machine name the operation ran on. |
| Source | The name of the assembly that hosts/consumes the library (your application). |
| Version | The version of that assembly. |
RepoDb.Telemetry.Default uses DefaultTelemetryItem, a concrete subclass of this class.