Table of Contents

Class SpanData

Namespace
DotCompute.Abstractions.Telemetry.Traces
Assembly
DotCompute.Abstractions.dll

Represents span data within a trace.

public sealed class SpanData
Inheritance
SpanData
Inherited Members

Properties

Duration

Gets the span duration.

public TimeSpan Duration { get; }

Property Value

TimeSpan

EndTime

Gets the end timestamp.

public required DateTimeOffset EndTime { get; init; }

Property Value

DateTimeOffset

OperationName

Gets the operation name for this span.

public required string OperationName { get; init; }

Property Value

string

SpanId

Gets the span identifier.

public required string SpanId { get; init; }

Property Value

string

StartTime

Gets the start timestamp.

public required DateTimeOffset StartTime { get; init; }

Property Value

DateTimeOffset

Tags

Gets the span tags.

public required IReadOnlyDictionary<string, object?> Tags { get; init; }

Property Value

IReadOnlyDictionary<string, object>