Skip to content

Commit

Permalink
Merge branch 'main' into release-1.9.1-0.35.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Jan 30, 2023
2 parents c09bd26 + 4978743 commit 9ff7c09
Show file tree
Hide file tree
Showing 34 changed files with 31 additions and 48 deletions.
1 change: 1 addition & 0 deletions experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ All notable changes to experimental packages in this project will be documented
* Fixes an error where the generated JS files were not included in the esnext package due to a failure of the tsconfig generation
* fix(sdk-node): register instrumentations early [#3502](https://github.com/open-telemetry/opentelemetry-js/pull/3502) @flarna
* fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna
* fix(http) Remove outgoing headers normalization [#3557](https://github.com/open-telemetry/opentelemetry-js/pull/3557) @marcinjahn

## 0.35.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"cpx": "1.5.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"cpx": "1.5.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"cpx": "1.5.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"cpx": "1.5.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"codecov": "3.8.3",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"mocha": "10.0.0",
"node-pre-gyp": "0.17.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"semver": "7.3.5",
"sinon": "15.0.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"nyc": "15.1.0",
"request": "2.88.2",
"request-promise-native": "1.0.9",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"superagent": "8.0.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,6 @@ export const getRequestInfo = (
origin = `${optionsParsed.protocol || 'http:'}//${hostname}`;
}

const headers = optionsParsed.headers ?? {};
optionsParsed.headers = Object.keys(headers).reduce(
(normalizedHeader, key) => {
normalizedHeader[key.toLowerCase()] = headers[key];
return normalizedHeader;
},
{} as OutgoingHttpHeaders
);
// some packages return method in lowercase..
// ensure upperCase for consistency
const method = optionsParsed.method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,11 +508,6 @@ describe('HttpInstrumentation', () => {
'user-agent': testValue,
},
}),
httpRequest.get(`${protocol}://${hostname}:${serverPort}`, {
headers: {
'uSeR-aGeNt': testValue,
},
}),
]);
const spans = memoryExporter.getFinishedSpans();
assert.strictEqual(spans.length, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,6 @@ describe('HttpsInstrumentation', () => {
'user-agent': testValue,
},
}),
httpsRequest.get(`${protocol}://${hostname}:${serverPort}`, {
headers: {
'uSeR-aGeNt': testValue,
},
}),
]);
const spans = memoryExporter.getFinishedSpans();
assert.strictEqual(spans.length, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion experimental/packages/otlp-grpc-exporter-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"cpx": "1.5.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"mocha": "10.0.0",
"nyc": "15.1.0",
"protobufjs-cli": "1.0.2",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion experimental/packages/otlp-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"mkdirp": "2.1.3",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-context-async-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"codecov": "3.8.3",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-context-zone-peer-dep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-context-zone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"lerna": "6.0.3",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-exporter-jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"mocha": "10.0.0",
"nock": "13.0.11",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-exporter-zipkin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"mocha": "10.0.0",
"nock": "13.0.11",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-propagator-b3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"istanbul-instrumenter-loader": "3.0.1",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-propagator-jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"mocha": "10.0.0",
"nock": "13.0.11",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-sdk-trace-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-sdk-trace-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"codecov": "3.8.3",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-sdk-trace-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-semantic-conventions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"mocha": "10.0.0",
"nock": "13.0.11",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-shim-opentracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"codecov": "3.8.3",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"karma-webpack": "4.0.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"sinon": "15.0.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
Expand Down

0 comments on commit 9ff7c09

Please sign in to comment.