Skip to content

Commit b558905

Browse files
lint
1 parent 3871219 commit b558905

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-aws-lambda/tests/test_aws_lambda_instrumentation_manual.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@
2525
)
2626

2727
from opentelemetry.environment_variables import OTEL_PROPAGATORS
28+
from opentelemetry.instrumentation._semconv import (
29+
_OTEL_SEMCONV_STABILITY_OPT_IN_KEY,
30+
_OpenTelemetrySemanticConventionStability,
31+
)
2832
from opentelemetry.instrumentation.aws_lambda import (
2933
_HANDLER,
3034
_X_AMZN_TRACE_ID,
3135
OTEL_INSTRUMENTATION_AWS_LAMBDA_FLUSH_TIMEOUT,
3236
OTEL_LAMBDA_DISABLE_AWS_CONTEXT_PROPAGATION,
3337
AwsLambdaInstrumentor,
3438
)
35-
from opentelemetry.instrumentation._semconv import (
36-
_OTEL_SEMCONV_STABILITY_OPT_IN_KEY,
37-
_OpenTelemetrySemanticConventionStability,
38-
)
3939
from opentelemetry.propagate import get_global_textmap
4040
from opentelemetry.propagators.aws.aws_xray_propagator import (
4141
TRACE_ID_FIRST_PART_LENGTH,
@@ -172,7 +172,7 @@ def test_active_tracing_semconv_opt_in(self):
172172
# Using Active tracing
173173
_X_AMZN_TRACE_ID: MOCK_XRAY_TRACE_CONTEXT_SAMPLED,
174174
# Opt into new semconv
175-
_OTEL_SEMCONV_STABILITY_OPT_IN_KEY: "faas"
175+
_OTEL_SEMCONV_STABILITY_OPT_IN_KEY: "faas",
176176
},
177177
)
178178
test_env_patch.start()
@@ -205,7 +205,7 @@ def test_active_tracing_semconv_opt_in_dup(self):
205205
# Using Active tracing
206206
_X_AMZN_TRACE_ID: MOCK_XRAY_TRACE_CONTEXT_SAMPLED,
207207
# Opt into new semconv
208-
_OTEL_SEMCONV_STABILITY_OPT_IN_KEY: "faas/dup"
208+
_OTEL_SEMCONV_STABILITY_OPT_IN_KEY: "faas/dup",
209209
},
210210
)
211211
test_env_patch.start()

0 commit comments

Comments
 (0)