Skip to content

Commit e751076

Browse files
committed
Merge branch 'main' of github.com:open-telemetry/opentelemetry-java-instrumentation into indy-mongo
2 parents 176d09b + 5ff365f commit e751076

File tree

23 files changed

+334
-166
lines changed

23 files changed

+334
-166
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,63 @@
22

33
## Unreleased
44

5+
## Version 2.20.0 (2025-09-13)
6+
57
### Migration notes
68

79
- The configuration option used to enable traces generated by the `dropwizard-views` instrumentation has changed from `otel.instrumentation.common.experimental.controller-telemetry.enabled` to `otel.instrumentation.common.experimental.view-telemetry.enabled`
810
([#14475](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14475))
11+
- Deprecated (and `-alpha`) SpanNames class was removed
12+
([#14582](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14582))
13+
14+
### 🌟 New javaagent instrumentation
15+
16+
- Add ClickHouse client v2 instrumentation
17+
([#14501](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14501))
18+
19+
### 📈 Enhancements
20+
21+
- Add code attributes for log4j1
22+
([#13947](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13947))
23+
- Add headers capture feature to Kafka 2.6 interceptors
24+
([#14290](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14290))
25+
- Support custom exception handling from logger instrumentation
26+
([#14493](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14493))
27+
- Add call depth check to executor instrumentation
28+
([#14546](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14546))
29+
- Add Spring starter thread details support
30+
([#14449](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14449))
31+
- Let AWS Lambda SQS handlers report partial batch failures
32+
([#14468](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14468))
33+
- Instrument instrumentation suppression API
34+
([#14565](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14565))
35+
- Declarative config: update file version support
36+
([#14593](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14593))
37+
- Add `url.template` support to Spring 6 RestTemplate
38+
([#14612](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14612))
39+
- Declarative config: add missing resource providers
40+
([#14222](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14222))
41+
- Declarative config: map common-enabled property
42+
([#14589](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14589))
43+
44+
### 🛠️ Bug fixes
45+
46+
- Fix non-lowercase messaging headers capture
47+
([#14479](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14479))
48+
- Fix JUL logger methods parameter mismatch
49+
([#14531](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14531))
50+
- Fix a test failure with latest Mongo release
51+
([#14642](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14642))
52+
53+
### 🧰 Tooling
54+
55+
- Add constructor to AgentClassLoader for custom parent ClassLoader
56+
([#14480](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14480))
57+
- Declarative config: make bridge usable by Spring starter and contrib
58+
([#14497](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14497),
59+
[#14548](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14548))
60+
- Reduce log level for main jar detection
61+
([#14528](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14528))
962

1063
## Version 2.19.0 (2025-08-17)
1164

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.20.0-SNAPSHOT.jar against opentelemetry-instrumentation-annotations-2.19.0.jar
1+
Comparing source compatibility of opentelemetry-instrumentation-annotations-2.21.0-SNAPSHOT.jar against opentelemetry-instrumentation-annotations-2.19.0.jar
22
No changes.
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-api-2.20.0-SNAPSHOT.jar against opentelemetry-instrumentation-api-2.19.0.jar
1+
Comparing source compatibility of opentelemetry-instrumentation-api-2.21.0-SNAPSHOT.jar against opentelemetry-instrumentation-api-2.19.0.jar
22
No changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Comparing source compatibility of opentelemetry-spring-boot-autoconfigure-2.20.0-SNAPSHOT.jar against opentelemetry-spring-boot-autoconfigure-2.19.0.jar
1+
Comparing source compatibility of opentelemetry-spring-boot-autoconfigure-2.21.0-SNAPSHOT.jar against opentelemetry-spring-boot-autoconfigure-2.19.0.jar
22
No changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Comparing source compatibility of opentelemetry-spring-boot-starter-2.20.0-SNAPSHOT.jar against opentelemetry-spring-boot-starter-2.19.0.jar
1+
Comparing source compatibility of opentelemetry-spring-boot-starter-2.21.0-SNAPSHOT.jar against opentelemetry-spring-boot-starter-2.19.0.jar
22
No changes.

docs/instrumentation-list.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
libraries:
66
activej:
77
- name: activej-http-6.0
8+
display_name: ActiveJ
89
description: This instrumentation enables HTTP server spans and HTTP server metrics
910
for the ActiveJ HTTP server.
1011
library_link: https://activej.io/
@@ -60,6 +61,7 @@ libraries:
6061
type: STRING
6162
akka:
6263
- name: akka-actor-2.3
64+
display_name: Akka Actors
6365
description: This instrumentation provides context propagation for Akka actors,
6466
it does not emit any telemetry on its own.
6567
library_link: https://doc.akka.io/libraries/akka-core/current/typed/index.html
@@ -72,6 +74,7 @@ libraries:
7274
- com.typesafe.akka:akka-actor_2.12:[2.3,)
7375
- com.typesafe.akka:akka-actor_2.13:[2.3,)
7476
- name: akka-actor-fork-join-2.5
77+
display_name: Akka Actors
7578
description: This instrumentation provides context propagation for the Akka Fork-Join
7679
Pool, it does not emit any telemetry on its own.
7780
library_link: https://doc.akka.io/libraries/akka-core/current/typed/index.html
@@ -84,6 +87,7 @@ libraries:
8487
- com.typesafe.akka:akka-actor_2.13:[2.5.23,2.6)
8588
- com.typesafe.akka:akka-actor_2.11:[2.5,)
8689
- name: akka-http-10.0
90+
display_name: Akka HTTP
8791
description: |
8892
This instrumentation enables HTTP client spans and metrics for the Akka HTTP client, and HTTP server spans and metrics for the Akka HTTP server.
8993
library_link: https://doc.akka.io/docs/akka-http/current/index.html

examples/distro/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ buildscript {
1414
dependencies {
1515
classpath "com.diffplug.spotless:spotless-plugin-gradle:7.2.1"
1616
classpath "com.gradleup.shadow:shadow-gradle-plugin:9.1.0"
17-
classpath "io.opentelemetry.instrumentation:gradle-plugins:2.20.0-alpha-SNAPSHOT"
17+
classpath "io.opentelemetry.instrumentation:gradle-plugins:2.21.0-alpha-SNAPSHOT"
1818
}
1919
}
2020

@@ -30,8 +30,8 @@ subprojects {
3030
opentelemetrySdk : "1.54.0",
3131

3232
// these lines are managed by .github/scripts/update-version.sh
33-
opentelemetryJavaagent : "2.20.0-SNAPSHOT",
34-
opentelemetryJavaagentAlpha: "2.20.0-alpha-SNAPSHOT",
33+
opentelemetryJavaagent : "2.21.0-SNAPSHOT",
34+
opentelemetryJavaagentAlpha: "2.21.0-alpha-SNAPSHOT",
3535

3636
autoservice : "1.1.1"
3737
]

examples/extension/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ plugins {
1313
id "com.gradleup.shadow" version "9.1.0"
1414
id "com.diffplug.spotless" version "7.2.1"
1515

16-
id "io.opentelemetry.instrumentation.muzzle-generation" version "2.20.0-alpha-SNAPSHOT"
17-
id "io.opentelemetry.instrumentation.muzzle-check" version "2.20.0-alpha-SNAPSHOT"
16+
id "io.opentelemetry.instrumentation.muzzle-generation" version "2.21.0-alpha-SNAPSHOT"
17+
id "io.opentelemetry.instrumentation.muzzle-check" version "2.21.0-alpha-SNAPSHOT"
1818
}
1919

2020
group 'io.opentelemetry.example'
@@ -26,8 +26,8 @@ ext {
2626
opentelemetrySdk : "1.54.0",
2727

2828
// these lines are managed by .github/scripts/update-version.sh
29-
opentelemetryJavaagent : "2.20.0-SNAPSHOT",
30-
opentelemetryJavaagentAlpha: "2.20.0-alpha-SNAPSHOT"
29+
opentelemetryJavaagent : "2.21.0-SNAPSHOT",
30+
opentelemetryJavaagentAlpha: "2.21.0-alpha-SNAPSHOT"
3131
]
3232

3333
deps = [

instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/InstrumentationAnalyzer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import com.fasterxml.jackson.core.JsonProcessingException;
99
import com.fasterxml.jackson.databind.exc.MismatchedInputException;
1010
import com.fasterxml.jackson.databind.exc.ValueInstantiationException;
11-
import io.opentelemetry.instrumentation.docs.internal.InstrumentationMetaData;
11+
import io.opentelemetry.instrumentation.docs.internal.InstrumentationMetadata;
1212
import io.opentelemetry.instrumentation.docs.internal.InstrumentationModule;
1313
import io.opentelemetry.instrumentation.docs.internal.InstrumentationType;
1414
import io.opentelemetry.instrumentation.docs.parsers.GradleParser;
@@ -58,7 +58,7 @@ public List<InstrumentationModule> analyze() throws IOException {
5858
}
5959

6060
private void enrichModule(InstrumentationModule module) throws IOException {
61-
InstrumentationMetaData metaData = getMetadata(module);
61+
InstrumentationMetadata metaData = getMetadata(module);
6262
if (metaData != null) {
6363
module.setMetadata(metaData);
6464
}
@@ -69,7 +69,7 @@ private void enrichModule(InstrumentationModule module) throws IOException {
6969
}
7070

7171
@Nullable
72-
private InstrumentationMetaData getMetadata(InstrumentationModule module)
72+
private InstrumentationMetadata getMetadata(InstrumentationModule module)
7373
throws JsonProcessingException {
7474
String metadataFile = fileManager.getMetaDataFile(module.getSrcPath());
7575
if (metadataFile == null) {

instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/internal/InstrumentationMetaData.java

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)