Table of Contents

Class TelemetryEvent

Namespace
DotCompute.Core.Telemetry
Assembly
DotCompute.Core.dll

Represents a telemetry event with structured data. Supports both generic event structure and pipeline-specific properties.

public sealed class TelemetryEvent
Inheritance
TelemetryEvent
Inherited Members

Properties

Attributes

Gets or sets the attributes.

public required Dictionary<string, object?> Attributes { get; init; }

Property Value

Dictionary<string, object>

The attributes.

CorrelationId

Gets or sets the correlation identifier.

public string? CorrelationId { get; init; }

Property Value

string

The correlation id.

Duration

Gets or sets the duration.

public TimeSpan? Duration { get; init; }

Property Value

TimeSpan?

The duration.

ErrorMessage

Gets or sets the error message.

public string? ErrorMessage { get; init; }

Property Value

string

The error message.

EventType

Gets or sets the event type.

public TelemetryEventType? EventType { get; init; }

Property Value

TelemetryEventType?

The event type.

Exception

Gets or sets the exception.

public Exception? Exception { get; init; }

Property Value

Exception

The exception.

ItemsProcessed

Gets or sets the items processed.

public long? ItemsProcessed { get; init; }

Property Value

long?

The items processed.

Metadata

Gets or sets the metadata.

public Dictionary<string, object>? Metadata { get; init; }

Property Value

Dictionary<string, object>

The metadata.

Name

Gets or sets the name.

public required string Name { get; init; }

Property Value

string

The name.

PipelineId

Gets or sets the pipeline identifier.

public string? PipelineId { get; init; }

Property Value

string

The pipeline id.

Source

Gets or sets the source.

public required string Source { get; init; }

Property Value

string

The source.

StageId

Gets or sets the stage identifier.

public string? StageId { get; init; }

Property Value

string

The stage id.

Success

Gets or sets the success.

public bool? Success { get; init; }

Property Value

bool?

The success.

Timestamp

Gets or sets the timestamp.

public required DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

The timestamp.