Skip to content

Commit d785e7e

Browse files
authored
Merge branch 'main' into add-checksum
2 parents ba91449 + 448d680 commit d785e7e

File tree

149 files changed

+14942
-2554
lines changed

Some content is hidden

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

149 files changed

+14942
-2554
lines changed

.github/patches/opentelemetry-java-instrumentation.patch

Lines changed: 232 additions & 2050 deletions
Large diffs are not rendered by default.

.github/patches/versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
OTEL_JAVA_INSTRUMENTATION_VERSION=v1.32.1
1+
OTEL_JAVA_INSTRUMENTATION_VERSION=v1.33.6

.github/workflows/main-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
fetch-depth: 0
195195
- uses: actions/setup-java@v4
196196
with:
197-
java-version: 17
197+
java-version: 21
198198
distribution: 'temurin'
199199
- uses: gradle/wrapper-validation-action@v1
200200

@@ -219,7 +219,7 @@ jobs:
219219
key: ${{ runner.os }}-maven-local-${{ hashFiles('.github/patches/opentelemetry-java*.patch') }}
220220

221221
- name: Pull base image of Contract Tests Sample Apps
222-
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine
222+
run: docker pull public.ecr.aws/docker/library/amazoncorretto:21-alpine
223223

224224
- name: Build snapshot with Gradle
225225
uses: gradle/gradle-build-action@v3

.github/workflows/nightly-upstream-snapshot-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
fetch-depth: 0
121121
- uses: actions/setup-java@v4
122122
with:
123-
java-version: 17
123+
java-version: 21
124124
distribution: 'temurin'
125125
- uses: gradle/wrapper-validation-action@v1
126126

@@ -136,7 +136,7 @@ jobs:
136136
registry: public.ecr.aws
137137

138138
- name: Pull base image of Contract Tests Sample Apps
139-
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine
139+
run: docker pull public.ecr.aws/docker/library/amazoncorretto:21-alpine
140140

141141
- name: Build snapshot with Gradle
142142
uses: gradle/gradle-build-action@v3

.github/workflows/owasp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ jobs:
7777
id: high_scan
7878
uses: ./.github/actions/image_scan
7979
with:
80-
image-ref: "public.ecr.aws/aws-observability/adot-autoinstrumentation-java:v1.32.5"
80+
image-ref: "public.ecr.aws/aws-observability/adot-autoinstrumentation-java:v1.32.6"
8181
severity: 'CRITICAL,HIGH'
8282

8383
- name: Perform low image scan
8484
if: always()
8585
id: low_scan
8686
uses: ./.github/actions/image_scan
8787
with:
88-
image-ref: "public.ecr.aws/aws-observability/adot-autoinstrumentation-java:v1.32.5"
88+
image-ref: "public.ecr.aws/aws-observability/adot-autoinstrumentation-java:v1.32.6"
8989
severity: 'MEDIUM,LOW,UNKNOWN'
9090

9191
- name: Configure AWS Credentials for emitting metrics

.github/workflows/pr-build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,28 @@ jobs:
8181
with:
8282
arguments: build integrationTests --stacktrace -PenableCoverage=true -PlocalDocker=true
8383

84+
- name: Set up Java version for tests
85+
uses: actions/setup-java@v4
86+
with:
87+
java-version: 21
88+
distribution: temurin
89+
8490
- name: Pull base image of Contract Tests Sample Apps
8591
if: ${{ matrix.os == 'ubuntu-latest' }}
86-
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine
92+
run: docker pull public.ecr.aws/docker/library/amazoncorretto:21-alpine
8793

8894
- name: Run contract tests
8995
uses: gradle/gradle-build-action@v3
9096
if: ${{ matrix.os == 'ubuntu-latest' }}
9197
with:
9298
arguments: contractTests -PlocalDocker=true -i
9399

100+
- name: Set up Java version for image build
101+
uses: actions/setup-java@v4
102+
with:
103+
java-version: 17
104+
distribution: temurin
105+
94106
- name: Get current version
95107
if: ${{ matrix.os == 'ubuntu-latest' }}
96108
shell: bash

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# permissions and limitations under the License.
1414

1515
# Stage 1: Build the cp-utility binary
16-
FROM public.ecr.aws/docker/library/rust:1.75 as builder
16+
FROM public.ecr.aws/docker/library/rust:1.82 as builder
1717

1818
WORKDIR /usr/src/cp-utility
1919
COPY ./tools/cp-utility .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This configuration includes being able to reconfigure the [IdsGenerator](https:/
2929
which we need to support X-Ray compatible trace IDs. Because the SDK uses SPI, it is sufficient for
3030
the custom implementation to be on the classpath to be recognized. The AWS distribution of the
3131
OpenTelemetry Java Agent repackages the upstream agent by simply adding our SPI implementation for
32-
reconfiguring the ID generator. In addition, it includes [AWS resource providers](https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/aws/src/main/java/io/opentelemetry/sdk/extension/aws/resource)
32+
reconfiguring the ID generator. In addition, it includes [AWS resource providers](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/aws-resources/src/main/java/io/opentelemetry/contrib/aws/resource)
3333
by default, and it sets a system property to configure the agent to use multiple trace ID propagators,
3434
defaulting to maximum interoperability.
3535

0 commit comments

Comments
 (0)