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
object
UncompletedSpanEnvelope
Implements
IWithActiveScope
IWithTrace
IWrappedMessage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phobos.Tracing
Assembly: Phobos.Tracing.dll
Syntax
public sealed class UncompletedSpanEnvelope : IWithActiveScope, IWithTrace, IWrappedMessage

Constructors

UncompletedSpanEnvelope(object, TelemetrySpan, in Baggage, long?)

Declaration
public UncompletedSpanEnvelope(object message, TelemetrySpan activeScope, in Baggage baggage, long? startTimestamp = null)
Parameters
Type Name Description
object message
TelemetrySpan activeScope
Baggage baggage
long? startTimestamp

Properties

ActiveScope

The yet-to-be-completed scope from the previous operation.

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

ActiveSpan

The OpenTelemetry.Trace.SpanContext created from the previous operation. Can be completed in the next request, or have a span that flows afterwards, or a child span. Up to the end-user.

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

Baggage

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

FollowFromActiveSpan

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

Message

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

StartTimestamp

Marks the begging of the operation - used to track the total processing latency

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

Implements

IWithActiveScope
IWithTrace
IWrappedMessage
In this article

Phobos®

APM for Akka.NET Applications

© 2025 Petabridge®

All rights reserved

Product
  • Purchase Phobos
  • Contact Sales
  • Phobos Quick Start Guide
  • Phobos Features
  • API Documentation
  • Release Notes
Resources
  • Akka.NET Documentation
  • Petabridge Blog
  • Akka.NET Support Plans
  • Akka.NET Consulting Services
  • Akka.NET Training
Connect
  • Petabridge Website
  • GitHub
  • Twitter
  • LinkedIn
  • YouTube
  • Contact Us
Privacy Policy
Built with ♥ by Petabridge