Skip to content

Commit d3335dd

Browse files
committed
Merge branch 'main' into instrumentation-sequelize
2 parents 203d2c5 + 8e08755 commit d3335dd

File tree

391 files changed

+28608
-27558
lines changed

Some content is hidden

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

391 files changed

+28608
-27558
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.amrom.workers.devponent-label-map.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,9 @@ 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/**
306304
- propagators/opentelemetry-propagator-ot-trace/**
307-
- propagators/propagator-aws-xray/**
308305
- propagators/propagator-aws-xray-lambda/**

.github.amrom.workers.devponent_owners.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
components:
33
detectors/node/opentelemetry-resource-detector-alibaba-cloud:
44
- legendecas
5-
detectors/node/opentelemetry-resource-detector-aws: []
6-
# Unmaintained
5+
detectors/node/opentelemetry-resource-detector-aws:
6+
- jj22ee
77
detectors/node/opentelemetry-resource-detector-azure:
88
- jacksonweber
99
- hectorhdzg
@@ -16,8 +16,8 @@ components:
1616
# Unmaintained
1717
detectors/node/opentelemetry-resource-detector-instana:
1818
- kirrg001
19-
incubator/opentelemetry-sampler-aws-xray: []
20-
# Unmaintained
19+
incubator/opentelemetry-sampler-aws-xray:
20+
- jj22ee
2121
metapackages/auto-configuration-propagators:
2222
- pichlermarc
2323
metapackages/auto-instrumentations-node:
@@ -35,8 +35,8 @@ components:
3535
- jamiedanielson
3636
packages/opentelemetry-host-metrics:
3737
- legendecas
38-
packages/opentelemetry-id-generator-aws-xray: []
39-
# Unmaintained
38+
packages/opentelemetry-id-generator-aws-xray:
39+
- jj22ee
4040
packages/opentelemetry-propagation-utils:
4141
- dyladan
4242
- pichlermarc
@@ -69,10 +69,12 @@ components:
6969
- mottibec
7070
plugins/node/instrumentation-tedious: []
7171
# Unmaintained
72-
plugins/node/opentelemetry-instrumentation-aws-lambda: []
73-
# Unmaintained
72+
plugins/node/opentelemetry-instrumentation-aws-lambda:
73+
- jj22ee
7474
plugins/node/opentelemetry-instrumentation-aws-sdk:
7575
- blumamir
76+
- jj22ee
77+
- trivikr
7678
plugins/node/opentelemetry-instrumentation-bunyan:
7779
- seemk
7880
- trentm
@@ -85,6 +87,7 @@ components:
8587
plugins/node/opentelemetry-instrumentation-express:
8688
- JamieDanielson
8789
- pkanal
90+
- raphael-theriault-swi
8891
plugins/node/opentelemetry-instrumentation-fastify: []
8992
# Unmaintained
9093
plugins/node/opentelemetry-instrumentation-generic-pool: []
@@ -102,12 +105,12 @@ components:
102105
# Unmaintained
103106
plugins/node/opentelemetry-instrumentation-memcached: []
104107
# Unmaintained
105-
plugins/node/opentelemetry-instrumentation-mongodb: []
106-
# Unmaintained
108+
plugins/node/opentelemetry-instrumentation-mongodb:
109+
- onurtemizkan
107110
plugins/node/opentelemetry-instrumentation-mysql: []
108111
# Unmaintained
109-
plugins/node/opentelemetry-instrumentation-mysql2: []
110-
# Unmaintained
112+
plugins/node/opentelemetry-instrumentation-mysql2:
113+
- raphael-theriault-swi
111114
plugins/node/opentelemetry-instrumentation-nestjs-core: []
112115
# Unmaintained
113116
plugins/node/opentelemetry-instrumentation-net:
@@ -145,8 +148,8 @@ components:
145148
- kirrg001
146149
propagators/opentelemetry-propagator-ot-trace: []
147150
# Unmaintained
148-
propagators/propagator-aws-xray: [ ]
149-
# Unmaintained
151+
propagators/propagator-aws-xray:
152+
- jj22ee
150153
propagators/propagator-aws-xray-lambda: [ ]
151154
# Unmaintained
152155

.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/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19+
# If you update this version make sure to keep in sync:
20+
# - `build-and-cache` job of unit-test workflow
21+
# - `build-and-cache` job of test-all-versions workflow
1922
- name: Setup Node
2023
uses: actions/setup-node@v4
2124
with:

.github/workflows/test-all-versions.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,36 @@ on:
1313
type: string
1414

1515
jobs:
16+
build-and-cache:
17+
strategy:
18+
fail-fast: false
19+
runs-on: ubuntu-latest
20+
env:
21+
NPM_CONFIG_UNSAFE_PERM: true
22+
NODE_OPTIONS: --max-old-space-size=4096
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
# Use the same Node.js version used for `release-please` workflow.
29+
- uses: actions/setup-node@v4
30+
with:
31+
node-version: 18
32+
- name: Install
33+
run: npm ci
34+
- name: Build
35+
run: npm run compile
36+
- name: Upload Build Artifacts
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: tav-build-cache-${{ github.run_number }}
40+
path: node_modules/.cache/nx
41+
retention-days: 1
42+
1643
tav:
1744
name: Run test-all-versions
45+
needs: build-and-cache
1846
strategy:
1947
fail-fast: false
2048
matrix:
@@ -120,6 +148,11 @@ jobs:
120148
run: npm install -g npm@9 # npm@9 supports node >=14.17.0
121149
- name: Install
122150
run: npm ci
151+
- name: Download Build Artifacts
152+
uses: actions/download-artifact@v4
153+
with:
154+
name: tav-build-cache-${{ github.run_number }}
155+
path: node_modules/.cache/nx
123156
- name: Build
124157
run: npm run compile
125158
- name: Run test-all-versions

.github/workflows/unit-test.yml

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,35 @@ on:
55
pull_request:
66

77
jobs:
8+
build-and-cache:
9+
strategy:
10+
fail-fast: false
11+
runs-on: ubuntu-latest
12+
env:
13+
NPM_CONFIG_UNSAFE_PERM: true
14+
NODE_OPTIONS: --max-old-space-size=4096
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
# Use the same Node.js version used for `release-please` workflow.
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 18
24+
- name: Install
25+
run: npm ci
26+
- name: Build
27+
run: npm run compile
28+
- name: Upload build artifact
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: tests-build-cache-${{ github.run_number }}
32+
path: node_modules/.cache/nx
33+
retention-days: 1
34+
835
unit-test:
36+
needs: build-and-cache
937
strategy:
1038
fail-fast: false
1139
matrix:
@@ -16,7 +44,7 @@ jobs:
1644
runs-on: ubuntu-latest
1745
services:
1846
memcached:
19-
image: memcached:1.6.29-alpine
47+
image: memcached:1.6.37-alpine
2048
ports:
2149
- 11211:11211
2250
mongo:
@@ -128,6 +156,11 @@ jobs:
128156
run: npm install -g npm@9 # npm@9 supports node >=14.17.0
129157
- name: Install
130158
run: npm ci
159+
- name: Download Build Artifacts
160+
uses: actions/download-artifact@v4
161+
with:
162+
name: tests-build-cache-${{ github.run_number }}
163+
path: node_modules/.cache/nx
131164
- name: Build
132165
run: npm run compile
133166
- name: Unit tests (Full)
@@ -138,17 +171,18 @@ jobs:
138171
run: npm run test:ci:changed
139172
- name: Report Coverage
140173
if: ${{ matrix.code-coverage && !cancelled()}}
141-
uses: codecov/codecov-action@v4
174+
uses: codecov/codecov-action@v5
142175
env:
143176
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
144177
with:
145178
verbose: true
146179

147180
browser-test:
181+
needs: build-and-cache
148182
strategy:
149183
fail-fast: false
150184
matrix:
151-
node: ["16"]
185+
node: ["22"]
152186
runs-on: ubuntu-latest
153187
env:
154188
NPM_CONFIG_UNSAFE_PERM: true
@@ -161,17 +195,19 @@ jobs:
161195
- uses: actions/setup-node@v4
162196
with:
163197
node-version: ${{ matrix.node }}
164-
- name: Update npm to a version that supports workspaces (v7 or later)
165-
if: ${{ matrix.node < 16 }}
166-
run: npm install -g npm@9 # npm@9 supports node >=14.17.0
167198
- name: Install
168199
run: npm ci
200+
- name: Download Build Artifacts
201+
uses: actions/download-artifact@v4
202+
with:
203+
name: tests-build-cache-${{ github.run_number }}
204+
path: node_modules/.cache/nx
169205
- name: Build
170206
run: npm run compile
171207
- name: Unit tests
172208
run: npm run test:browser
173209
- name: Report Coverage
174-
uses: codecov/codecov-action@v4
210+
uses: codecov/codecov-action@v5
175211
env:
176212
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
177213
with:

0 commit comments

Comments
 (0)