Skip to content

Commit c0076c2

Browse files
committed
Merge branch 'main' into feature/logstash-markers
2 parents 7a4e388 + 805ce0a commit c0076c2

File tree

394 files changed

+9065
-7018
lines changed

Some content is hidden

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

394 files changed

+9065
-7018
lines changed

.github/renovate.json5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"groupName": "quarkus packages"
4747
},
4848
{
49-
"matchPackagePrefixes": ["com.gradle.enterprise"],
50-
"groupName": "gradle enterprise packages"
49+
"matchPackagePrefixes": ["com.gradle.develocity"],
50+
"groupName": "gradle develocity packages"
5151
},
5252
{
5353
"matchPackagePrefixes": ["org.eclipse.jetty:"],

.github/workflows/codeql-daily.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
java-version-file: .java-version
3131

3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
33+
uses: github/codeql-action/init@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
3434
with:
3535
languages: java
3636
# using "latest" helps to keep up with the latest Kotlin support
@@ -45,7 +45,7 @@ jobs:
4545
run: ./gradlew assemble -x javadoc --no-build-cache --no-daemon
4646

4747
- name: Perform CodeQL analysis
48-
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
48+
uses: github/codeql-action/analyze@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
4949

5050
workflow-notification:
5151
needs:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ jobs:
249249
run: .github/scripts/use-cla-approved-github-bot.sh
250250

251251
- name: Wait for release to be available in maven central
252+
env:
253+
VERSION: ${{ needs.release.outputs.version }}
252254
run: |
253255
until curl --silent \
254256
--show-error \

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ jobs:
6464

6565
# Upload the results to GitHub's code scanning dashboard.
6666
- name: "Upload to code-scanning"
67-
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
67+
uses: github/codeql-action/upload-sarif@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
6868
with:
6969
sarif_file: results.sarif

CHANGELOG.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,59 @@
22

33
## Unreleased
44

5+
## Version 2.10.0 (2024-11-13)
6+
7+
### 🌟 New javaagent instrumentation
8+
9+
- Ktor 3 instrumentation
10+
([#12562](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12562))
11+
12+
### 🌟 New library instrumentation
13+
14+
- Ktor 3 instrumentation
15+
([#12562](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12562))
16+
17+
### Migration notes
18+
19+
- Spring Boot Starter Scheduling instrumentation scope name changed from
20+
`io.opentelemetry.spring-scheduling-3.1` to `io.opentelemetry.spring-boot-autoconfigure`
21+
to reflect the module's name.
22+
- Default flush timeout for aws lambda javaagent instrumentation changed from 1 second
23+
to 10 seconds to match the flush timeout used in the aws lambda library instrumentation.
24+
([#12576](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12576))
25+
26+
### 📈 Enhancements
27+
28+
- Delegate loading of java package to platform loader
29+
([#12505](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12505))
30+
- Set up virtual field transforms before otel sdk is initialized
31+
([#12444](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12444))
532
- Update azure-core-tracing-opentelemetry version and improve HTTP suppression to back off
6-
when Azure SDK tracing was disabled.
33+
when Azure SDK tracing is disabled.
734
([#12489](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12489))
35+
- Ktor2 http client uses low level instrumentation
36+
([#12530](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12530))
37+
- Add logback mdc instrumentation to spring boot starter
38+
([#12515](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12515))
39+
- Run class load listener only once
40+
([#12565](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12565))
41+
- Remove duplicate byte buddy classes to reduce agent jar file size
42+
([#12571](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12571))
43+
- Support additional JVM arg syntax in service name resource detector
44+
([#12544](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12544))
45+
46+
### 🛠️ Bug fixes
47+
48+
- Fix derby directory connection string parser
49+
([#12479](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12479))
50+
- Improve whitespace handling in oracle jdbc url parser
51+
([#12512](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12512))
52+
- Fix SpanKey bridging for unbridgeable span
53+
([#12511](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12511))
54+
- Fix lettuce instrumentation and tests to pass against latest version
55+
([#12552](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12552))
56+
- Fix Kafka initialization occasionally failed due to concurrent injection of OpenTelemetryMetricsReporter
57+
([#12583](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12583))
858

959
## Version 2.9.0 (2024-10-17)
1060

benchmark-overhead/src/test/java/io/opentelemetry/containers/K6Container.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public K6Container(
3535

3636
public GenericContainer<?> build() {
3737
String k6OutputFile = namingConventions.container.k6Results(agent);
38-
return new GenericContainer<>(DockerImageName.parse("loadimpact/k6"))
38+
return new GenericContainer<>(DockerImageName.parse("grafana/k6"))
3939
.withNetwork(network)
4040
.withNetworkAliases("k6")
4141
.withLogConsumer(new Slf4jLogConsumer(logger))

conventions/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959
implementation("gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.18")
6060
implementation("com.gradleup.shadow:shadow-gradle-plugin:8.3.5")
6161
implementation("org.apache.httpcomponents:httpclient:4.5.14")
62-
implementation("com.gradle.develocity:com.gradle.develocity.gradle.plugin:3.18.1")
62+
implementation("com.gradle.develocity:com.gradle.develocity.gradle.plugin:3.18.2")
6363
implementation("org.owasp:dependency-check-gradle:11.1.0")
6464
implementation("ru.vyarus:gradle-animalsniffer-plugin:1.7.1")
6565
implementation("org.spdx:spdx-gradle-plugin:0.8.0")
@@ -69,7 +69,7 @@ dependencies {
6969
implementation("me.champeau.jmh:jmh-gradle-plugin:0.7.2")
7070
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.1.0")
7171
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.1.0")
72-
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.4")
72+
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.5")
7373

7474
testImplementation(enforcedPlatform("org.junit:junit-bom:5.11.3"))
7575
testImplementation("org.junit.jupiter:junit-jupiter-api")

conventions/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ abstract class NettyAlignmentRule : ComponentMetadataRule {
143143
with(ctx.details) {
144144
if (id.group == "io.netty" && id.name != "netty") {
145145
if (id.version.startsWith("4.1.")) {
146-
belongsTo("io.netty:netty-bom:4.1.114.Final", false)
146+
belongsTo("io.netty:netty-bom:4.1.115.Final", false)
147147
} else if (id.version.startsWith("4.0.")) {
148148
belongsTo("io.netty:netty-bom:4.0.56.Final", false)
149149
}
@@ -161,7 +161,7 @@ dependencies {
161161
compileOnly("com.google.errorprone:error_prone_annotations")
162162

163163
codenarc("org.codenarc:CodeNarc:3.5.0")
164-
codenarc(platform("org.codehaus.groovy:groovy-bom:3.0.22"))
164+
codenarc(platform("org.codehaus.groovy:groovy-bom:3.0.23"))
165165

166166
modules {
167167
// checkstyle uses the very old google-collections which causes Java 9 module conflict with
@@ -434,7 +434,7 @@ codenarc {
434434
checkstyle {
435435
configFile = rootProject.file("buildscripts/checkstyle.xml")
436436
// this version should match the version of google_checks.xml used as basis for above configuration
437-
toolVersion = "10.20.0"
437+
toolVersion = "10.20.1"
438438
maxWarnings = 0
439439
}
440440

dependencyManagement/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ val dependencyVersions = hashMapOf<String, String>()
88
rootProject.extra["versions"] = dependencyVersions
99

1010
// this line is managed by .github/scripts/update-sdk-version.sh
11-
val otelSdkVersion = "1.43.0"
11+
val otelSdkVersion = "1.44.1"
1212
val otelContribVersion = "1.40.0-alpha"
1313
val otelSdkAlphaVersion = otelSdkVersion.replaceFirst("(-SNAPSHOT)?$".toRegex(), "-alpha$1")
1414

1515
// Need both BOM and groovy jars
16-
val groovyVersion = "4.0.23"
16+
val groovyVersion = "4.0.24"
1717

1818
// We don't force libraries we instrument to new versions since we compile and test against specific
1919
// old baseline versions but we do try to force those libraries' transitive dependencies to new
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Comparing source compatibility of opentelemetry-instrumentation-annotations-2.10.0-SNAPSHOT.jar against opentelemetry-instrumentation-annotations-2.9.0.jar
1+
Comparing source compatibility of opentelemetry-instrumentation-annotations-2.11.0-SNAPSHOT.jar against opentelemetry-instrumentation-annotations-2.10.0.jar
22
No changes.

0 commit comments

Comments
 (0)