Skip to content

Commit f9cca5b

Browse files
committed
added escaped '.'
1 parent 8600230 commit f9cca5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import { AwsXRayRemoteSampler } from './sampler/aws-xray-remote-sampler';
6262
// This file is generated via `npm run compile`
6363
import { LIB_VERSION } from './version';
6464

65-
const XRAY_OTLP_ENDPOINT_PATTERN = '^https://xray.([a-z0-9-]+).amazonaws.com/v1/traces$';
65+
const XRAY_OTLP_ENDPOINT_PATTERN = '^https://xray\.([a-z0-9-]+)\.amazonaws\.com/v1/traces$';
6666

6767
const APPLICATION_SIGNALS_ENABLED_CONFIG: string = 'OTEL_AWS_APPLICATION_SIGNALS_ENABLED';
6868
const APPLICATION_SIGNALS_EXPORTER_ENDPOINT_CONFIG: string = 'OTEL_AWS_APPLICATION_SIGNALS_EXPORTER_ENDPOINT';

0 commit comments

Comments
 (0)