Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add OpenTelemetry instrumentation for ActiveJ HTTP server #13335

Merged
merged 57 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
b52c49d
Introduces OpenTelemetry instrumentation for the ActiveJ framework, e…
kcsurapaneni Feb 18, 2025
1cc6c5f
Resolved PR comments
kcsurapaneni Feb 18, 2025
b4e8e29
instrumentation name is updated with version
kcsurapaneni Feb 18, 2025
ce368c1
instrumentation name is updated with version
kcsurapaneni Feb 18, 2025
b287f78
instrumentation name is updated with version
kcsurapaneni Feb 18, 2025
e1a29dc
checkstyle config is reverted and added @SuppressWarnings(Abbreviatio…
kcsurapaneni Feb 18, 2025
583e063
renames class files to avoid AbbreviationAsWordInName checkstyle rule
kcsurapaneni Feb 18, 2025
b7aff9d
Test cases are added
kcsurapaneni Feb 19, 2025
b241b45
build script dependencies is updated
kcsurapaneni Feb 19, 2025
1662b23
throwable is now read-only parameter
kcsurapaneni Feb 19, 2025
4fd797f
base version is set to Java 17
kcsurapaneni Feb 19, 2025
7bf1776
PR comments addressed
kcsurapaneni Feb 20, 2025
a07317e
PR comments addressed
kcsurapaneni Feb 20, 2025
d5bb920
spotlessCheck applied
kcsurapaneni Feb 20, 2025
429ad65
PR comments addressed
kcsurapaneni Feb 20, 2025
ac95594
explicitly added test dependencies
kcsurapaneni Feb 20, 2025
5a4d2dd
Resolving common/check-latest-dep-test-overrides issue
kcsurapaneni Feb 20, 2025
c142d7f
fix double instrumentation (#13337)
zeitlinger Feb 18, 2025
c098084
Add comment to workflow file (#13343)
trask Feb 18, 2025
c0b67a3
Better qualify Java HttpClient instrumentation package name (#13296)
trask Feb 18, 2025
4c149bd
Update apidiff baseline to released version 2.13.1 (#13348)
otelbot[bot] Feb 18, 2025
fea36de
Merge change log updates from release/v2.13.x (#13347)
otelbot[bot] Feb 18, 2025
2c31d8f
fix(deps): update gradle develocity packages to v3.19.2 (patch) (#13349)
renovate[bot] Feb 18, 2025
583801e
Fix automated PR body text (#13350)
trask Feb 18, 2025
f6ef942
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-s…
renovate[bot] Feb 19, 2025
bb75dab
fix(deps): update testcontainers-java monorepo to v1.20.5 (patch) (#1…
renovate[bot] Feb 19, 2025
aba23a3
fix(deps): update dependency com.google.apis:google-api-services-shee…
renovate[bot] Feb 20, 2025
5a92938
Fix flaky test (#13358)
laurit Feb 20, 2025
1420a18
Fix testLatestDeps (#13364)
trask Feb 20, 2025
20d00a0
Fix TODO (#13363)
trask Feb 20, 2025
f1cfe0e
integration test case has been added which extends AbstractHttpServer…
kcsurapaneni Feb 21, 2025
0748348
fix(deps): update dependency org.springframework.boot:spring-boot-sta…
renovate[bot] Feb 21, 2025
6ec9373
fix(deps): update dependency org.testcontainers:testcontainers to v1.…
renovate[bot] Feb 21, 2025
37032d2
Merge branch 'main' into activej
laurit Feb 21, 2025
65e6d57
Test cases are updated to use JUnit 5
kcsurapaneni Feb 21, 2025
ad7692a
fix(deps): update dependency org.awaitility:awaitility to v4.3.0 (#13…
renovate[bot] Feb 21, 2025
6f01a1c
Promise response method exit handling logic updated
kcsurapaneni Feb 21, 2025
dc94afa
addressed PR comments
kcsurapaneni Feb 26, 2025
2332b12
fix(deps): update opentelemetry-java-contrib monorepo to v1.44.0-alph…
renovate[bot] Feb 22, 2025
fe1151c
[Spring Scheduling] Support Virtual Threads (#13370)
jakobjoachim Feb 22, 2025
18b3cde
chore(deps): update weekly update (#13381)
renovate[bot] Feb 24, 2025
dfb73d1
fix(deps): update dependency checkstyle to v10.21.3 (#13380)
renovate[bot] Feb 24, 2025
f167d99
fix(deps): update junit5 monorepo to v5.12.0 (minor) (#13372)
renovate[bot] Feb 24, 2025
bf3fe1f
fix(deps): update dependency com.google.auth:google-auth-library-oaut…
renovate[bot] Feb 25, 2025
e802708
fix semconv naming for 'jvm.buffer.memory.used' metric (#13374)
SylvainJuge Feb 25, 2025
f6ee0dc
fix(deps): update dependency com.google.auth:google-auth-library-oaut…
renovate[bot] Feb 25, 2025
036ae0b
chore(deps): update dependency gradle to v8.13 (#13394)
renovate[bot] Feb 25, 2025
148a91a
Ensure tilde$1 onExit is run in correct order (#13360)
masonedmison Feb 26, 2025
2f40b7f
Add instrumentation of AWS Bedrock to use gen_ai conventions (#13355)
anuraaga Feb 26, 2025
483ec98
fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.1…
renovate[bot] Feb 26, 2025
ef5ceec
Merge remote-tracking branch 'origin' into activej
kcsurapaneni Feb 26, 2025
418a259
@laurit PR comments are addressed
kcsurapaneni Feb 26, 2025
81827bc
@laurit PR comments are addressed
kcsurapaneni Feb 26, 2025
87345f0
polish
laurit Feb 26, 2025
9023ad8
reformat table
laurit Feb 26, 2025
99a4c21
only consider 6.0+ classes
kcsurapaneni Feb 26, 2025
7269a0e
supports minimum 6.0 version
kcsurapaneni Feb 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ targets:
- type: gradle
path: ./
target: ':testing:agent-for-testing'
- type: gradle
path: ./
target: ':instrumentation:activej-http-6.0:javaagent'
- type: gradle
path: ./
target: ':instrumentation:alibaba-druid-1.0:javaagent'
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/check-latest-dep-test-overrides.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# all missing version coverage should be documented in supported-libraries.md

if grep -r --include build.gradle.kts latestDepTestLibrary instrumentation \
| grep -v :+\" \
| grep -v -e :+\" -e :latest.release\" \
| grep -v "// see .* module" \
| grep -v "// see test suite below" \
| grep -v "// no longer applicable" \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
fi

- name: Upload agent jar
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: opentelemetry-javaagent.jar
path: javaagent/build/libs/opentelemetry-javaagent-*-SNAPSHOT.jar
Expand All @@ -216,7 +216,7 @@ jobs:
mkdir sboms
cp javaagent/build/spdx/*.spdx.json sboms

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
name: Upload SBOMs
with:
name: opentelemetry-java-instrumentation-SBOM.zip
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:

# vaadin tests use pnpm
- name: Cache pnpm modules
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-test-cache-pnpm-modules
Expand Down Expand Up @@ -347,15 +347,15 @@ jobs:

- name: Upload deadlock detector artifacts if any
if: failure()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}
path: /tmp/deadlock-detector-*
if-no-files-found: ignore

- name: Upload jvm crash dump files if any
if: failure()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: javacore-test-${{ matrix.test-java-version }}-${{ matrix.test-partition }}
path: |
Expand Down Expand Up @@ -419,7 +419,7 @@ jobs:

- name: Upload jvm crash dump files if any
if: failure()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: javacore-smoke-test-${{ matrix.smoke-test-suite }}-${{ matrix.os }}
# we expect crash dumps either in root director or in smoke-tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
cache-read-only: ${{ github.event_name == 'pull_request' }}

- name: Initialize CodeQL
uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
with:
languages: java, actions
# using "latest" helps to keep up with the latest Kotlin support
Expand All @@ -65,4 +65,4 @@ jobs:
run: ./gradlew assemble -x javadoc -x :instrumentation:quarkus-resteasy-reactive:quarkus3-testing:quarkusGenerateCodeDev -x :instrumentation:quarkus-resteasy-reactive:quarkus2-testing:quarkusGenerateCodeDev --no-build-cache --no-daemon

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
6 changes: 3 additions & 3 deletions .github/workflows/ossf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
persist-credentials: false

- uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
- uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -33,7 +33,7 @@ jobs:
# uploads of run results in SARIF format to the repository Actions tab.
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
- name: "Upload artifact"
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: SARIF file
path: results.sarif
Expand All @@ -42,6 +42,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/owasp-dependency-check-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Upload report
if: always()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
path: javaagent/build/reports

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-petclinic-benchmark-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: echo "TS=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV

- name: Push to GitHub packages
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0
with:
push: true
file: benchmark-overhead/Dockerfile.petclinic
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
cp javaagent/build/spdx/*.spdx.json sboms
zip opentelemetry-java-instrumentation-SBOM.zip sboms/*

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
name: Upload SBOMs
with:
name: opentelemetry-java-instrumentation-SBOM
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-test-indy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

# vaadin tests use pnpm
- name: Cache pnpm modules
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-test-latest-cache-pnpm-modules
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-test-latest-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

# vaadin tests use pnpm
- name: Cache pnpm modules
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-test-latest-cache-pnpm-modules
Expand Down Expand Up @@ -114,15 +114,15 @@ jobs:

- name: Upload deadlock detector artifacts if any
if: failure()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: deadlock-detector-test-latest-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}
path: /tmp/deadlock-detector-*
if-no-files-found: ignore

- name: Upload jvm crash dump files if any
if: failure()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: javacore-test-latest-${{ matrix.test-java-version }}-${{ matrix.test-partition }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion benchmark-overhead/Dockerfile.petclinic
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN git checkout 8aa4d49
RUN ./mvnw package -Dmaven.test.skip=true
RUN cp target/spring-petclinic-rest*.jar /app/spring-petclinic-rest.jar

FROM bellsoft/liberica-openjdk-alpine:21.0.6@sha256:fab34f9e4ff5676582c2ed7d23f9a3a63cf7da0b2f9b5285885b849a88862aaf
FROM bellsoft/liberica-openjdk-alpine:21.0.6@sha256:5f23f8082baea518a1657b420dbe19c181483255209b70af836543d6068fed8c
COPY --from=app-build /app/spring-petclinic-rest.jar /app/spring-petclinic-rest.jar
WORKDIR /app
EXPOSE 9966
Expand Down
2 changes: 1 addition & 1 deletion benchmark-overhead/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repositories {
}

dependencies {
implementation(enforcedPlatform("org.junit:junit-bom:5.11.4"))
implementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))

testImplementation("org.testcontainers:testcontainers:1.20.5")
testImplementation("org.testcontainers:postgresql:1.20.5")
Expand Down
Binary file modified benchmark-overhead/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions benchmark-overhead/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
distributionSha256Sum=20f1b1176237254a6fc204d8434196fa11a4cfb387567519c61556e8710aed78
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion benchmark-overhead/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ fi
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
Expand Down
2 changes: 1 addition & 1 deletion conventions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ dependencies {
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.2.0")
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.6")

testImplementation(enforcedPlatform("org.junit:junit-bom:5.11.4"))
testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.assertj:assertj-core:3.27.3")
Expand Down
5 changes: 3 additions & 2 deletions conventions/src/main/kotlin/otel.java-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,10 @@ tasks.withType<Test>().configureEach {
val trustStore = project(":testing-common").file("src/misc/testing-keystore.p12")
// Work around payara not working when this is set for some reason.
// Don't set for:
// - aws-sdk as we have tests that interact with AWS and need normal trustStore
// - camel as we have tests that interact with AWS and need normal trustStore
// - vaadin as tests need to be able to download nodejs when not cached in ~/.vaadin/
if (project.name != "jaxrs-2.0-payara-testing" && !project.path.contains("vaadin") && project.description != "camel-2-20") {
if (project.name != "jaxrs-2.0-payara-testing" && !project.path.contains("vaadin") && project.description != "camel-2-20" && !project.path.contains("aws-sdk")) {
jvmArgumentProviders.add(KeystoreArgumentsProvider(trustStore))
}

Expand Down Expand Up @@ -430,7 +431,7 @@ codenarc {
checkstyle {
configFile = rootProject.file("buildscripts/checkstyle.xml")
// this version should match the version of google_checks.xml used as basis for above configuration
toolVersion = "10.21.2"
toolVersion = "10.21.3"
maxWarnings = 0
}

Expand Down
6 changes: 3 additions & 3 deletions dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data class DependencySet(val group: String, val version: String, val modules: Li

// this line is managed by .github/scripts/update-sdk-version.sh
val otelSdkVersion = "1.47.0"
val otelContribVersion = "1.43.0-alpha"
val otelContribVersion = "1.44.0-alpha"
val otelSdkAlphaVersion = otelSdkVersion.replaceFirst("(-SNAPSHOT)?$".toRegex(), "-alpha$1")

// Need both BOM and groovy jars
Expand Down Expand Up @@ -81,7 +81,7 @@ val CORE_DEPENDENCIES = listOf(
// There are dependencies included here that appear to have no usages, but are maintained at
// this top level to help consistently satisfy large numbers of transitive dependencies.
val DEPENDENCIES = listOf(
"org.junit.jupiter:junit-jupiter-api:5.11.4",
"org.junit.jupiter:junit-jupiter-api:5.12.0",
"org.spockframework:spock-core:2.4-M5-groovy-4.0",
"org.spockframework:spock-junit4:2.4-M5-groovy-4.0",

Expand Down Expand Up @@ -109,7 +109,7 @@ val DEPENDENCIES = listOf(
"io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha",
"io.opentelemetry:opentelemetry-extension-annotations:1.18.0", // deprecated, no longer part of bom
"org.assertj:assertj-core:3.27.3",
"org.awaitility:awaitility:4.2.2",
"org.awaitility:awaitility:4.3.0",
"com.google.code.findbugs:annotations:3.0.1u2",
"com.google.code.findbugs:jsr305:3.0.2",
"org.apache.groovy:groovy:${groovyVersion}",
Expand Down
1 change: 1 addition & 0 deletions docs/supported-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ These are the supported libraries and frameworks:

| Library/Framework | Auto-instrumented versions | Standalone Library Instrumentation [1] | Semantic Conventions |
|---------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| [ActiveJ](https://activej.io/) | 6.0+ | N/A | [HTTP Server Spans] |
| [Akka Actors](https://doc.akka.io/docs/akka/current/typed/index.html) | 2.3+ | N/A | Context propagation |
| [Akka HTTP](https://doc.akka.io/docs/akka-http/current/index.html) | 10.0+ | N/A | [HTTP Client Spans], [HTTP Client Metrics], [HTTP Server Spans], [HTTP Server Metrics], Provides `http.route` [2] |
| [Alibaba Druid](https://github.com/alibaba/druid) | 1.0+ | [opentelemetry-alibaba-druid-1.0](../instrumentation/alibaba-druid-1.0/library) | [Database Pool Metrics] |
Expand Down
11 changes: 6 additions & 5 deletions examples/distro/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ subprojects {
opentelemetryJavaagent : "2.14.0-SNAPSHOT",
opentelemetryJavaagentAlpha: "2.14.0-alpha-SNAPSHOT",

autoservice : "1.1.1",
junit : "5.11.4"
autoservice : "1.1.1"
]

deps = [
Expand Down Expand Up @@ -69,9 +68,11 @@ subprojects {
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions.opentelemetryJavaagentAlpha}"))

testImplementation("org.mockito:mockito-core:5.15.2")
testImplementation(enforcedPlatform("org.junit:junit-bom:${versions.junit}"))
testImplementation("org.junit.jupiter:junit-jupiter-api:${versions.junit}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${versions.junit}")

testImplementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks {
Expand Down
Binary file modified examples/distro/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/distro/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
distributionSha256Sum=20f1b1176237254a6fc204d8434196fa11a4cfb387567519c61556e8710aed78
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion examples/distro/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ fi
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
Expand Down
2 changes: 1 addition & 1 deletion examples/distro/smoke-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha")
testImplementation("io.opentelemetry:opentelemetry-api")

testImplementation("ch.qos.logback:logback-classic:1.5.16")
testImplementation("ch.qos.logback:logback-classic:1.5.17")
}

tasks.test {
Expand Down
Loading
Loading