Skip to content

Commit 0ff6f6d

Browse files
committed
lint and flake8
1 parent 3c8060e commit 0ff6f6d

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

datadog_lambda/constants.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ class TraceHeader(object):
1919
SAMPLING_PRIORITY = "x-datadog-sampling-priority"
2020

2121

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-
3022
# TraceContextSource of datadog context. The DD_MERGE_XRAY_TRACES
3123
# feature uses this to determine when to use X-Ray as the parent
3224
# trace.

datadog_lambda/tracing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from datadog_lambda.constants import (
1111
SamplingPriority,
1212
TraceHeader,
13-
XraySubsegment,
1413
TraceContextSource,
1514
XRAY_TRACE_ID_HEADER_NAME,
1615
)

tests/test_tracing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from datadog_lambda.constants import (
1313
SamplingPriority,
1414
TraceHeader,
15-
XraySubsegment,
1615
XRAY_TRACE_ID_HEADER_NAME,
1716
)
1817
from datadog_lambda.tracing import (

0 commit comments

Comments
 (0)