Skip to content

Commit

Permalink
fix the lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mxiamxia committed Oct 8, 2024
1 parent e879b2d commit d25c3c3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ export class AwsOpentelemetryConfigurator {
// Register BatchUnsampledSpanProcessor to export unsampled traces in Lambda
// when Application Signals enabled
if (isLambdaEnvironment() && !hasCustomOtlpTraceEndpoint()) {
const udpSpanExporter = new OTLPUdpSpanExporter(getXrayDaemonEndpoint(), FORMAT_OTEL_UNSAMPLED_TRACES_BINARY_PREFIX);
const udpSpanExporter = new OTLPUdpSpanExporter(
getXrayDaemonEndpoint(),
FORMAT_OTEL_UNSAMPLED_TRACES_BINARY_PREFIX
);
const configuredExporter = AwsMetricAttributesSpanExporterBuilder.create(udpSpanExporter, resource).build();
spanProcessors.push(
new AwsBatchUnsampledSpanProcessor(configuredExporter, {
Expand Down

0 comments on commit d25c3c3

Please sign in to comment.