Class SpanEvent
- Namespace
- DotCompute.Core.Telemetry.Spans
- Assembly
- DotCompute.Core.dll
Represents a point-in-time event that occurred during a span's execution. Events capture specific moments or state changes within the span lifecycle.
public sealed class SpanEvent
- Inheritance
-
SpanEvent
- Inherited Members
Properties
Attributes
Gets or sets the attributes associated with this event. Attributes provide additional context and details about the event.
public Dictionary<string, object?> Attributes { get; init; }
Property Value
- Dictionary<string, object>
A dictionary of attribute key-value pairs.
Name
Gets or sets the name of the event. Provides a human-readable identifier for the type of event that occurred.
public string Name { get; set; }
Property Value
- string
The event name as a string.
Timestamp
Gets or sets the timestamp when the event occurred. Represents the exact moment in time when this event was recorded.
public DateTimeOffset Timestamp { get; set; }
Property Value
- DateTimeOffset
The event timestamp as a DateTimeOffset.