Skip to content

Commit 1759513

Browse files
authored
Decouple SigV4 from Application Signals (#351)
*Description of changes:* We do not want to automatically disable Application Signals if SigV4 is enabled. This PR allows Application Signals to run normally with SigV4. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent cd9c612 commit 1759513

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,6 @@ def _customize_span_processors(provider: TracerProvider, resource: Resource) ->
349349
# Construct and set local and remote attributes span processor
350350
provider.add_span_processor(AttributePropagatingSpanProcessorBuilder().build())
351351

352-
# Do not export Application-Signals metrics if it's XRay OTLP endpoint
353-
if is_xray_otlp_endpoint():
354-
return
355-
356352
# Export 100% spans and not export Application-Signals metrics if on Lambda.
357353
if _is_lambda_environment():
358354
_export_unsampled_span_for_lambda(provider, resource)

0 commit comments

Comments
 (0)