Skip to content

Commit 498c9f9

Browse files
committed
remove b3 propagators from configuration
1 parent 279de52 commit 498c9f9

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

aws-distro-opentelemetry-node-autoinstrumentation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@
126126
"build/src/**/*.js",
127127
"build/src/**/*.d.ts",
128128
"build/src/**/*.d.ts.map",
129-
"build/workspace/node_modules/**"
129+
"build/src/**/*.json"
130130
]
131131
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function setAwsDefaultEnvironmentVariables(): void {
4040
process.env.OTEL_EXPORTER_OTLP_PROTOCOL = 'http/protobuf';
4141
}
4242
if (!process.env.OTEL_PROPAGATORS) {
43-
process.env.OTEL_PROPAGATORS = 'xray,tracecontext,b3,b3multi';
43+
process.env.OTEL_PROPAGATORS = 'xray,tracecontext';
4444
}
4545
// Disable the following instrumentations by default
4646
// This auto-instrumentation for the `fs` module generates many low-value spans. `dns` is similar.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ describe('AwsOpenTelemetryConfiguratorTest', () => {
498498
function validateConfiguratorEnviron() {
499499
// Set by register.ts
500500
expect('http/protobuf').toEqual(process.env.OTEL_EXPORTER_OTLP_PROTOCOL);
501-
expect('xray,tracecontext,b3,b3multi').toEqual(process.env.OTEL_PROPAGATORS);
501+
expect('xray,tracecontext').toEqual(process.env.OTEL_PROPAGATORS);
502502

503503
// Not set
504504
expect(undefined).toEqual(process.env.OTEL_TRACES_SAMPLER);

aws-distro-opentelemetry-node-autoinstrumentation/test/register.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('Register', function () {
3333
it('sets AWS Default Environment Variables', () => {
3434
setAwsDefaultEnvironmentVariables();
3535
expect(process.env.OTEL_EXPORTER_OTLP_PROTOCOL).toEqual('http/protobuf');
36-
expect(process.env.OTEL_PROPAGATORS).toEqual('xray,tracecontext,b3,b3multi');
36+
expect(process.env.OTEL_PROPAGATORS).toEqual('xray,tracecontext');
3737
expect(process.env.OTEL_NODE_DISABLED_INSTRUMENTATIONS).toEqual('fs');
3838
});
3939

lambda-layer/packages/layer/scripts/otel-instrument

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fi
6868

6969
# - Set the propagators
7070
if [[ -z "$OTEL_PROPAGATORS" ]]; then
71-
export OTEL_PROPAGATORS="xray,tracecontext,baggage,b3,b3multi"
71+
export OTEL_PROPAGATORS="xray,tracecontext,baggage"
7272
fi
7373

7474
# - Set Application Signals configuration

0 commit comments

Comments
 (0)