Skip to content

RunTrace

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A run’s span tree. The waterfall view is built on top of this.

public sealed record RunTrace : IEquatable<RunTrace>

objectRunTrace

IEquatable<RunTrace>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public RunTrace()

The last span’s end (UTC).

public DateTimeOffset? EndedAt { get; init; }

DateTimeOffset?

The database identifier.

public required Guid Id { get; init; }

Guid

The associated run. null for spans without a run.

public Guid? RunId { get; init; }

Guid?

The spans, ordered by start time.

public IReadOnlyList<TraceSpan> Spans { get; init; }

IReadOnlyList<TraceSpan>

The first span’s start (UTC).

public required DateTimeOffset StartedAt { get; init; }

DateTimeOffset

The tenant identifier.

public required string TenantId { get; init; }

string

The W3C trace identifier (32-character hex).

public required string TraceId { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunTrace? other)

other RunTrace?

bool

public override int GetHashCode()

int

public override string ToString()

string

public static bool operator ==(RunTrace? left, RunTrace? right)

left RunTrace?

right RunTrace?

bool

public static bool operator !=(RunTrace? left, RunTrace? right)

left RunTrace?

right RunTrace?

bool