Skip to content

Commit be11db0

Browse files
authored
Merge branch 'main' into dataloader-custom-methods
2 parents 1554621 + 4f1e605 commit be11db0

File tree

311 files changed

+21856
-19942
lines changed

Some content is hidden

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

311 files changed

+21856
-19942
lines changed
Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,36 @@
11
---
22
name: Instrumentation request
3-
about: Create a report to add support for an instrumentation
3+
about: Create a request to add a new instrumentation
44
labels: instrumentation-request
55
---
66

77
<!--
8-
**NB:** Before opening an instrumentation request against this repo, please read [the contributing guidelines for new instrumentation](../../CONTRIBUTING.md#new-instrumentation).
8+
**NB:** Before opening an instrumentation request against this repo, please read [the contributing guidelines for new instrumentation](../blob/main/CONTRIBUTING.md#new-instrumentation).
99
-->
1010

11-
### Is your instrumentation request related to a problem? Please describe
11+
### Which library do you want to instrument?
1212
<!--
13-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13+
A clear and concise description of why this library should be instrumented. Ex. I'm always frustrated when [...]
1414
-->
1515

16-
17-
### Is it applicable for Node or Browser or both?
18-
19-
20-
### Do you expect this instrumentation to be commonly used?
21-
22-
Weekly Downloads:
23-
24-
### What version of instrumentation are you interested in using?
25-
26-
Versions:
27-
2816
### Code Owners
2917

3018
<!--
31-
New Instrumentation requests need at least 2 code-owners that will maintain the instrumentation long-term.
19+
New Instrumentations MUST have at least 2 code-owners that will maintain the instrumentation long-term.
20+
Any code-owners listed MUST fulfill all criteria laid out in the checklist below.
3221
-->
3322

3423
- Owner 1
24+
- [ ] I am a [member of the OpenTelemetry Organization](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#member)
25+
- [ ] I have read [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md) and understand the responsibilities of a component owner
26+
- [ ] I agree to follow and uphold the [mission, vision and values](https://github.com/open-telemetry/community/blob/main/mission-vision-values.md) of the OpenTelemetry project
27+
- [ ] I understand that the component may be subject to the [OpenTelemetry Semantic Conventions](https://github.com/open-telemetry/semantic-conventions) and agree to follow the rules set out therein
3528
- Owner 2
29+
<!-- instruct any co-owners to complete the checklist above and comment it on this issue -->
30+
- [ ] Commented on the issue confirming they have fulfilled all criteria for becoming a component owner
31+
<!-- continue listing co-owners if you have more than two -->
3632

3733
### Additional context
3834
<!--
3935
Add any other context or screenshots about the instrumentation request here. Is there a reference you could point for the well-defined lifecycle methods?
4036
-->
41-

.github/ISSUE_TEMPLATE/ownership_request.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ labels: type:ownership-request
55
---
66

77
<!--
8-
**NB:** Before opening a component ownership request against this repo, please read [CONTRIBUTING.md](../../CONTRIBUTING.md#component-ownership) and its subsections first.
8+
**NB:** Before opening a component ownership request against this repo, please read [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md#component-ownership) and its subsections first.
99
-->
1010

1111
### Which component are you requesting ownership of?
@@ -17,7 +17,7 @@ Put a link to the component here.
1717
### Related Work and Qualifications
1818

1919
<!--
20-
List here why you're qualified to take ownership of the component, see [CONTRIBUTING.md](../../CONTRIBUTING.md#becoming-a-component-owner) for details.
20+
List here why you're qualified to take ownership of the component, see [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md#becoming-a-component-owner) for details.
2121
2222
Examples:
2323
- I am working on <related open-source-project> and have deep knowledge of the instrumented package.
@@ -28,7 +28,8 @@ Examples:
2828

2929
### Checklist
3030

31-
- [ ] I have read [CONTRIBUTING.md](../../CONTRIBUTING.md) and understand the responsibilities of a component owner.
31+
- [ ] I am a [member of the OpenTelemetry Organization](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#member)
32+
- [ ] I have read [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md) and understand the responsibilities of a component owner.
3233
- [ ] I agree to follow and uphold the [mission, vision and values](https://github.com/open-telemetry/community/blob/main/mission-vision-values.md) of the OpenTelemetry project
3334
- [ ] I understand that the component I'm requesting ownership of may be subject to the [OpenTelemetry Semantic Conventions](https://github.com/open-telemetry/semantic-conventions) and agree to follow the rules set out therein.
3435

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Before creating a pull request, please make sure:
77
- You have read the guide for contributing
88
- See https://github.com/open-telemetry/opentelemetry-js/blob/main/CONTRIBUTING.md
99
- You signed all your commits (otherwise we won't be able to merge the PR)
10-
- See https://github.com/open-telemetry/community/blob/main/CONTRIBUTING.md#sign-the-cla
10+
- See https://github.com/open-telemetry/community/blob/main/guides/contributor#sign-the-cla
1111
- You added unit tests for the new functionality
1212
- You mention in the PR description which issue it is addressing, e.g. "Fixes #xxx". This will auto-close
1313
the issue that your PR fixes (if such)

.github/component-label-map.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,5 +304,4 @@ pkg-status:unmaintained:
304304
- plugins/node/opentelemetry-instrumentation-restify/**
305305
- plugins/node/opentelemetry-instrumentation-router/**
306306
- propagators/opentelemetry-propagator-ot-trace/**
307-
- propagators/propagator-aws-xray/**
308307
- propagators/propagator-aws-xray-lambda/**

.github/component_owners.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ components:
7474
plugins/node/opentelemetry-instrumentation-aws-sdk:
7575
- blumamir
7676
- jj22ee
77+
- trivikr
7778
plugins/node/opentelemetry-instrumentation-bunyan:
7879
- seemk
7980
- trentm

.github/workflows/unit-test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
strategy:
183183
fail-fast: false
184184
matrix:
185-
node: ["16"]
185+
node: ["22"]
186186
runs-on: ubuntu-latest
187187
env:
188188
NPM_CONFIG_UNSAFE_PERM: true
@@ -195,9 +195,6 @@ jobs:
195195
- uses: actions/setup-node@v4
196196
with:
197197
node-version: ${{ matrix.node }}
198-
- name: Update npm to a version that supports workspaces (v7 or later)
199-
if: ${{ matrix.node < 16 }}
200-
run: npm install -g npm@9 # npm@9 supports node >=14.17.0
201198
- name: Install
202199
run: npm ci
203200
- name: Download Build Artifacts
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Create or Update OpenTelemetry Update PR
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
create-or-update-deps-pr:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Fork
11+
run: gh repo fork open-telemetry/opentelemetry-js-contrib
12+
env:
13+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
repository: opentelemetrybot/opentelemetry-js-contrib
18+
ref: main
19+
token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
20+
- name: Sync with upstream
21+
run: |
22+
git remote show origin
23+
git remote add upstream https://github.com/open-telemetry/opentelemetry-js-contrib.git
24+
git fetch upstream
25+
git reset --hard upstream/main
26+
git push origin main --force
27+
28+
- uses: actions/setup-node@v4
29+
with:
30+
cache: 'npm'
31+
cache-dependency-path: package-lock.json
32+
node-version: 22
33+
34+
- run: npm install -g npm@latest
35+
36+
- run: npm ci
37+
38+
- name: Create/Update Release PR
39+
run: |
40+
git config user.name opentelemetrybot
41+
git config user.email [email protected]
42+
git checkout -b feat/update-otel-deps
43+
node ./scripts/update-otel-deps.js
44+
git commit -am "feat(deps): update deps matching '@opentelemetry/*'"
45+
git push --set-upstream origin feat/update-otel-deps --force
46+
gh pr create --repo open-telemetry/opentelemetry-js-contrib --title "feat(deps): update deps matching '@opentelemetry/*'" --body 'Updates all `@opentelemetry/*` dependencies to latest'
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}

.release-please-manifest.json

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
{
2-
"detectors/node/opentelemetry-resource-detector-alibaba-cloud": "0.29.4",
3-
"detectors/node/opentelemetry-resource-detector-aws": "1.7.0",
4-
"detectors/node/opentelemetry-resource-detector-azure": "0.2.12",
5-
"detectors/node/opentelemetry-resource-detector-container": "0.5.0",
6-
"detectors/node/opentelemetry-resource-detector-gcp": "0.29.13",
7-
"detectors/node/opentelemetry-resource-detector-github": "0.29.0",
8-
"detectors/node/opentelemetry-resource-detector-instana": "0.14.0",
9-
"metapackages/auto-configuration-propagators": "0.3.1",
10-
"metapackages/auto-instrumentations-node": "0.52.1",
11-
"metapackages/auto-instrumentations-web": "0.42.0",
2+
"detectors/node/opentelemetry-resource-detector-alibaba-cloud": "0.30.0",
3+
"detectors/node/opentelemetry-resource-detector-aws": "1.11.0",
4+
"detectors/node/opentelemetry-resource-detector-azure": "0.6.0",
5+
"detectors/node/opentelemetry-resource-detector-container": "0.6.0",
6+
"detectors/node/opentelemetry-resource-detector-gcp": "0.33.0",
7+
"detectors/node/opentelemetry-resource-detector-github": "0.30.0",
8+
"detectors/node/opentelemetry-resource-detector-instana": "0.18.0",
9+
"metapackages/auto-configuration-propagators": "0.3.2",
10+
"metapackages/auto-instrumentations-node": "0.55.3",
11+
"metapackages/auto-instrumentations-web": "0.45.0",
1212
"packages/baggage-span-processor": "0.3.1",
13-
"packages/opentelemetry-host-metrics": "0.35.4",
13+
"packages/opentelemetry-host-metrics": "0.35.5",
1414
"packages/opentelemetry-id-generator-aws-xray": "1.2.2",
15-
"packages/opentelemetry-propagation-utils": "0.30.12",
15+
"packages/opentelemetry-propagation-utils": "0.30.15",
1616
"packages/opentelemetry-redis-common": "0.36.2",
1717
"packages/opentelemetry-sql-common": "0.40.1",
18-
"packages/opentelemetry-test-utils": "0.42.0",
19-
"packages/winston-transport": "0.7.0",
20-
"plugins/node/instrumentation-amqplib": "0.43.0",
21-
"plugins/node/instrumentation-cucumber": "0.10.0",
22-
"plugins/node/instrumentation-dataloader": "0.13.0",
23-
"plugins/node/instrumentation-fs": "0.16.0",
24-
"plugins/node/instrumentation-kafkajs": "0.4.0",
25-
"plugins/node/instrumentation-lru-memoizer": "0.41.0",
26-
"plugins/node/instrumentation-mongoose": "0.43.0",
27-
"plugins/node/instrumentation-runtime-node": "0.9.0",
28-
"plugins/node/instrumentation-socket.io": "0.43.0",
29-
"plugins/node/instrumentation-tedious": "0.15.0",
30-
"plugins/node/instrumentation-undici": "0.7.1",
31-
"plugins/node/opentelemetry-instrumentation-aws-lambda": "0.47.0",
32-
"plugins/node/opentelemetry-instrumentation-aws-sdk": "0.46.0",
33-
"plugins/node/opentelemetry-instrumentation-bunyan": "0.42.0",
34-
"plugins/node/opentelemetry-instrumentation-cassandra": "0.42.0",
35-
"plugins/node/opentelemetry-instrumentation-connect": "0.40.0",
36-
"plugins/node/opentelemetry-instrumentation-dns": "0.40.0",
37-
"plugins/node/opentelemetry-instrumentation-express": "0.44.0",
38-
"plugins/node/opentelemetry-instrumentation-fastify": "0.41.0",
39-
"plugins/node/opentelemetry-instrumentation-generic-pool": "0.40.0",
40-
"plugins/node/opentelemetry-instrumentation-graphql": "0.44.0",
41-
"plugins/node/opentelemetry-instrumentation-hapi": "0.42.0",
42-
"plugins/node/opentelemetry-instrumentation-ioredis": "0.44.0",
43-
"plugins/node/opentelemetry-instrumentation-knex": "0.41.0",
44-
"plugins/node/opentelemetry-instrumentation-koa": "0.44.0",
45-
"plugins/node/opentelemetry-instrumentation-memcached": "0.40.0",
46-
"plugins/node/opentelemetry-instrumentation-mongodb": "0.48.0",
47-
"plugins/node/opentelemetry-instrumentation-mysql": "0.42.0",
48-
"plugins/node/opentelemetry-instrumentation-mysql2": "0.42.1",
49-
"plugins/node/opentelemetry-instrumentation-nestjs-core": "0.41.0",
50-
"plugins/node/opentelemetry-instrumentation-net": "0.40.0",
51-
"plugins/node/opentelemetry-instrumentation-pg": "0.47.1",
52-
"plugins/node/opentelemetry-instrumentation-pino": "0.43.0",
53-
"plugins/node/opentelemetry-instrumentation-redis": "0.43.0",
54-
"plugins/node/opentelemetry-instrumentation-redis-4": "0.43.0",
55-
"plugins/node/opentelemetry-instrumentation-restify": "0.42.0",
56-
"plugins/node/opentelemetry-instrumentation-router": "0.41.0",
57-
"plugins/node/opentelemetry-instrumentation-winston": "0.41.0",
58-
"plugins/web/opentelemetry-instrumentation-document-load": "0.41.0",
59-
"plugins/web/opentelemetry-instrumentation-long-task": "0.41.0",
60-
"plugins/web/opentelemetry-instrumentation-user-interaction": "0.41.0",
18+
"packages/opentelemetry-test-utils": "0.45.0",
19+
"packages/winston-transport": "0.10.0",
20+
"plugins/node/instrumentation-amqplib": "0.46.0",
21+
"plugins/node/instrumentation-cucumber": "0.13.0",
22+
"plugins/node/instrumentation-dataloader": "0.16.0",
23+
"plugins/node/instrumentation-fs": "0.19.0",
24+
"plugins/node/instrumentation-kafkajs": "0.7.0",
25+
"plugins/node/instrumentation-lru-memoizer": "0.44.0",
26+
"plugins/node/instrumentation-mongoose": "0.46.0",
27+
"plugins/node/instrumentation-runtime-node": "0.12.1",
28+
"plugins/node/instrumentation-socket.io": "0.46.0",
29+
"plugins/node/instrumentation-tedious": "0.18.0",
30+
"plugins/node/instrumentation-undici": "0.10.0",
31+
"plugins/node/opentelemetry-instrumentation-aws-lambda": "0.50.2",
32+
"plugins/node/opentelemetry-instrumentation-aws-sdk": "0.49.0",
33+
"plugins/node/opentelemetry-instrumentation-bunyan": "0.45.0",
34+
"plugins/node/opentelemetry-instrumentation-cassandra": "0.45.0",
35+
"plugins/node/opentelemetry-instrumentation-connect": "0.43.0",
36+
"plugins/node/opentelemetry-instrumentation-dns": "0.43.0",
37+
"plugins/node/opentelemetry-instrumentation-express": "0.47.0",
38+
"plugins/node/opentelemetry-instrumentation-fastify": "0.44.1",
39+
"plugins/node/opentelemetry-instrumentation-generic-pool": "0.43.0",
40+
"plugins/node/opentelemetry-instrumentation-graphql": "0.47.0",
41+
"plugins/node/opentelemetry-instrumentation-hapi": "0.45.1",
42+
"plugins/node/opentelemetry-instrumentation-ioredis": "0.47.0",
43+
"plugins/node/opentelemetry-instrumentation-knex": "0.44.0",
44+
"plugins/node/opentelemetry-instrumentation-koa": "0.47.0",
45+
"plugins/node/opentelemetry-instrumentation-memcached": "0.43.0",
46+
"plugins/node/opentelemetry-instrumentation-mongodb": "0.51.0",
47+
"plugins/node/opentelemetry-instrumentation-mysql": "0.45.0",
48+
"plugins/node/opentelemetry-instrumentation-mysql2": "0.45.0",
49+
"plugins/node/opentelemetry-instrumentation-nestjs-core": "0.44.0",
50+
"plugins/node/opentelemetry-instrumentation-net": "0.43.0",
51+
"plugins/node/opentelemetry-instrumentation-pg": "0.50.0",
52+
"plugins/node/opentelemetry-instrumentation-pino": "0.46.0",
53+
"plugins/node/opentelemetry-instrumentation-redis": "0.46.0",
54+
"plugins/node/opentelemetry-instrumentation-redis-4": "0.46.0",
55+
"plugins/node/opentelemetry-instrumentation-restify": "0.45.0",
56+
"plugins/node/opentelemetry-instrumentation-router": "0.44.0",
57+
"plugins/node/opentelemetry-instrumentation-winston": "0.44.0",
58+
"plugins/web/opentelemetry-instrumentation-document-load": "0.44.0",
59+
"plugins/web/opentelemetry-instrumentation-long-task": "0.44.0",
60+
"plugins/web/opentelemetry-instrumentation-user-interaction": "0.44.0",
6161
"plugins/web/opentelemetry-plugin-react-load": "0.31.0",
6262
"propagators/opentelemetry-propagator-instana": "0.3.2",
6363
"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"
64+
"propagators/propagator-aws-xray": "1.26.1",
65+
"propagators/propagator-aws-xray-lambda": "0.53.1"
6666
}

0 commit comments

Comments
 (0)