File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,6 @@ class TraceHeader(object):
19
19
SAMPLING_PRIORITY = "x-datadog-sampling-priority"
20
20
21
21
22
- # X-Ray subsegment to save Datadog trace metadata
23
- class XraySubsegment (object ):
24
- NAME = "datadog-metadata"
25
- TRACE_KEY = "trace"
26
- LAMBDA_FUNCTION_TAGS_KEY = "lambda_function_tags"
27
- NAMESPACE = "datadog"
28
-
29
-
30
22
# TraceContextSource of datadog context. The DD_MERGE_XRAY_TRACES
31
23
# feature uses this to determine when to use X-Ray as the parent
32
24
# trace.
Original file line number Diff line number Diff line change 10
10
from datadog_lambda .constants import (
11
11
SamplingPriority ,
12
12
TraceHeader ,
13
- XraySubsegment ,
14
13
TraceContextSource ,
15
14
XRAY_TRACE_ID_HEADER_NAME ,
16
15
)
Original file line number Diff line number Diff line change 12
12
from datadog_lambda .constants import (
13
13
SamplingPriority ,
14
14
TraceHeader ,
15
- XraySubsegment ,
16
15
XRAY_TRACE_ID_HEADER_NAME ,
17
16
)
18
17
from datadog_lambda .tracing import (
You can’t perform that action at this time.
0 commit comments