Show / Hide Table of Contents

Interface IPhobosActorContext

Exposes the underlying Phobos infrastructure for monitoring and tracing such that it can be accessed directly by an end-user.

Namespace: Phobos.Actor
Assembly: Phobos.Actor.dll
Syntax
public interface IPhobosActorContext

Properties

ActiveSpan

The currently active OpenTelemetry.Trace.TelemetrySpan.

Declaration
TelemetrySpan ActiveSpan { get; }
Property Value
Type Description
TelemetrySpan
Remarks

Might be different than OpenTelemetry.Trace.Tracer.CurrentSpan.

InstrumentationSettings

Declaration
PhobosActorSettings InstrumentationSettings { get; }
Property Value
Type Description
PhobosActorSettings

Monitor

Declaration
Meter Monitor { get; }
Property Value
Type Description
Meter

Tracer

Declaration
Tracer Tracer { get; }
Property Value
Type Description
Tracer

UsableContext

In the event that tracing is disabled, the UsableContext might be the context from the previous actor. In the event that tracing is enabled, the usable context will be set from the ActiveSpan.

Declaration
SpanContext? UsableContext { get; }
Property Value
Type Description
SpanContext?
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