Search Results for

    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
    OpenTelemetry.Trace.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
    System.Diagnostics.Metrics.Meter

    Tracer

    Declaration
    Tracer Tracer { get; }
    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>
    In This Article
    Back to top Generated by DocFX