export enum SampleMode { USER_REJECT = - 1 , AUTO_REJECT = 0 , AUTO_KEEP = 1 , USER_KEEP = 2 } export enum Source { Xray = "xray" , Event = "event" , DDTrace = "ddtrace" } export const traceIDHeader = "x-datadog-trace-id" ; export const parentIDHeader = "x-datadog-parent-id" ; export const samplingPriorityHeader = "x-datadog-sampling-priority" ; export const xraySubsegmentName = "datadog-metadata" ; export const xraySubsegmentKey = "trace" ; export const xrayBaggageSubsegmentKey = "root_span_metadata" ; export const xrayLambdaFunctionTagsKey = "lambda_function_tags" ; export const xraySubsegmentNamespace = "datadog" ; export const xrayTraceEnvVar = "_X_AMZN_TRACE_ID" ; export const awsXrayDaemonAddressEnvVar = "AWS_XRAY_DAEMON_ADDRESS" ; export const ddtraceVersion = "X.X.X" ; export const apiGatewayEventV2 = "2.0" ;