Interface IPhobosActorContext
Exposes the underlying Phobos infrastructure for monitoring and tracing
such that it can be accessed directly by an end-user.
Assembly: Phobos.Actor.dll
Syntax
public interface IPhobosActorContext
Properties
ActiveSpan
The currently active OpenTelemetry.Trace.TelemetrySpan.
Declaration
TelemetrySpan ActiveSpan { get; }
Property Value
Type |
Description |
OpenTelemetry.Trace.TelemetrySpan |
|
InstrumentationSettings
Declaration
PhobosActorSettings InstrumentationSettings { get; }
Property Value
Monitor
Declaration
Property Value
Type |
Description |
System.Diagnostics.Metrics.Meter |
|
Tracer
Declaration
Property Value
Type |
Description |
OpenTelemetry.Trace.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 |
System.Nullable<OpenTelemetry.Trace.SpanContext> |
|