Search Results for

    Show / Hide Table of Contents

    Class UncompletedSpanEnvelope

    Envelope class that can be used to take an active OpenTelemetry.Trace.TelemetrySpan and propagate it for completion in a later operation.

    Inheritance
    System.Object
    UncompletedSpanEnvelope
    Implements
    IWithActiveScope
    IWithTrace
    IWrappedMessage
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Phobos.Tracing
    Assembly: Phobos.Tracing.dll
    Syntax
    public sealed class UncompletedSpanEnvelope : IWithActiveScope, IWithTrace, IWrappedMessage

    Constructors

    UncompletedSpanEnvelope(Object, TelemetrySpan, in Baggage, Nullable<Int64>)

    Declaration
    public UncompletedSpanEnvelope(object message, TelemetrySpan activeScope, in Baggage baggage, long? startTimestamp = null)
    Parameters
    Type Name Description
    System.Object message
    OpenTelemetry.Trace.TelemetrySpan activeScope
    OpenTelemetry.Baggage baggage
    System.Nullable<System.Int64> startTimestamp

    Properties

    ActiveScope

    Declaration
    public TelemetrySpan ActiveScope { get; }
    Property Value
    Type Description
    OpenTelemetry.Trace.TelemetrySpan

    ActiveSpan

    Declaration
    public SpanContext ActiveSpan { get; }
    Property Value
    Type Description
    OpenTelemetry.Trace.SpanContext

    Baggage

    Declaration
    public Baggage Baggage { get; }
    Property Value
    Type Description
    OpenTelemetry.Baggage

    FollowFromActiveSpan

    Declaration
    public bool FollowFromActiveSpan { get; }
    Property Value
    Type Description
    System.Boolean

    Message

    Declaration
    public object Message { get; }
    Property Value
    Type Description
    System.Object

    StartTimestamp

    Declaration
    public long StartTimestamp { get; }
    Property Value
    Type Description
    System.Int64

    Implements

    IWithActiveScope
    IWithTrace
    IWrappedMessage
    In This Article
    Back to top Generated by DocFX