Skip to content

Commit 33df93b

Browse files
committed
Merge branch 'main' into sqs-batch-receive
2 parents cefd08a + 12d3aa6 commit 33df93b

File tree

492 files changed

+29518
-26492
lines changed

Some content is hidden

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

492 files changed

+29518
-26492
lines changed

.github/component-label-map.yml

Lines changed: 10 additions & 0 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:

.github/component_owners.yml

Lines changed: 11 additions & 0 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,6 +72,11 @@ 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:
@@ -115,6 +123,9 @@ components:
115123
# Unmaintained
116124
plugins/node/opentelemetry-instrumentation-net:
117125
- seemk
126+
plugins/node/opentelemetry-instrumentation-oracledb:
127+
- sudarshan12s
128+
- sharadraju
118129
plugins/node/instrumentation-runtime-node:
119130
- d4nyll
120131
plugins/node/opentelemetry-instrumentation-pg:
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

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

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
uses: actions/upload-artifact@v4
3838
with:
3939
name: tav-build-cache-${{ github.run_number }}
40-
path: node_modules/.cache/nx
40+
path: .nx
41+
include-hidden-files: true
42+
if-no-files-found: error
4143
retention-days: 1
4244

4345
tav:
@@ -80,6 +82,19 @@ jobs:
8082
--health-interval 10s
8183
--health-timeout 5s
8284
--health-retries 5
85+
oracledb:
86+
image: gvenzl/oracle-free:slim
87+
env:
88+
APP_USER: otel
89+
APP_USER_PASSWORD: secret
90+
ORACLE_PASSWORD: oracle
91+
ports:
92+
- 1521:1521
93+
options: >-
94+
--health-cmd "sqlplus system/oracle@//localhost/FREEPDB1"
95+
--health-interval 10s
96+
--health-timeout 5s
97+
--health-retries 5
8398
postgres:
8499
image: postgres:16-alpine
85100
env:
@@ -122,6 +137,12 @@ jobs:
122137
MYSQL_USER: otel
123138
OPENTELEMETRY_REDIS_HOST: localhost
124139
OPENTELEMETRY_REDIS_PORT: 6379
140+
ORACLE_HOSTNAME: localhost
141+
ORACLE_PORT: 1521
142+
ORACLE_CONNECTSTRING: localhost:1521/freepdb1
143+
ORACLE_USER: otel
144+
ORACLE_PASSWORD: secret
145+
ORACLE_SERVICENAME: FREEPDB1
125146
POSTGRES_DB: otel_pg_database
126147
POSTGRES_HOST: localhost
127148
POSTGRES_PORT: 5432
@@ -130,6 +151,7 @@ jobs:
130151
RUN_MONGODB_TESTS: 1
131152
RUN_MSSQL_TESTS: 1
132153
RUN_MYSQL_TESTS: 1
154+
RUN_ORACLEDB_TESTS: 1
133155
RUN_POSTGRES_TESTS: 1
134156
RUN_REDIS_TESTS: 1
135157
NPM_CONFIG_UNSAFE_PERM: true
@@ -141,15 +163,13 @@ jobs:
141163
- uses: actions/setup-node@v4
142164
with:
143165
node-version: ${{ matrix.node }}
144-
- name: Set MySQL variables
145-
run: mysql --user=root --password=${MYSQL_ROOT_PASSWORD} --host=${MYSQL_HOST} --port=${MYSQL_PORT} -e "SET GLOBAL log_output='TABLE'; SET GLOBAL general_log = 1;" mysql
146166
- name: Install
147167
run: npm ci
148168
- name: Download Build Artifacts
149169
uses: actions/download-artifact@v4
150170
with:
151171
name: tav-build-cache-${{ github.run_number }}
152-
path: node_modules/.cache/nx
172+
path: .nx
153173
- name: Build
154174
run: npm run compile
155175
- name: Run test-all-versions

.github/workflows/unit-test.yml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ jobs:
2525
run: npm ci
2626
- name: Build
2727
run: npm run compile
28-
- name: Upload build artifact
28+
- name: Upload Build Artifacts
2929
uses: actions/upload-artifact@v4
3030
with:
3131
name: tests-build-cache-${{ github.run_number }}
32-
path: node_modules/.cache/nx
32+
path: .nx
33+
include-hidden-files: true
34+
if-no-files-found: error
3335
retention-days: 1
3436

3537
unit-test:
@@ -83,6 +85,19 @@ jobs:
8385
--health-interval 10s
8486
--health-timeout 5s
8587
--health-retries 5
88+
oracledb:
89+
image: gvenzl/oracle-free:slim
90+
env:
91+
APP_USER: otel
92+
APP_USER_PASSWORD: secret
93+
ORACLE_PASSWORD: oracle
94+
ports:
95+
- 1521:1521
96+
options: >-
97+
--health-cmd "sqlplus system/oracle@//localhost/FREEPDB1"
98+
--health-interval 10s
99+
--health-timeout 5s
100+
--health-retries 5
86101
postgres:
87102
image: postgres:16-alpine
88103
env:
@@ -122,6 +137,7 @@ jobs:
122137
RUN_MONGODB_TESTS: 1
123138
RUN_MYSQL_TESTS: 1
124139
RUN_MSSQL_TESTS: 1
140+
RUN_ORACLEDB_TESTS: 1
125141
RUN_POSTGRES_TESTS: 1
126142
RUN_REDIS_TESTS: 1
127143
RUN_RABBIT_TESTS: 1
@@ -140,6 +156,12 @@ jobs:
140156
OPENTELEMETRY_MEMCACHED_PORT: 11211
141157
OPENTELEMETRY_REDIS_HOST: localhost
142158
OPENTELEMETRY_REDIS_PORT: 6379
159+
ORACLE_HOSTNAME: localhost
160+
ORACLE_PORT: 1521
161+
ORACLE_CONNECTSTRING: localhost:1521/freepdb1
162+
ORACLE_USER: otel
163+
ORACLE_PASSWORD: secret
164+
ORACLE_SERVICENAME: FREEPDB1
143165
POSTGRES_DB: otel_pg_database
144166
POSTGRES_HOST: localhost
145167
POSTGRES_PORT: 5432
@@ -154,15 +176,13 @@ jobs:
154176
- uses: actions/setup-node@v4
155177
with:
156178
node-version: ${{ matrix.node }}
157-
- name: Set MySQL variables
158-
run: mysql --user=root --password=${MYSQL_ROOT_PASSWORD} --host=${MYSQL_HOST} --port=${MYSQL_PORT} -e "SET GLOBAL log_output='TABLE'; SET GLOBAL general_log = 1;" mysql
159179
- name: Install
160180
run: npm ci
161181
- name: Download Build Artifacts
162182
uses: actions/download-artifact@v4
163183
with:
164184
name: tests-build-cache-${{ github.run_number }}
165-
path: node_modules/.cache/nx
185+
path: .nx
166186
- name: Build
167187
run: npm run compile
168188
- name: Unit tests (Full)
@@ -203,7 +223,7 @@ jobs:
203223
uses: actions/download-artifact@v4
204224
with:
205225
name: tests-build-cache-${{ github.run_number }}
206-
path: node_modules/.cache/nx
226+
path: .nx
207227
- name: Build
208228
run: npm run compile
209229
- name: Unit tests

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ docs
6969

7070
#lerna
7171
.changelog
72-
package.json.lerna_backup
72+
.nx
7373

7474
# OS generated files
7575
.DS_Store

0 commit comments

Comments
 (0)