TracingHeaderType - DataDog/dd-sdk-android GitHub Wiki

enum TracingHeaderType : Enum<TracingHeaderType>

Defines the list of tracing header types that can be injected into http requests.

Entries

DATADOG

DATADOG

Datadog's x-datadog-* header.

Properties

Name Summary
headerType [androidJvm]val headerType: StringExplicit header type property introduced in order to have a consistent value in case if enum values are renamed.
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

B3

B3

Open Telemetry B3 Single header.

Properties

Name Summary
headerType [androidJvm]val headerType: StringExplicit header type property introduced in order to have a consistent value in case if enum values are renamed.
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

B3MULTI

B3MULTI

Open Telemetry B3 Multiple headers.

Properties

Name Summary
headerType [androidJvm]val headerType: StringExplicit header type property introduced in order to have a consistent value in case if enum values are renamed.
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

TRACECONTEXT

TRACECONTEXT

W3C Trace Context header.

Properties

Name Summary
headerType [androidJvm]val headerType: StringExplicit header type property introduced in order to have a consistent value in case if enum values are renamed.
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

Properties

headerType

val headerType: String

Functions

valueOf

fun valueOf(value: String): TracingHeaderType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
IllegalArgumentException if this enum type has no constant with the specified name

values

fun values(): Array<TracingHeaderType>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.