Skip to content

Commit 6926399

Browse files
authored
Merge branch 'main' into db-error
2 parents d79075a + 9b43ccb commit 6926399

File tree

158 files changed

+4038
-7313
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+4038
-7313
lines changed

.github/component-label-map.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,14 @@ pkg:sql-common:
274274
- changed-files:
275275
- any-glob-to-any-file:
276276
- packages/opentelemetry-sql-common/**
277+
pkg:propagator-aws-xray:
278+
- changed-files:
279+
- any-glob-to-any-file:
280+
- propagators/propagator-aws-xray/**
281+
pkg:propagator-aws-xray-lambda:
282+
- changed-files:
283+
- any-glob-to-any-file:
284+
- propagators/propagator-aws-xray-lambda/**
277285
pkg-status:unmaintained:
278286
- changed-files:
279287
- any-glob-to-any-file:
@@ -296,3 +304,5 @@ pkg-status:unmaintained:
296304
- plugins/node/opentelemetry-instrumentation-restify/**
297305
- plugins/node/opentelemetry-instrumentation-router/**
298306
- propagators/opentelemetry-propagator-ot-trace/**
307+
- propagators/propagator-aws-xray/**
308+
- propagators/propagator-aws-xray-lambda/**

.github/component_owners.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ components:
145145
- kirrg001
146146
propagators/opentelemetry-propagator-ot-trace: []
147147
# Unmaintained
148+
propagators/propagator-aws-xray: [ ]
149+
# Unmaintained
150+
propagators/propagator-aws-xray-lambda: [ ]
151+
# Unmaintained
148152

149153
ignored-authors:
150154
- renovate-bot

.github/workflows/lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ jobs:
1919
- name: Lint
2020
run: |
2121
npm run lint
22-
npm run lint:markdown
23-
npm run lint:readme

.mocharc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require: 'ts-node/register/transpile-only'

.release-please-manifest.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"detectors/node/opentelemetry-resource-detector-alibaba-cloud": "0.29.3",
33
"detectors/node/opentelemetry-resource-detector-aws": "1.6.2",
44
"detectors/node/opentelemetry-resource-detector-azure": "0.2.11",
5-
"detectors/node/opentelemetry-resource-detector-container": "0.4.3",
5+
"detectors/node/opentelemetry-resource-detector-container": "0.4.4",
66
"detectors/node/opentelemetry-resource-detector-gcp": "0.29.12",
77
"detectors/node/opentelemetry-resource-detector-github": "0.29.0",
88
"detectors/node/opentelemetry-resource-detector-instana": "0.13.0",
99
"metapackages/auto-configuration-propagators": "0.3.1",
10-
"metapackages/auto-instrumentations-node": "0.50.2",
10+
"metapackages/auto-instrumentations-node": "0.51.0",
1111
"metapackages/auto-instrumentations-web": "0.41.0",
1212
"packages/baggage-span-processor": "0.3.1",
1313
"packages/opentelemetry-host-metrics": "0.35.4",
@@ -48,7 +48,7 @@
4848
"plugins/node/opentelemetry-instrumentation-mysql2": "0.41.0",
4949
"plugins/node/opentelemetry-instrumentation-nestjs-core": "0.40.0",
5050
"plugins/node/opentelemetry-instrumentation-net": "0.39.0",
51-
"plugins/node/opentelemetry-instrumentation-pg": "0.45.1",
51+
"plugins/node/opentelemetry-instrumentation-pg": "0.46.0",
5252
"plugins/node/opentelemetry-instrumentation-pino": "0.42.0",
5353
"plugins/node/opentelemetry-instrumentation-redis": "0.42.0",
5454
"plugins/node/opentelemetry-instrumentation-redis-4": "0.42.1",
@@ -60,5 +60,7 @@
6060
"plugins/web/opentelemetry-instrumentation-user-interaction": "0.40.0",
6161
"plugins/web/opentelemetry-plugin-react-load": "0.31.0",
6262
"propagators/opentelemetry-propagator-instana": "0.3.2",
63-
"propagators/opentelemetry-propagator-ot-trace": "0.27.2"
63+
"propagators/opentelemetry-propagator-ot-trace": "0.27.2",
64+
"propagators/propagator-aws-xray": "1.26.0",
65+
"propagators/propagator-aws-xray-lambda": "0.53.0"
6466
}

archive/opentelemetry-browser-extension-autoinjection/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"lint:fix": "eslint . --fix",
1313
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/browser-extension-autoinjection --include-dependencies",
1414
"prewatch": "npm run precompile",
15-
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
15+
"test": "nyc mocha 'test/**/*.test.ts'",
1616
"tdd": "npm run test -- --watch-extensions ts --watch",
1717
"watch": "npx webpack --mode=development --watch",
1818
"watch:mv2": "npx webpack --mode=development --watch --env MV=2",
@@ -47,15 +47,13 @@
4747
"html-webpack-plugin": "5.3.2",
4848
"jimp": "0.16.1",
4949
"jsdom": "15.2.1",
50-
"mocha": "7.2.0",
5150
"null-loader": "4.0.1",
5251
"nyc": "15.1.0",
5352
"responsive-loader": "2.3.0",
5453
"rimraf": "4.2.0",
5554
"sinon": "15.0.1",
5655
"sinon-chrome": "3.0.1",
5756
"ts-loader": "9.2.5",
58-
"ts-mocha": "10.0.0",
5957
"typescript": "4.4.4",
6058
"webpack": "4.46.0",
6159
"webpack-cli": "4.7.2",

detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-alibaba-cloud --include-dependencies",
1414
"prewatch": "npm run precompile",
1515
"prepublishOnly": "npm run compile",
16-
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
16+
"test": "nyc mocha 'test/**/*.test.ts'",
1717
"tdd": "npm run test -- --watch-extensions ts --watch",
1818
"watch": "tsc -w"
1919
},
@@ -44,20 +44,18 @@
4444
"@types/mocha": "8.2.3",
4545
"@types/node": "18.18.14",
4646
"@types/sinon": "10.0.20",
47-
"mocha": "7.2.0",
4847
"nock": "13.3.3",
4948
"nyc": "15.1.0",
5049
"rimraf": "5.0.10",
5150
"sinon": "15.2.0",
52-
"ts-mocha": "10.0.0",
5351
"typescript": "4.4.4"
5452
},
5553
"peerDependencies": {
5654
"@opentelemetry/api": "^1.0.0"
5755
},
5856
"dependencies": {
59-
"@opentelemetry/resources": "^1.10.0",
6057
"@opentelemetry/core": "^1.26.0",
58+
"@opentelemetry/resources": "^1.10.0",
6159
"@opentelemetry/semantic-conventions": "^1.27.0"
6260
},
6361
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/detectors/node/opentelemetry-resource-detector-alibaba-cloud#readme"

detectors/node/opentelemetry-resource-detector-aws/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-aws --include-dependencies",
1414
"prewatch": "npm run precompile",
1515
"prepublishOnly": "npm run compile",
16-
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
16+
"test": "nyc mocha 'test/**/*.test.ts'",
1717
"tdd": "npm run test -- --watch-extensions ts --watch",
1818
"watch": "tsc -w"
1919
},
@@ -43,12 +43,10 @@
4343
"@types/mocha": "8.2.3",
4444
"@types/node": "18.18.14",
4545
"@types/sinon": "10.0.20",
46-
"mocha": "7.2.0",
4746
"nock": "13.3.3",
4847
"nyc": "15.1.0",
4948
"rimraf": "5.0.10",
5049
"sinon": "15.2.0",
51-
"ts-mocha": "10.0.0",
5250
"typescript": "4.4.4"
5351
},
5452
"peerDependencies": {

detectors/node/opentelemetry-resource-detector-aws/test/detectors/AwsSuppressTracing.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ describe('[Integration] Internal tracing', () => {
3232
'http://169.254.169.254/metadata';
3333

3434
const memoryExporter = new InMemorySpanExporter();
35+
const spanProcessor = new SimpleSpanProcessor(memoryExporter);
3536
const sdk = new NodeSDK({
3637
instrumentations: [new FsInstrumentation(), new HttpInstrumentation()],
37-
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
38+
spanProcessors: [spanProcessor],
3839
});
3940
sdk.start();
4041

@@ -58,7 +59,7 @@ describe('[Integration] Internal tracing', () => {
5859

5960
// NOTE: the require process makes use of the fs API so spans are being exported.
6061
// We reset the exporter to have a clean state for assertions
61-
await new Promise(r => setTimeout(r, 0));
62+
await spanProcessor.forceFlush();
6263
memoryExporter.reset();
6364

6465
const detectors = [

detectors/node/opentelemetry-resource-detector-azure/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-azure --include-dependencies",
1414
"prewatch": "npm run precompile",
1515
"prepublishOnly": "npm run compile",
16-
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
16+
"test": "nyc mocha 'test/**/*.test.ts'",
1717
"tdd": "npm run test -- --watch-extensions ts --watch",
1818
"watch": "tsc -w"
1919
},
@@ -36,11 +36,9 @@
3636
"@types/mocha": "8.2.3",
3737
"@types/node": "18.18.14",
3838
"@types/sinon": "10.0.20",
39-
"mocha": "7.2.0",
4039
"nock": "13.3.3",
4140
"nyc": "15.1.0",
4241
"rimraf": "5.0.10",
43-
"ts-mocha": "10.0.0",
4442
"typescript": "4.4.4"
4543
},
4644
"peerDependencies": {

0 commit comments

Comments
 (0)