Skip to content

Commit ef671c7

Browse files
committed
Merge branch 'main' into nats-instrumentation
2 parents 4e0741d + f9d1d33 commit ef671c7

File tree

866 files changed

+27072
-4953
lines changed

Some content is hidden

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

866 files changed

+27072
-4953
lines changed

.fossa.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,12 @@ targets:
346346
- type: gradle
347347
path: ./
348348
target: ':instrumentation:aws-lambda:aws-lambda-events-2.2:library'
349+
- type: gradle
350+
path: ./
351+
target: ':instrumentation:aws-lambda:aws-lambda-events-3.11:library'
352+
- type: gradle
353+
path: ./
354+
target: ':instrumentation:aws-lambda:aws-lambda-events-common-2.2:library'
349355
- type: gradle
350356
path: ./
351357
target: ':instrumentation:aws-sdk:aws-sdk-1.11:javaagent'
@@ -727,6 +733,12 @@ targets:
727733
- type: gradle
728734
path: ./
729735
target: ':instrumentation:okhttp:okhttp-3.0:library'
736+
- type: gradle
737+
path: ./
738+
target: ':instrumentation:openai:openai-java-1.1:javaagent'
739+
- type: gradle
740+
path: ./
741+
target: ':instrumentation:openai:openai-java-1.1:library'
730742
- type: gradle
731743
path: ./
732744
target: ':instrumentation:opensearch:opensearch-rest-1.0:javaagent'
@@ -775,6 +787,9 @@ targets:
775787
- type: gradle
776788
path: ./
777789
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.50:javaagent'
790+
- type: gradle
791+
path: ./
792+
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.52:javaagent'
778793
- type: gradle
779794
path: ./
780795
target: ':instrumentation:pekko:pekko-actor-1.0:javaagent'

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,10 @@ body:
4848
attributes:
4949
label: Additional context
5050
description: Add any other context about the problem here.
51+
- type: dropdown
52+
attributes:
53+
label: Tip
54+
description: This element is static, used to render a helpful sub-heading for end-users and community members to help prioritize issues. Please leave as is.
55+
options:
56+
- <sub>[React](https://github.blog/news-insights/product-news/add-reactions-to-pull-requests-issues-and-comments/) with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it. Learn more [here](https://opentelemetry.io/community/end-user/issue-participation/).</sub>
57+
default: 0

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ body:
2222
attributes:
2323
label: Additional context
2424
description: Add any other context or screenshots about the feature request here.
25+
- type: dropdown
26+
attributes:
27+
label: Tip
28+
description: This element is static, used to render a helpful sub-heading for end-users and community members to help prioritize issues. Please leave as is.
29+
options:
30+
- <sub>[React](https://github.blog/news-insights/product-news/add-reactions-to-pull-requests-issues-and-comments/) with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it. Learn more [here](https://opentelemetry.io/community/end-user/issue-participation/).</sub>
31+
default: 0

.github/renovate.json5

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,16 @@
143143
],
144144
enabled: false,
145145
},
146+
{
147+
// wiremock 3+ requires Java 11+
148+
matchUpdateTypes: [
149+
'major',
150+
],
151+
enabled: false,
152+
matchPackageNames: [
153+
'com.github.tomakehurst:wiremock-jre8'
154+
],
155+
},
146156
{
147157
// intentionally using Spring Boot 2 in this smoke tests
148158
// new versions of Spring Boot 3 are tested with
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# this file exists so that Renovate can auto-update docker image versions that are then used elsewhere
2+
3+
FROM lycheeverse/lychee:sha-2aa22f8@sha256:2e3786630482c41f9f2dd081e06d7da1c36d66996e8cf6573409b8bc418d48c4 AS lychee

.github/scripts/link-check.sh

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
export MSYS_NO_PATHCONV=1 # for Git Bash on Windows
6+
7+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8+
LYCHEE_CONFIG="$SCRIPT_DIR/../../.lychee.toml"
9+
DEPENDENCIES_DOCKERFILE="$SCRIPT_DIR/dependencies.dockerfile"
10+
11+
# Extract lychee version from dependencies.dockerfile
12+
LYCHEE_VERSION=$(grep "FROM lycheeverse/lychee:" "$DEPENDENCIES_DOCKERFILE" | sed 's/.*FROM lycheeverse\/lychee:\([^ ]*\).*/\1/')
13+
14+
# Build the lychee command with optional GitHub token
15+
CMD="lycheeverse/lychee:$LYCHEE_VERSION --verbose --config $(basename "$LYCHEE_CONFIG")"
16+
17+
# Add GitHub token if available
18+
if [[ -n "$GITHUB_TOKEN" ]]; then
19+
CMD="$CMD --github-token $GITHUB_TOKEN"
20+
fi
21+
22+
# Add the target directory
23+
CMD="$CMD ."
24+
25+
# Determine if we should allocate a TTY
26+
DOCKER_FLAGS="--rm --init"
27+
if [[ -t 0 ]]; then
28+
DOCKER_FLAGS="$DOCKER_FLAGS -it"
29+
else
30+
DOCKER_FLAGS="$DOCKER_FLAGS -i"
31+
fi
32+
33+
# Run lychee with proper signal handling
34+
# shellcheck disable=SC2086
35+
exec docker run $DOCKER_FLAGS -v "$(dirname "$LYCHEE_CONFIG")":/data -w /data $CMD

.github/workflows/auto-license-report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
check:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020

2121
- name: Free disk space
2222
run: .github/scripts/gha-free-disk-space.sh
@@ -28,7 +28,7 @@ jobs:
2828
java-version-file: .java-version
2929

3030
- name: Set up gradle
31-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
31+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2
3232
with:
3333
cache-read-only: true
3434

@@ -43,7 +43,7 @@ jobs:
4343
- id: create-patch
4444
name: Create patch file
4545
run: |
46-
git add -N licenses
46+
git add -N --ignore-removal licenses
4747
git diff > patch
4848
if [ -s patch ]; then
4949
echo "exists=true" >> "$GITHUB_OUTPUT"

.github/workflows/auto-spotless.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
check:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020

2121
- name: Free disk space
2222
run: .github/scripts/gha-free-disk-space.sh
@@ -28,7 +28,7 @@ jobs:
2828
java-version-file: .java-version
2929

3030
- name: Set up gradle
31-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
31+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2
3232
with:
3333
cache-read-only: true
3434

.github/workflows/auto-update-otel-sdk.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
latest-version: ${{ steps.check-versions.outputs.latest-version }}
1818
already-opened: ${{ steps.check-versions.outputs.already-opened }}
1919
steps:
20-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121

2222
- id: check-versions
2323
name: Check versions
@@ -55,7 +55,7 @@ jobs:
5555
needs:
5656
- check-versions
5757
steps:
58-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5959

6060
- name: Update version
6161
env:
@@ -72,7 +72,7 @@ jobs:
7272
java-version-file: .java-version
7373

7474
- name: Setup Gradle
75-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
75+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2
7676

7777
- name: Update license report
7878
run: ./gradlew generateLicenseReport
@@ -84,7 +84,7 @@ jobs:
8484
- name: Use CLA approved bot
8585
run: .github/scripts/use-cla-approved-bot.sh
8686

87-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
87+
- uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
8888
id: otelbot-token
8989
with:
9090
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/auto-update-pull-request.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
pull-requests: write
1919
steps:
2020
- name: Download patch
21-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
21+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
2222
with:
2323
run-id: ${{ github.event.workflow_run.id }}
2424
path: ${{ runner.temp }}
@@ -33,14 +33,14 @@ jobs:
3333
echo "exists=true" >> $GITHUB_OUTPUT
3434
fi
3535
36-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
36+
- uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
3737
if: steps.unzip-patch.outputs.exists == 'true'
3838
id: otelbot-token
3939
with:
4040
app-id: 1295839
4141
private-key: ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY }}
4242

43-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4444
if: steps.unzip-patch.outputs.exists == 'true'
4545
with:
4646
repository: "${{ github.event.workflow_run.head_repository.full_name }}"
@@ -70,6 +70,7 @@ jobs:
7070
if: steps.unzip-patch.outputs.exists == 'true'
7171
run: |
7272
git apply "${{ runner.temp }}/patch"
73+
git add licenses
7374
git commit -a -m "./gradlew ${{ steps.gradle-task.outputs.name }}"
7475
git push
7576

0 commit comments

Comments
 (0)