Table of Contents

Interface ITracingOptions

Namespace
Steeltoe.Management.OpenTelemetry.Trace
Assembly
Steeltoe.Management.OpenTelemetryBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public interface ITracingOptions

Properties

AlwaysSample

Gets a value indicating whether traces should ALWAYS be captured

bool AlwaysSample { get; }

Property Value

bool

EgressIgnorePattern

Gets a regex pattern for requests leaving this application that should not be traced

string EgressIgnorePattern { get; }

Property Value

string

Remarks

Default value: "/api/v2/spans|/v2/apps/./permissions|/eureka/"

ExporterEndpoint

Gets a value representing the endpoint used for exporting traces

Uri ExporterEndpoint { get; }

Property Value

Uri

IngressIgnorePattern

Gets a regex pattern for requests coming into this application that should not be traced

string IngressIgnorePattern { get; }

Property Value

string

Remarks

Default value: "/actuator/.|/cloudfoundryapplication/.|.\.png|.\.css|.\.js|.\.html|/favicon.ico|/hystrix.stream|.*\.gif"

MaxPayloadSizeInBytes

Gets the maximum payload size in bytes. Default value: 4096.

int MaxPayloadSizeInBytes { get; }

Property Value

int

Name

Gets the name of the application

string Name { get; }

Property Value

string

NeverSample

Gets a value indicating whether traces should NEVER be captured

bool NeverSample { get; }

Property Value

bool

PropagationType

Gets a value indicating the propagation format that should be used

string PropagationType { get; }

Property Value

string

Remarks

Default value is currently B3. W3C trace context is also supported

SingleB3Header

Gets a value indicating whether one or multiple B3 headers should be used

bool SingleB3Header { get; }

Property Value

bool

Remarks

No effect on other propagation types

UseShortTraceIds

Gets a value indicating whether trace ids should be truncated from 16 to 8 bytes in logs

bool UseShortTraceIds { get; }

Property Value

bool

Remarks

This setting will NOT affect exported traces