Skip to content

Commit 9c5b188

Browse files
committed
Merge branch 'main' into tm-semconv-lint-and-changelog-play
2 parents 7d9a8c2 + 4fb610d commit 9c5b188

File tree

163 files changed

+18940
-16258
lines changed

Some content is hidden

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

163 files changed

+18940
-16258
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
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: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
{
2-
"detectors/node/opentelemetry-resource-detector-alibaba-cloud": "0.29.5",
3-
"detectors/node/opentelemetry-resource-detector-aws": "1.8.0",
4-
"detectors/node/opentelemetry-resource-detector-azure": "0.3.0",
5-
"detectors/node/opentelemetry-resource-detector-container": "0.5.1",
6-
"detectors/node/opentelemetry-resource-detector-gcp": "0.30.0",
2+
"detectors/node/opentelemetry-resource-detector-alibaba-cloud": "0.29.7",
3+
"detectors/node/opentelemetry-resource-detector-aws": "1.10.0",
4+
"detectors/node/opentelemetry-resource-detector-azure": "0.5.0",
5+
"detectors/node/opentelemetry-resource-detector-container": "0.5.3",
6+
"detectors/node/opentelemetry-resource-detector-gcp": "0.32.0",
77
"detectors/node/opentelemetry-resource-detector-github": "0.29.0",
8-
"detectors/node/opentelemetry-resource-detector-instana": "0.15.0",
9-
"metapackages/auto-configuration-propagators": "0.3.1",
10-
"metapackages/auto-instrumentations-node": "0.53.0",
11-
"metapackages/auto-instrumentations-web": "0.43.0",
8+
"detectors/node/opentelemetry-resource-detector-instana": "0.17.0",
9+
"metapackages/auto-configuration-propagators": "0.3.2",
10+
"metapackages/auto-instrumentations-node": "0.55.2",
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.13",
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.43.0",
19-
"packages/winston-transport": "0.8.0",
20-
"plugins/node/instrumentation-amqplib": "0.44.0",
21-
"plugins/node/instrumentation-cucumber": "0.11.0",
22-
"plugins/node/instrumentation-dataloader": "0.14.0",
23-
"plugins/node/instrumentation-fs": "0.17.0",
24-
"plugins/node/instrumentation-kafkajs": "0.5.0",
25-
"plugins/node/instrumentation-lru-memoizer": "0.42.0",
26-
"plugins/node/instrumentation-mongoose": "0.44.0",
27-
"plugins/node/instrumentation-runtime-node": "0.10.0",
28-
"plugins/node/instrumentation-socket.io": "0.44.0",
29-
"plugins/node/instrumentation-tedious": "0.16.0",
30-
"plugins/node/instrumentation-undici": "0.8.0",
31-
"plugins/node/opentelemetry-instrumentation-aws-lambda": "0.48.0",
32-
"plugins/node/opentelemetry-instrumentation-aws-sdk": "0.47.0",
33-
"plugins/node/opentelemetry-instrumentation-bunyan": "0.43.0",
34-
"plugins/node/opentelemetry-instrumentation-cassandra": "0.43.0",
35-
"plugins/node/opentelemetry-instrumentation-connect": "0.41.0",
36-
"plugins/node/opentelemetry-instrumentation-dns": "0.41.0",
37-
"plugins/node/opentelemetry-instrumentation-express": "0.45.0",
38-
"plugins/node/opentelemetry-instrumentation-fastify": "0.42.0",
39-
"plugins/node/opentelemetry-instrumentation-generic-pool": "0.41.0",
40-
"plugins/node/opentelemetry-instrumentation-graphql": "0.45.0",
41-
"plugins/node/opentelemetry-instrumentation-hapi": "0.43.0",
42-
"plugins/node/opentelemetry-instrumentation-ioredis": "0.45.0",
43-
"plugins/node/opentelemetry-instrumentation-knex": "0.42.0",
44-
"plugins/node/opentelemetry-instrumentation-koa": "0.45.0",
45-
"plugins/node/opentelemetry-instrumentation-memcached": "0.41.0",
46-
"plugins/node/opentelemetry-instrumentation-mongodb": "0.49.0",
47-
"plugins/node/opentelemetry-instrumentation-mysql": "0.43.0",
48-
"plugins/node/opentelemetry-instrumentation-mysql2": "0.43.0",
49-
"plugins/node/opentelemetry-instrumentation-nestjs-core": "0.42.0",
50-
"plugins/node/opentelemetry-instrumentation-net": "0.41.0",
51-
"plugins/node/opentelemetry-instrumentation-pg": "0.48.0",
52-
"plugins/node/opentelemetry-instrumentation-pino": "0.44.0",
53-
"plugins/node/opentelemetry-instrumentation-redis": "0.44.0",
54-
"plugins/node/opentelemetry-instrumentation-redis-4": "0.44.0",
55-
"plugins/node/opentelemetry-instrumentation-restify": "0.43.0",
56-
"plugins/node/opentelemetry-instrumentation-router": "0.42.0",
57-
"plugins/node/opentelemetry-instrumentation-winston": "0.42.0",
58-
"plugins/web/opentelemetry-instrumentation-document-load": "0.42.0",
59-
"plugins/web/opentelemetry-instrumentation-long-task": "0.42.0",
60-
"plugins/web/opentelemetry-instrumentation-user-interaction": "0.42.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.1",
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.0",
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
@@ -140,15 +140,20 @@ When two or more approaches must be compared, please write a benchmark in the be
140140
This repository contains many components which are maintained by more than the typical set of JS maintainers and approvers.
141141
Each component in this repository SHOULD have a component owner who is responsible for maintaining it.
142142
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).
143+
143144
Component owners are generally given authority to make decisions relating to implementation and feature requests for their components,
144145
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)
145-
of the OpenTelemetry Project.
146+
of the OpenTelemetry Project. To facilitate independent triage of issues pertaining to the owned component, component owners are assigned
147+
[the Triager role](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#triager).
146148

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

150152
### Becoming a Component Owner
151153

154+
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.
155+
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).
156+
152157
To become a component owner, contributors SHOULD demonstrate prior knowledge of the instrumented package or the concepts therein.
153158

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

181187
## Component Lifecycle
182188

@@ -266,6 +272,7 @@ please ping ([@open-telemetry/javascript-approvers](https://github.com/orgs/open
266272

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

293300
1. Native to the instrumented package
294-
2. A dedicated public repository
295-
3. Here in the opentelemetry-js-contrib repository
301+
2. Close to where maintenance of the instrumented library takes place. For example:
302+
1. in a repository that is part of the organization that maintains the instrumented library
303+
2. in the same repository as the instrumented library
304+
3. A dedicated public repository
305+
4. Here in the opentelemetry-js-contrib repository
296306

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

310321
Regardless of where instrumentation is hosted, it needs to be discoverable.
311322
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: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## [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)
4+
5+
6+
### Dependencies
7+
8+
* The following workspace dependencies were updated
9+
* devDependencies
10+
* @opentelemetry/contrib-test-utils bumped from ^0.44.0 to ^0.45.0
11+
12+
## [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)
13+
14+
15+
### Dependencies
16+
17+
* The following workspace dependencies were updated
18+
* devDependencies
19+
* @opentelemetry/contrib-test-utils bumped from ^0.43.0 to ^0.44.0
20+
321
## [0.29.5](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/resource-detector-alibaba-cloud-v0.29.4...resource-detector-alibaba-cloud-v0.29.5) (2024-11-18)
422

523

0 commit comments

Comments
 (0)