Skip to content

Commit c1440e0

Browse files
committed
Merge branch 'main' into tm-lint-examples-bunyan
2 parents 3b80900 + 5909ad4 commit c1440e0

File tree

615 files changed

+57533
-54629
lines changed

Some content is hidden

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

615 files changed

+57533
-54629
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: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ pkg:instrumentation-ioredis:
131131
- plugins/node/opentelemetry-instrumentation-ioredis/**
132132
- packages/opentelemetry-test-utils/**
133133
- packages/opentelemetry-redis-common/**
134+
pkg:instrumentation-kafkajs:
135+
- changed-files:
136+
- any-glob-to-any-file:
137+
- plugins/node/instrumentation-kafkajs/**
138+
- packages/opentelemetry-test-utils/**
134139
pkg:instrumentation-knex:
135140
- changed-files:
136141
- any-glob-to-any-file:
@@ -183,6 +188,11 @@ pkg:instrumentation-net:
183188
- changed-files:
184189
- any-glob-to-any-file:
185190
- plugins/node/opentelemetry-instrumentation-net/**
191+
pkg:instrumentation-oracledb:
192+
- changed-files:
193+
- any-glob-to-any-file:
194+
- plugins/node/opentelemetry-instrumentation-oracledb/**
195+
- packages/opentelemetry-test-utils/**
186196
pkg:instrumentation-pg:
187197
- changed-files:
188198
- any-glob-to-any-file:
@@ -297,12 +307,9 @@ pkg-status:unmaintained:
297307
- plugins/node/opentelemetry-instrumentation-knex/**
298308
- plugins/node/opentelemetry-instrumentation-koa/**
299309
- plugins/node/opentelemetry-instrumentation-memcached/**
300-
- plugins/node/opentelemetry-instrumentation-mongodb/**
301310
- plugins/node/opentelemetry-instrumentation-mysql/**
302-
- plugins/node/opentelemetry-instrumentation-mysql2/**
303311
- plugins/node/opentelemetry-instrumentation-nestjs-core/**
304312
- plugins/node/opentelemetry-instrumentation-restify/**
305313
- plugins/node/opentelemetry-instrumentation-router/**
306314
- propagators/opentelemetry-propagator-ot-trace/**
307-
- propagators/propagator-aws-xray/**
308315
- propagators/propagator-aws-xray-lambda/**

.github/component_owners.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ components:
1818
- kirrg001
1919
incubator/opentelemetry-sampler-aws-xray:
2020
- jj22ee
21+
- yiyuan-he
2122
metapackages/auto-configuration-propagators:
2223
- pichlermarc
2324
metapackages/auto-instrumentations-node:
@@ -30,6 +31,8 @@ components:
3031
- pichlermarc
3132
- legendecas
3233
- blumamir
34+
packages/baggage-log-record-processor:
35+
- maryliag
3336
packages/baggage-span-processor:
3437
- mikegoldsmith
3538
- jamiedanielson
@@ -69,11 +72,17 @@ components:
6972
- mottibec
7073
plugins/node/instrumentation-tedious: []
7174
# Unmaintained
75+
plugins/node/instrumentation-typeorm:
76+
- seemk
77+
- weyert
78+
- t2t2
79+
- mhennoch
7280
plugins/node/opentelemetry-instrumentation-aws-lambda:
7381
- jj22ee
7482
plugins/node/opentelemetry-instrumentation-aws-sdk:
7583
- blumamir
7684
- jj22ee
85+
- trivikr
7786
plugins/node/opentelemetry-instrumentation-bunyan:
7887
- seemk
7988
- trentm
@@ -86,6 +95,7 @@ components:
8695
plugins/node/opentelemetry-instrumentation-express:
8796
- JamieDanielson
8897
- pkanal
98+
- raphael-theriault-swi
8999
plugins/node/opentelemetry-instrumentation-fastify: []
90100
# Unmaintained
91101
plugins/node/opentelemetry-instrumentation-generic-pool: []
@@ -103,16 +113,19 @@ components:
103113
# Unmaintained
104114
plugins/node/opentelemetry-instrumentation-memcached: []
105115
# Unmaintained
106-
plugins/node/opentelemetry-instrumentation-mongodb: []
107-
# Unmaintained
116+
plugins/node/opentelemetry-instrumentation-mongodb:
117+
- onurtemizkan
108118
plugins/node/opentelemetry-instrumentation-mysql: []
109119
# Unmaintained
110-
plugins/node/opentelemetry-instrumentation-mysql2: []
111-
# Unmaintained
120+
plugins/node/opentelemetry-instrumentation-mysql2:
121+
- raphael-theriault-swi
112122
plugins/node/opentelemetry-instrumentation-nestjs-core: []
113123
# Unmaintained
114124
plugins/node/opentelemetry-instrumentation-net:
115125
- seemk
126+
plugins/node/opentelemetry-instrumentation-oracledb:
127+
- sudarshan12s
128+
- sharadraju
116129
plugins/node/instrumentation-runtime-node:
117130
- d4nyll
118131
plugins/node/opentelemetry-instrumentation-pg:

.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
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: OSSF Scorecard
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
schedule:
8+
- cron: "31 18 * * 4" # once a week
9+
workflow_dispatch:
10+
11+
permissions: read-all
12+
13+
jobs:
14+
analysis:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
# Needed for Code scanning upload
18+
security-events: write
19+
# Needed for GitHub OIDC token if publish_results is true
20+
id-token: write
21+
steps:
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
with:
24+
persist-credentials: false
25+
26+
- uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
27+
with:
28+
results_file: results.sarif
29+
results_format: sarif
30+
publish_results: true
31+
32+
# Upload the results as artifacts (optional). Commenting out will disable
33+
# uploads of run results in SARIF format to the repository Actions tab.
34+
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
35+
- name: "Upload artifact"
36+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
37+
with:
38+
name: SARIF file
39+
path: results.sarif
40+
retention-days: 5
41+
42+
# Upload the results to GitHub's code scanning dashboard (optional).
43+
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
44+
- name: "Upload to code-scanning"
45+
uses: github/codeql-action/upload-sarif@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
46+
with:
47+
sarif_file: results.sarif

.github/workflows/peer-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
run: npm ci
2020

2121
- name: Check API dependency semantics
22-
run: npx lerna exec "node \$LERNA_ROOT_PATH/scripts/peer-api-check.js"
22+
run: node ./scripts/peer-api-check.js

.github/workflows/release-please-validate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717

18-
- name: Install lerna
19-
run: npm install -g [email protected]
18+
- name: Install glob
19+
run: npm install glob
2020

2121
- name: Ensure Release Please Config and Manifest are in sync with the repository
2222
run: node scripts/check-release-please.mjs

.github/workflows/release-please.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ jobs:
7474
7575
# Release Please has already incremented versions and published tags, so we just
7676
# need to publish all unpublished versions to npm here
77-
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
77+
# See: https://github.com/lerna/lerna/tree/main/libs/commands/publish#bump-from-package
7878
- name: Publish to npm
7979
# only publish if a release has been created
8080
if: ${{ steps.release.outputs.releases_created }}
8181
env:
8282
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
8383
NPM_CONFIG_PROVENANCE: true
84-
run: npx lerna publish from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes
84+
run: npx lerna publish from-package --no-push --no-private --no-git-tag-version --yes

0 commit comments

Comments
 (0)