TraceSpanBatch
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllA span set belonging to a single trace.
public sealed record TraceSpanBatch : IEquatable<TraceSpanBatch>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”TraceSpanBatch()
Section titled “ TraceSpanBatch()”public TraceSpanBatch()Properties
Section titled “Properties”The associated run.
public Guid? RunId { get; init; }Property Value
Section titled “Property Value”Guid?
The spans to write.
public required IReadOnlyList<TraceSpan> Spans { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant identifier.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”TraceId
Section titled “ TraceId”The W3C trace identifier.
public required string TraceId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(TraceSpanBatch?)
Section titled “ Equals(TraceSpanBatch?)”public bool Equals(TraceSpanBatch? other)Parameters
Section titled “Parameters”other TraceSpanBatch?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(TraceSpanBatch?, TraceSpanBatch?)
Section titled “ operator ==(TraceSpanBatch?, TraceSpanBatch?)”public static bool operator ==(TraceSpanBatch? left, TraceSpanBatch? right)Parameters
Section titled “Parameters”left TraceSpanBatch?
right TraceSpanBatch?
Returns
Section titled “Returns”operator !=(TraceSpanBatch?, TraceSpanBatch?)
Section titled “ operator !=(TraceSpanBatch?, TraceSpanBatch?)”public static bool operator !=(TraceSpanBatch? left, TraceSpanBatch? right)Parameters
Section titled “Parameters”left TraceSpanBatch?
right TraceSpanBatch?