Skip to content

Commit 193da91

Browse files
committed
decouple application signals from sigv4
1 parent 3bece0c commit 193da91

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

aws-distro-opentelemetry-node-autoinstrumentation/src/aws-opentelemetry-configurator.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,6 @@ export class AwsOpentelemetryConfigurator {
240240

241241
spanProcessors.push(AttributePropagatingSpanProcessorBuilder.create().build());
242242

243-
if (isXrayOtlpEndpoint(process.env['OTEL_EXPORTER_OTLP_TRACES_ENDPOINT'])) {
244-
return;
245-
}
246-
247243
const applicationSignalsMetricExporter: PushMetricExporter =
248244
ApplicationSignalsExporterProvider.Instance.createExporter();
249245
const periodicExportingMetricReader: PeriodicExportingMetricReader = new PeriodicExportingMetricReader({

0 commit comments

Comments
 (0)