Skip to content

Commit a60d5f4

Browse files
committed
chore: merge main
2 parents 0726e0c + 5f214eb commit a60d5f4

File tree

164 files changed

+36733
-22427
lines changed

Some content is hidden

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

164 files changed

+36733
-22427
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/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/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

.github/workflows/update-otel-deps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
node ./scripts/update-otel-deps.js
4444
git commit -am "feat(deps): update deps matching '@opentelemetry/*'"
4545
git push --set-upstream origin feat/update-otel-deps --force
46-
gh pr create --repo open-telemetry/opentelemetry-js-contrib --title 'chore: prepare next release' --body 'Updates all `@opentelemetry/*` dependencies to latest'
46+
gh pr create --repo open-telemetry/opentelemetry-js-contrib --title "feat(deps): update deps matching '@opentelemetry/*'" --body 'Updates all `@opentelemetry/*` dependencies to latest'
4747
env:
4848
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.6",
3-
"detectors/node/opentelemetry-resource-detector-aws": "1.9.0",
4-
"detectors/node/opentelemetry-resource-detector-azure": "0.4.0",
5-
"detectors/node/opentelemetry-resource-detector-container": "0.5.2",
6-
"detectors/node/opentelemetry-resource-detector-gcp": "0.31.0",
7-
"detectors/node/opentelemetry-resource-detector-github": "0.29.0",
8-
"detectors/node/opentelemetry-resource-detector-instana": "0.16.0",
9-
"metapackages/auto-configuration-propagators": "0.3.1",
10-
"metapackages/auto-instrumentations-node": "0.54.0",
11-
"metapackages/auto-instrumentations-web": "0.44.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.14",
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.44.0",
19-
"packages/winston-transport": "0.9.0",
20-
"plugins/node/instrumentation-amqplib": "0.45.0",
21-
"plugins/node/instrumentation-cucumber": "0.12.0",
22-
"plugins/node/instrumentation-dataloader": "0.15.0",
23-
"plugins/node/instrumentation-fs": "0.18.0",
24-
"plugins/node/instrumentation-kafkajs": "0.6.0",
25-
"plugins/node/instrumentation-lru-memoizer": "0.43.0",
26-
"plugins/node/instrumentation-mongoose": "0.45.0",
27-
"plugins/node/instrumentation-runtime-node": "0.11.0",
28-
"plugins/node/instrumentation-socket.io": "0.45.0",
29-
"plugins/node/instrumentation-tedious": "0.17.0",
30-
"plugins/node/instrumentation-undici": "0.9.0",
31-
"plugins/node/opentelemetry-instrumentation-aws-lambda": "0.49.0",
32-
"plugins/node/opentelemetry-instrumentation-aws-sdk": "0.48.0",
33-
"plugins/node/opentelemetry-instrumentation-bunyan": "0.44.0",
34-
"plugins/node/opentelemetry-instrumentation-cassandra": "0.44.0",
35-
"plugins/node/opentelemetry-instrumentation-connect": "0.42.0",
36-
"plugins/node/opentelemetry-instrumentation-dns": "0.42.0",
37-
"plugins/node/opentelemetry-instrumentation-express": "0.46.0",
38-
"plugins/node/opentelemetry-instrumentation-fastify": "0.43.0",
39-
"plugins/node/opentelemetry-instrumentation-generic-pool": "0.42.0",
40-
"plugins/node/opentelemetry-instrumentation-graphql": "0.46.0",
41-
"plugins/node/opentelemetry-instrumentation-hapi": "0.44.0",
42-
"plugins/node/opentelemetry-instrumentation-ioredis": "0.46.0",
43-
"plugins/node/opentelemetry-instrumentation-knex": "0.43.0",
44-
"plugins/node/opentelemetry-instrumentation-koa": "0.46.0",
45-
"plugins/node/opentelemetry-instrumentation-memcached": "0.42.0",
46-
"plugins/node/opentelemetry-instrumentation-mongodb": "0.50.0",
47-
"plugins/node/opentelemetry-instrumentation-mysql": "0.44.0",
48-
"plugins/node/opentelemetry-instrumentation-mysql2": "0.44.0",
49-
"plugins/node/opentelemetry-instrumentation-nestjs-core": "0.43.0",
50-
"plugins/node/opentelemetry-instrumentation-net": "0.42.0",
51-
"plugins/node/opentelemetry-instrumentation-pg": "0.49.0",
52-
"plugins/node/opentelemetry-instrumentation-pino": "0.45.0",
53-
"plugins/node/opentelemetry-instrumentation-redis": "0.45.0",
54-
"plugins/node/opentelemetry-instrumentation-redis-4": "0.45.0",
55-
"plugins/node/opentelemetry-instrumentation-restify": "0.44.0",
56-
"plugins/node/opentelemetry-instrumentation-router": "0.43.0",
57-
"plugins/node/opentelemetry-instrumentation-winston": "0.43.0",
58-
"plugins/web/opentelemetry-instrumentation-document-load": "0.43.0",
59-
"plugins/web/opentelemetry-instrumentation-long-task": "0.43.0",
60-
"plugins/web/opentelemetry-instrumentation-user-interaction": "0.43.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
}

CONTRIBUTING.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,20 @@ When two or more approaches must be compared, please write a benchmark in the be
163163
This repository contains many components which are maintained by more than the typical set of JS maintainers and approvers.
164164
Each component in this repository SHOULD have a component owner who is responsible for maintaining it.
165165
The README.md for each component SHOULD contain its owner, but the source of truth for component ownership is in [.github/component_owners.yml](.github/component_owners.yml).
166+
166167
Component owners are generally given authority to make decisions relating to implementation and feature requests for their components,
167168
provided they follow the best practices set out by the maintainers and the [mission, vision and values](https://github.com/open-telemetry/community/blob/main/mission-vision-values.md)
168-
of the OpenTelemetry Project.
169+
of the OpenTelemetry Project. To facilitate independent triage of issues pertaining to the owned component, component owners are assigned
170+
[the Triager role](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#triager).
169171

170172
Component owners MUST do their best to maintain a high level of quality, security, performance, and specification compliance within their components.
171173
Maintainers may override the decisions of component owners, but should only do so when they feel one or more of these traits is compromised.
172174

173175
### Becoming a Component Owner
174176

177+
To become a component owner, contributors MUST be a [member](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#member) of the OpenTelemetry GitHub organization.
178+
To become a member, follow the steps in the [community guidelines for membership requirements](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#requirements).
179+
175180
To become a component owner, contributors SHOULD demonstrate prior knowledge of the instrumented package or the concepts therein.
176181

177182
Ways do to so may be by providing proof of:
@@ -200,6 +205,7 @@ If all these conditions are met, aspiring component owners are encouraged to sel
200205
information provided on the issue - either approve or deny the ownership request. If the ownership request has been
201206
approved, the new component owner opens a PR to add themselves to the list of owners ([.github/component_owners.yml](.github/component_owners.yml))
202207
for that package.
208+
@open-telemetry/javascript-maintainers will add the component owner to @open-telemetry/javascript-contrib-triagers.
203209

204210
## Component Lifecycle
205211

@@ -289,6 +295,7 @@ please ping ([@open-telemetry/javascript-approvers](https://github.com/orgs/open
289295

290296
- Approved by
291297
- at least one component owner if one is defined in [.github/component_owners.yml](.github/component_owners.yml)
298+
- upon approval, the component owner SHOULD apply the `has:owner-approval` label to signal to maintainers that the PR is ready to merge.
292299
- OR one maintainer
293300
- OR at least one approver who is not the approver merging the pull request
294301
- A pull request for small (simple typo, URL, update docs, or grammatical fix) changes may be approved and merged by the same approver
@@ -314,8 +321,11 @@ The size of the OpenTelemetry JavaScript developer community is not large enough
314321
Therefore, to reach our goal, we have the following recommendations for where instrumentation packages should live.
315322

316323
1. Native to the instrumented package
317-
2. A dedicated public repository
318-
3. Here in the opentelemetry-js-contrib repository
324+
2. Close to where maintenance of the instrumented library takes place. For example:
325+
1. in a repository that is part of the organization that maintains the instrumented library
326+
2. in the same repository as the instrumented library
327+
3. A dedicated public repository
328+
4. Here in the opentelemetry-js-contrib repository
319329

320330
If possible, OpenTelemetry instrumentation should be included in the instrumented package.
321331
This will ensure the instrumentation reaches all package users, and is continuously maintained by developers that understand the package.
@@ -329,6 +339,7 @@ When instrumentation cannot be included in a target package and there is good re
329339
Note that new instrumentation needs at least two contributors assigned to it as code-owners. It is the responsibility
330340
of the requesting party to reach out and find code-owners for the proposed instrumentation. The instrumentation request
331341
needs to be accepted before any pull requests for the instrumentation can be considered for merging.
342+
Review the guidelines for [Becoming a Component Owner](#becoming-a-component-owner).
332343

333344
Regardless of where instrumentation is hosted, it needs to be discoverable.
334345
The [OpenTelemetry registry](https://opentelemetry.io/registry/) exists to ensure that instrumentation is discoverable.

detectors/node/opentelemetry-resource-detector-alibaba-cloud/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## [0.30.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/resource-detector-alibaba-cloud-v0.29.7...resource-detector-alibaba-cloud-v0.30.0) (2025-01-20)
4+
5+
6+
### Features
7+
8+
* **detectors:** generate esm build files too ([#2636](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2636)) ([c2ad0af](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/c2ad0af34e1570f3609beefc4a8d41ddfb7f8f77))
9+
* **detectors:** mark as side effect free ([#2663](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2663)) ([e9263a3](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/e9263a36255c0016cca78bf16c4598f23519d5f1))
10+
11+
## [0.29.7](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/resource-detector-alibaba-cloud-v0.29.6...resource-detector-alibaba-cloud-v0.29.7) (2024-12-18)
12+
13+
14+
### Dependencies
15+
16+
* The following workspace dependencies were updated
17+
* devDependencies
18+
* @opentelemetry/contrib-test-utils bumped from ^0.44.0 to ^0.45.0
19+
320
## [0.29.6](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/resource-detector-alibaba-cloud-v0.29.5...resource-detector-alibaba-cloud-v0.29.6) (2024-12-04)
421

522

0 commit comments

Comments
 (0)