Skip to content

Commit 97114a6

Browse files
committed
Merge branch 'main' of github.com:open-telemetry/opentelemetry-js-contrib into baggage-log-processor
2 parents 56bf632 + 4b51e60 commit 97114a6

File tree

319 files changed

+8773
-9875
lines changed

Some content is hidden

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

319 files changed

+8773
-9875
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,7 @@ pkg-status:unmaintained:
297297
- plugins/node/opentelemetry-instrumentation-knex/**
298298
- plugins/node/opentelemetry-instrumentation-koa/**
299299
- plugins/node/opentelemetry-instrumentation-memcached/**
300-
- plugins/node/opentelemetry-instrumentation-mongodb/**
301300
- plugins/node/opentelemetry-instrumentation-mysql/**
302-
- plugins/node/opentelemetry-instrumentation-mysql2/**
303301
- plugins/node/opentelemetry-instrumentation-nestjs-core/**
304302
- plugins/node/opentelemetry-instrumentation-restify/**
305303
- plugins/node/opentelemetry-instrumentation-router/**

.github/component_owners.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ components:
8989
plugins/node/opentelemetry-instrumentation-express:
9090
- JamieDanielson
9191
- pkanal
92+
- raphael-theriault-swi
9293
plugins/node/opentelemetry-instrumentation-fastify: []
9394
# Unmaintained
9495
plugins/node/opentelemetry-instrumentation-generic-pool: []
@@ -106,12 +107,12 @@ components:
106107
# Unmaintained
107108
plugins/node/opentelemetry-instrumentation-memcached: []
108109
# Unmaintained
109-
plugins/node/opentelemetry-instrumentation-mongodb: []
110-
# Unmaintained
110+
plugins/node/opentelemetry-instrumentation-mongodb:
111+
- onurtemizkan
111112
plugins/node/opentelemetry-instrumentation-mysql: []
112113
# Unmaintained
113-
plugins/node/opentelemetry-instrumentation-mysql2: []
114-
# Unmaintained
114+
plugins/node/opentelemetry-instrumentation-mysql2:
115+
- raphael-theriault-swi
115116
plugins/node/opentelemetry-instrumentation-nestjs-core: []
116117
# Unmaintained
117118
plugins/node/opentelemetry-instrumentation-net:

.github/workflows/fossa.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: FOSSA scanning
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
fossa:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
17+
- uses: fossas/fossa-action@93a52ecf7c3ac7eb40f5de77fd69b1a19524de94 # v1.5.0
18+
with:
19+
api-key: ${{secrets.FOSSA_API_KEY}}
20+
team: OpenTelemetry

.github/workflows/unit-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
services:
4646
memcached:
47-
image: memcached:1.6.29-alpine
47+
image: memcached:1.6.37-alpine
4848
ports:
4949
- 11211:11211
5050
mongo:
@@ -171,7 +171,7 @@ jobs:
171171
run: npm run test:ci:changed
172172
- name: Report Coverage
173173
if: ${{ matrix.code-coverage && !cancelled()}}
174-
uses: codecov/codecov-action@v4
174+
uses: codecov/codecov-action@v5
175175
env:
176176
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
177177
with:
@@ -207,7 +207,7 @@ jobs:
207207
- name: Unit tests
208208
run: npm run test:browser
209209
- name: Report Coverage
210-
uses: codecov/codecov-action@v4
210+
uses: codecov/codecov-action@v5
211211
env:
212212
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
213213
with:

.release-please-manifest.json

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,67 @@
11
{
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",
7-
"detectors/node/opentelemetry-resource-detector-github": "0.29.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",
2+
"detectors/node/opentelemetry-resource-detector-alibaba-cloud": "0.30.1",
3+
"detectors/node/opentelemetry-resource-detector-aws": "1.12.0",
4+
"detectors/node/opentelemetry-resource-detector-azure": "0.6.1",
5+
"detectors/node/opentelemetry-resource-detector-container": "0.6.1",
6+
"detectors/node/opentelemetry-resource-detector-gcp": "0.33.1",
7+
"detectors/node/opentelemetry-resource-detector-github": "0.30.0",
8+
"detectors/node/opentelemetry-resource-detector-instana": "0.18.1",
9+
"metapackages/auto-configuration-propagators": "0.3.3",
10+
"metapackages/auto-instrumentations-node": "0.56.1",
11+
"metapackages/auto-instrumentations-web": "0.45.1",
1212
"packages/baggage-span-processor": "0.3.1",
1313
"packages/baggage-log-record-processor": "0.0.1",
1414
"packages/opentelemetry-host-metrics": "0.35.5",
15-
"packages/opentelemetry-id-generator-aws-xray": "1.2.2",
16-
"packages/opentelemetry-propagation-utils": "0.30.15",
15+
"packages/opentelemetry-id-generator-aws-xray": "1.2.3",
16+
"packages/opentelemetry-propagation-utils": "0.30.16",
1717
"packages/opentelemetry-redis-common": "0.36.2",
1818
"packages/opentelemetry-sql-common": "0.40.1",
19-
"packages/opentelemetry-test-utils": "0.45.0",
20-
"packages/winston-transport": "0.10.0",
21-
"plugins/node/instrumentation-amqplib": "0.46.0",
22-
"plugins/node/instrumentation-cucumber": "0.13.0",
23-
"plugins/node/instrumentation-dataloader": "0.16.0",
24-
"plugins/node/instrumentation-fs": "0.19.0",
25-
"plugins/node/instrumentation-kafkajs": "0.7.0",
26-
"plugins/node/instrumentation-lru-memoizer": "0.44.0",
27-
"plugins/node/instrumentation-mongoose": "0.46.0",
28-
"plugins/node/instrumentation-runtime-node": "0.12.1",
29-
"plugins/node/instrumentation-socket.io": "0.46.0",
30-
"plugins/node/instrumentation-tedious": "0.18.0",
31-
"plugins/node/instrumentation-undici": "0.10.0",
32-
"plugins/node/opentelemetry-instrumentation-aws-lambda": "0.50.1",
33-
"plugins/node/opentelemetry-instrumentation-aws-sdk": "0.49.0",
34-
"plugins/node/opentelemetry-instrumentation-bunyan": "0.45.0",
35-
"plugins/node/opentelemetry-instrumentation-cassandra": "0.45.0",
36-
"plugins/node/opentelemetry-instrumentation-connect": "0.43.0",
37-
"plugins/node/opentelemetry-instrumentation-dns": "0.43.0",
38-
"plugins/node/opentelemetry-instrumentation-express": "0.47.0",
39-
"plugins/node/opentelemetry-instrumentation-fastify": "0.44.0",
40-
"plugins/node/opentelemetry-instrumentation-generic-pool": "0.43.0",
41-
"plugins/node/opentelemetry-instrumentation-graphql": "0.47.0",
42-
"plugins/node/opentelemetry-instrumentation-hapi": "0.45.1",
43-
"plugins/node/opentelemetry-instrumentation-ioredis": "0.47.0",
44-
"plugins/node/opentelemetry-instrumentation-knex": "0.44.0",
45-
"plugins/node/opentelemetry-instrumentation-koa": "0.47.0",
46-
"plugins/node/opentelemetry-instrumentation-memcached": "0.43.0",
47-
"plugins/node/opentelemetry-instrumentation-mongodb": "0.51.0",
48-
"plugins/node/opentelemetry-instrumentation-mysql": "0.45.0",
49-
"plugins/node/opentelemetry-instrumentation-mysql2": "0.45.0",
50-
"plugins/node/opentelemetry-instrumentation-nestjs-core": "0.44.0",
51-
"plugins/node/opentelemetry-instrumentation-net": "0.43.0",
52-
"plugins/node/opentelemetry-instrumentation-pg": "0.50.0",
53-
"plugins/node/opentelemetry-instrumentation-pino": "0.46.0",
54-
"plugins/node/opentelemetry-instrumentation-redis": "0.46.0",
55-
"plugins/node/opentelemetry-instrumentation-redis-4": "0.46.0",
56-
"plugins/node/opentelemetry-instrumentation-restify": "0.45.0",
57-
"plugins/node/opentelemetry-instrumentation-router": "0.44.0",
58-
"plugins/node/opentelemetry-instrumentation-winston": "0.44.0",
59-
"plugins/web/opentelemetry-instrumentation-document-load": "0.44.0",
60-
"plugins/web/opentelemetry-instrumentation-long-task": "0.44.0",
61-
"plugins/web/opentelemetry-instrumentation-user-interaction": "0.44.0",
62-
"plugins/web/opentelemetry-plugin-react-load": "0.31.0",
63-
"propagators/opentelemetry-propagator-instana": "0.3.2",
64-
"propagators/opentelemetry-propagator-ot-trace": "0.27.2",
65-
"propagators/propagator-aws-xray": "1.26.1",
66-
"propagators/propagator-aws-xray-lambda": "0.53.1"
19+
"packages/opentelemetry-test-utils": "0.45.1",
20+
"packages/winston-transport": "0.10.1",
21+
"plugins/node/instrumentation-amqplib": "0.46.1",
22+
"plugins/node/instrumentation-cucumber": "0.14.1",
23+
"plugins/node/instrumentation-dataloader": "0.16.1",
24+
"plugins/node/instrumentation-fs": "0.19.1",
25+
"plugins/node/instrumentation-kafkajs": "0.7.1",
26+
"plugins/node/instrumentation-lru-memoizer": "0.44.1",
27+
"plugins/node/instrumentation-mongoose": "0.46.1",
28+
"plugins/node/instrumentation-runtime-node": "0.12.2",
29+
"plugins/node/instrumentation-socket.io": "0.46.1",
30+
"plugins/node/instrumentation-tedious": "0.18.1",
31+
"plugins/node/instrumentation-undici": "0.10.1",
32+
"plugins/node/opentelemetry-instrumentation-aws-lambda": "0.50.3",
33+
"plugins/node/opentelemetry-instrumentation-aws-sdk": "0.49.1",
34+
"plugins/node/opentelemetry-instrumentation-bunyan": "0.45.1",
35+
"plugins/node/opentelemetry-instrumentation-cassandra": "0.45.1",
36+
"plugins/node/opentelemetry-instrumentation-connect": "0.43.1",
37+
"plugins/node/opentelemetry-instrumentation-dns": "0.43.1",
38+
"plugins/node/opentelemetry-instrumentation-express": "0.47.1",
39+
"plugins/node/opentelemetry-instrumentation-fastify": "0.44.2",
40+
"plugins/node/opentelemetry-instrumentation-generic-pool": "0.43.1",
41+
"plugins/node/opentelemetry-instrumentation-graphql": "0.47.1",
42+
"plugins/node/opentelemetry-instrumentation-hapi": "0.45.2",
43+
"plugins/node/opentelemetry-instrumentation-ioredis": "0.47.1",
44+
"plugins/node/opentelemetry-instrumentation-knex": "0.44.1",
45+
"plugins/node/opentelemetry-instrumentation-koa": "0.47.1",
46+
"plugins/node/opentelemetry-instrumentation-memcached": "0.43.1",
47+
"plugins/node/opentelemetry-instrumentation-mongodb": "0.52.0",
48+
"plugins/node/opentelemetry-instrumentation-mysql": "0.45.1",
49+
"plugins/node/opentelemetry-instrumentation-mysql2": "0.45.2",
50+
"plugins/node/opentelemetry-instrumentation-nestjs-core": "0.44.1",
51+
"plugins/node/opentelemetry-instrumentation-net": "0.43.1",
52+
"plugins/node/opentelemetry-instrumentation-pg": "0.51.1",
53+
"plugins/node/opentelemetry-instrumentation-pino": "0.46.1",
54+
"plugins/node/opentelemetry-instrumentation-redis": "0.46.1",
55+
"plugins/node/opentelemetry-instrumentation-redis-4": "0.46.1",
56+
"plugins/node/opentelemetry-instrumentation-restify": "0.45.1",
57+
"plugins/node/opentelemetry-instrumentation-router": "0.44.1",
58+
"plugins/node/opentelemetry-instrumentation-winston": "0.44.1",
59+
"plugins/web/opentelemetry-instrumentation-document-load": "0.44.1",
60+
"plugins/web/opentelemetry-instrumentation-long-task": "0.44.1",
61+
"plugins/web/opentelemetry-instrumentation-user-interaction": "0.44.1",
62+
"plugins/web/opentelemetry-plugin-react-load": "0.31.1",
63+
"propagators/opentelemetry-propagator-instana": "0.3.3",
64+
"propagators/opentelemetry-propagator-ot-trace": "0.27.3",
65+
"propagators/propagator-aws-xray": "1.26.2",
66+
"propagators/propagator-aws-xray-lambda": "0.53.2"
6767
}

CONTRIBUTING.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,18 @@ 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

152-
To become a component owner, contributors MUST be a member of the OpenTelemetry GitHub organization.
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.
153155
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).
154156

155157
To become a component owner, contributors SHOULD demonstrate prior knowledge of the instrumented package or the concepts therein.
@@ -236,7 +238,7 @@ features for unmaintained components. At least one sponsor is needed to lift the
236238
adding the requested feature. Sponsors are expected to provide reviews for that feature and be responsive on the issue.
237239

238240
Components marked as unmaintained still receive semantic conventions updates and bugfixes where possible.
239-
[@open-telemetry/javascript-triagers](https://github.com/orgs/open-telemetry/teams/javascript-triagers) may add the
241+
[@open-telemetry/javascript-contrib-triagers](https://github.com/orgs/open-telemetry/teams/javascript-contrib-triagers) may add the
240242
`type:semconv-update` or `bug` label to mark them as exempt from being auto-closed within two weeks.
241243

242244
A component which is unmaintained may be deprecated if there is a problem that is not fixed in a timely manner.
@@ -270,6 +272,7 @@ please ping ([@open-telemetry/javascript-approvers](https://github.com/orgs/open
270272

271273
- Approved by
272274
- 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.
273276
- OR one maintainer
274277
- OR at least one approver who is not the approver merging the pull request
275278
- A pull request for small (simple typo, URL, update docs, or grammatical fix) changes may be approved and merged by the same approver
@@ -295,8 +298,11 @@ The size of the OpenTelemetry JavaScript developer community is not large enough
295298
Therefore, to reach our goal, we have the following recommendations for where instrumentation packages should live.
296299

297300
1. Native to the instrumented package
298-
2. A dedicated public repository
299-
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
300306

301307
If possible, OpenTelemetry instrumentation should be included in the instrumented package.
302308
This will ensure the instrumentation reaches all package users, and is continuously maintained by developers that understand the package.

archive/opentelemetry-browser-extension-autoinjection/.eslintrc.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

archive/opentelemetry-browser-extension-autoinjection/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)