Show / Hide Table of Contents

    Class TracingSettings

    Defines all of the settings used by the ActorTracing extension.

    Inheritance
    System.Object
    TracingSettings
    Namespace:Phobos.Tracing.Configuration
    Assembly:Phobos.Tracing.dll
    Syntax
    public class TracingSettings

    Constructors

    TracingSettings(ActorSystem)

    Declaration
    public TracingSettings(ActorSystem system)
    Parameters
    Type Name Description
    Akka.Actor.ActorSystem system

    TracingSettings(Settings)

    Declaration
    public TracingSettings(Settings settings)
    Parameters
    Type Name Description
    Akka.Actor.Settings settings

    TracingSettings(Config)

    Creates a settings instance from the phobos.tracing HOCON section.

    Declaration
    public TracingSettings(Config phobosConfig)
    Parameters
    Type Name Description
    Akka.Configuration.Config phobosConfig

    The phobos.tracing HOCON section.

    Fields

    ApplicationInsightsProviderTypeName

    The underlying CLR type name that we use when ProviderType is set to "appinsights"

    Declaration
    public const string ApplicationInsightsProviderTypeName = "Phobos.Tracing.ApplicationInsights.AppInsightsTracerProvider,Phobos.Tracing.ApplicationInsights"
    Field Value
    Type Description
    System.String

    DefaultProviderTypeName

    The underlying CLR type name that we use when ProviderType is set to "default"

    Declaration
    public const string DefaultProviderTypeName = "Phobos.Tracing.NoOp.NoOpTracerProvider,Phobos.Tracing"
    Field Value
    Type Description
    System.String

    JaegerProviderTypeName

    The underlying CLR type name that we use when ProviderType is set to "jaeger"

    Declaration
    public const string JaegerProviderTypeName = "Phobos.Tracing.Jaeger.JaegerTracerProvider,Phobos.Tracing.Jaeger"
    Field Value
    Type Description
    System.String

    TestProviderTypeName

    The underlying CLR type name that we use when ProviderType is set to "test"

    Declaration
    public const string TestProviderTypeName = "Phobos.Tracing.Mock.MockTracerProvider,Phobos.Tracing"
    Field Value
    Type Description
    System.String

    ZipkinProviderTypeName

    The underlying CLR type name that we use when ProviderType is set to "zipkin"

    Declaration
    public const string ZipkinProviderTypeName = "Phobos.Tracing.Zipkin.ZipkinTracerProvider,Phobos.Tracing.Zipkin"
    Field Value
    Type Description
    System.String

    Properties

    Carrier

    The carrier used for serializing and deserializing OpenTracing.ISpan instances.

    Declaration
    public CarrierType Carrier { get; }
    Property Value
    Type Description
    CarrierType

    EnableActorScopeManager

    When set to true, indicates that we're going to use the ActorScopeManager. Otherwise, it will default to using the NoScopeManager from OpenTracing.

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

    Format

    The format used by the Carrier

    Declaration
    public CarrierFormat Format { get; }
    Property Value
    Type Description
    CarrierFormat

    IsSampling

    Returns true if we are currently sampling traces. false otherwise.

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

    ProviderTypeName

    The CLR type name of the underlying configuration

    Declaration
    public string ProviderTypeName { get; }
    Property Value
    Type Description
    System.String

    SampleRate

    The sampling rate enabled for all OpenTracing.ITracer instances managed by Phobos.Tracing.

    Declaration
    public double SampleRate { get; }
    Property Value
    Type Description
    System.Double
    Back to top Copyright © 2015-2018 Petabridge®