Skip to content

Commit d7e7a49

Browse files
authored
Prepare release 2.23.0 (#2566)
1 parent 5af26e7 commit d7e7a49

File tree

8 files changed

+64
-30
lines changed

8 files changed

+64
-30
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ and this repository adheres to [Semantic Versioning](https://semver.org/spec/v2.
88

99
## Unreleased
1010

11+
## v2.23.0 - 2025-12-18
12+
13+
### General
14+
15+
- OpenTelemetry Java SDK has been updated to version 1.57.0.
16+
- OpenTelemetry Instrumentation for Java has been updated to version 2.23.0.
17+
1118
## v2.22.0 - 2025-11-27
1219

1320
### General

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ for details.
1717

1818
<p align="center">
1919
<img alt="Stable" src="https://img.shields.io/badge/status-stable-informational?style=for-the-badge">
20-
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.22.0">
21-
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-2.22.0-blueviolet?style=for-the-badge">
20+
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.23.0">
21+
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-2.23.0-blueviolet?style=for-the-badge">
2222
</a>
2323
<a href="https://github.com/signalfx/gdi-specification/releases/tag/v1.7.0">
2424
<img alt="Splunk GDI specification" src="https://img.shields.io/badge/GDI-1.7.0-blueviolet?style=for-the-badge">
@@ -76,11 +76,6 @@ see [Migrate from the SignalFx Java Agent](https://help.splunk.com/en/splunk-obs
7676

7777
<!-- Comments, spacing, empty and new lines in the section below are intentional, please do not modify them! -->
7878
<!--DEV_DOCS_WARNING-->
79-
<!--DEV_DOCS_WARNING_START-->
80-
The following documentation refers to the in-development version of `splunk-otel-java`. Docs for the latest version ([v2.22.0](https://github.com/signalfx/splunk-otel-java/releases/latest)) can be found [here](https://github.com/signalfx/splunk-otel-java/blob/v2.22.0/README.md).
81-
82-
---
83-
<!--DEV_DOCS_WARNING_END-->
8479

8580
## Requirements
8681

@@ -112,11 +107,11 @@ To extend the instrumentation with the OpenTelemetry Instrumentation for Java,
112107
you have to use a compatible API version.
113108

114109
<!-- IMPORTANT: do not change comments or break those lines below -->
115-
The Splunk Distribution of OpenTelemetry Java version <!--SPLUNK_VERSION-->2.22.0<!--SPLUNK_VERSION--> is compatible
110+
The Splunk Distribution of OpenTelemetry Java version <!--SPLUNK_VERSION-->2.23.0<!--SPLUNK_VERSION--> is compatible
116111
with:
117112

118-
* OpenTelemetry API version <!--OTEL_VERSION-->1.56.0<!--OTEL_VERSION-->
119-
* OpenTelemetry Instrumentation for Java version <!--OTEL_INSTRUMENTATION_VERSION-->2.22.0<!--OTEL_INSTRUMENTATION_VERSION-->
113+
* OpenTelemetry API version <!--OTEL_VERSION-->1.57.0<!--OTEL_VERSION-->
114+
* OpenTelemetry Instrumentation for Java version <!--OTEL_INSTRUMENTATION_VERSION-->2.23.0<!--OTEL_INSTRUMENTATION_VERSION-->
120115

121116
## Snapshot builds
122117

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies {
4141
implementation(gradleApi())
4242

4343
implementation("com.diffplug.spotless:spotless-plugin-gradle:8.1.0")
44-
implementation("io.opentelemetry.instrumentation:gradle-plugins:2.22.0-alpha")
44+
implementation("io.opentelemetry.instrumentation:gradle-plugins:2.23.0-alpha")
4545

4646
// keep these versions in sync with settings.gradle.kts
4747
implementation("com.gradleup.shadow:shadow-gradle-plugin:9.3.0")

dependencyManagement/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ plugins {
22
`java-platform`
33
}
44

5-
val otelVersion = "1.56.0"
5+
val otelVersion = "1.57.0"
66
val otelAlphaVersion = otelVersion.replaceFirst("(-SNAPSHOT)?$".toRegex(), "-alpha$1")
7-
val otelInstrumentationVersion = "2.22.0"
7+
val otelInstrumentationVersion = "2.23.0"
88
val otelInstrumentationAlphaVersion = otelInstrumentationVersion.replaceFirst("(-SNAPSHOT)?$".toRegex(), "-alpha$1")
99
val otelContribAlphaVersion = "1.52.0-alpha"
1010

deployments/cloudfoundry/buildpack/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you want to use a specific version of the Java agent in your application, you
4040
environment variable before application deployment, either using `cf set-env` or the `manifest.yml` file:
4141

4242
```sh
43-
$ cf set-env SPLUNK_OTEL_JAVA_VERSION 2.22.0
43+
$ cf set-env SPLUNK_OTEL_JAVA_VERSION 2.23.0
4444
```
4545

4646
By default, the [latest](https://github.com/signalfx/splunk-otel-java/releases/latest) available agent version is used.

licenses/licenses.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# splunk-otel-javaagent
33
## Dependency License Report
4-
_2025-12-15 07:57:44 EET_
4+
_2025-12-18 12:57:18 EET_
55
## Apache License, Version 2.0
66

77
**1** **Group:** `com.squareup.okhttp3` **Name:** `okhttp` **Version:** `5.3.2`
@@ -28,55 +28,55 @@ _2025-12-15 07:57:44 EET_
2828
> - **POM Project URL**: [https://github.com/square/wire/](https://github.com/square/wire/)
2929
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
3030
31-
**7** **Group:** `io.opentelemetry` **Name:** `opentelemetry-api` **Version:** `1.56.0`
31+
**7** **Group:** `io.opentelemetry` **Name:** `opentelemetry-api` **Version:** `1.57.0`
3232
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
3333
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
3434
35-
**8** **Group:** `io.opentelemetry` **Name:** `opentelemetry-common` **Version:** `1.56.0`
35+
**8** **Group:** `io.opentelemetry` **Name:** `opentelemetry-common` **Version:** `1.57.0`
3636
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
3737
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
3838
39-
**9** **Group:** `io.opentelemetry` **Name:** `opentelemetry-context` **Version:** `1.56.0`
39+
**9** **Group:** `io.opentelemetry` **Name:** `opentelemetry-context` **Version:** `1.57.0`
4040
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
4141
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
4242
43-
**10** **Group:** `io.opentelemetry` **Name:** `opentelemetry-exporter-common` **Version:** `1.56.0`
43+
**10** **Group:** `io.opentelemetry` **Name:** `opentelemetry-exporter-common` **Version:** `1.57.0`
4444
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
4545
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
4646
47-
**11** **Group:** `io.opentelemetry` **Name:** `opentelemetry-exporter-otlp` **Version:** `1.56.0`
47+
**11** **Group:** `io.opentelemetry` **Name:** `opentelemetry-exporter-otlp` **Version:** `1.57.0`
4848
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
4949
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
5050
51-
**12** **Group:** `io.opentelemetry` **Name:** `opentelemetry-exporter-otlp-common` **Version:** `1.56.0`
51+
**12** **Group:** `io.opentelemetry` **Name:** `opentelemetry-exporter-otlp-common` **Version:** `1.57.0`
5252
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
5353
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
5454
55-
**13** **Group:** `io.opentelemetry` **Name:** `opentelemetry-exporter-sender-okhttp` **Version:** `1.56.0`
55+
**13** **Group:** `io.opentelemetry` **Name:** `opentelemetry-exporter-sender-okhttp` **Version:** `1.57.0`
5656
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
5757
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
5858
59-
**14** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk` **Version:** `1.56.0`
59+
**14** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk` **Version:** `1.57.0`
6060
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
6161
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
6262
63-
**15** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-common` **Version:** `1.56.0`
63+
**15** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-common` **Version:** `1.57.0`
6464
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
6565
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
6666
67-
**16** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-extension-autoconfigure-spi` **Version:** `1.56.0`
67+
**16** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-extension-autoconfigure-spi` **Version:** `1.57.0`
6868
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
6969
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
7070
71-
**17** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-logs` **Version:** `1.56.0`
71+
**17** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-logs` **Version:** `1.57.0`
7272
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
7373
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
7474
75-
**18** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-metrics` **Version:** `1.56.0`
75+
**18** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-metrics` **Version:** `1.57.0`
7676
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
7777
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
7878
79-
**19** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-trace` **Version:** `1.56.0`
79+
**19** **Group:** `io.opentelemetry` **Name:** `opentelemetry-sdk-trace` **Version:** `1.57.0`
8080
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java)
8181
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
8282
@@ -92,7 +92,7 @@ _2025-12-15 07:57:44 EET_
9292
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java-contrib](https://github.com/open-telemetry/opentelemetry-java-contrib)
9393
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
9494
95-
**23** **Group:** `io.opentelemetry.instrumentation` **Name:** `opentelemetry-instrumentation-bom-alpha` **Version:** `2.22.0-alpha`
95+
**23** **Group:** `io.opentelemetry.instrumentation` **Name:** `opentelemetry-instrumentation-bom-alpha` **Version:** `2.23.0-alpha`
9696
> - **POM Project URL**: [https://github.com/open-telemetry/opentelemetry-java-instrumentation](https://github.com/open-telemetry/opentelemetry-java-instrumentation)
9797
> - **POM License**: Apache License, Version 2.0 - [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
9898

metadata-generator/src/main/java/com/splunk/opentelemetry/tools/MetadataGenerator.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,18 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
14381438
SettingType.BOOLEAN,
14391439
SettingCategory.INSTRUMENTATION));
14401440

1441+
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/apache-elasticjob-3.0/README.md
1442+
/*
1443+
| `otel.instrumentation.apache-elasticjob.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
1444+
*/
1445+
settings.add(
1446+
setting(
1447+
"otel.instrumentation.apache-elasticjob.experimental-span-attributes",
1448+
"Enable the capture of experimental span attributes.",
1449+
"false",
1450+
SettingType.BOOLEAN,
1451+
SettingCategory.INSTRUMENTATION));
1452+
14411453
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/apache-shenyu-2.4/README.md
14421454
/*
14431455
| `otel.instrumentation.apache-shenyu.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
@@ -1486,6 +1498,7 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
14861498
/*
14871499
| `otel.instrumentation.graphql.query-sanitizer.enabled` | Boolean | `true` | Whether to remove sensitive information from query source that is added as span attribute. |
14881500
| `otel.instrumentation.graphql.add-operation-name-to-span-name.enabled` | Boolean | `false` | Whether GraphQL operation name is added to the span name. <p>**WARNING**: GraphQL operation name is provided by the client and can have high cardinality. Use only when the server is not exposed to malicious clients. |
1501+
| `otel.instrumentation.graphql.capture-query` | Boolean | `true` | Whether to capture the query in `graphql.document` span attribute. |
14891502
*/
14901503
// graphql 20
14911504
/*
@@ -1506,6 +1519,13 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
15061519
"false",
15071520
SettingType.BOOLEAN,
15081521
SettingCategory.INSTRUMENTATION));
1522+
settings.add(
1523+
setting(
1524+
"otel.instrumentation.graphql.capture-query",
1525+
"Whether to capture the query in `graphql.document` span attribute.",
1526+
"true",
1527+
SettingType.BOOLEAN,
1528+
SettingCategory.INSTRUMENTATION));
15091529
settings.add(
15101530
setting(
15111531
"otel.instrumentation.graphql.data-fetcher.enabled",
@@ -2221,6 +2241,7 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
22212241
/*
22222242
| `otel.instrumentation.servlet.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
22232243
| `otel.instrumentation.servlet.experimental.capture-request-parameters` | List | Empty | Request parameters to be captured (experimental). |
2244+
| `otel.instrumentation.servlet.experimental.add-trace-id-request-attribute` | Boolean | `true` | Add `trace_id` and `span_id` as request attributes. |
22242245
*/
22252246
settings.add(
22262247
setting(
@@ -2231,6 +2252,13 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
22312252
SettingCategory.INSTRUMENTATION));
22322253
// otel.instrumentation.servlet.experimental.capture-request-parameters is already added
22332254
// elsewhere
2255+
settings.add(
2256+
setting(
2257+
"`otel.instrumentation.servlet.experimental.add-trace-id-request-attribute",
2258+
"Add `trace_id` and `span_id` as request attributes.",
2259+
"true",
2260+
SettingType.BOOLEAN,
2261+
SettingCategory.INSTRUMENTATION));
22342262

22352263
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/spring/README.md
22362264
/*
@@ -2455,6 +2483,10 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
24552483
.rpcClientMetrics(false)
24562484
.rpcServerMetrics(false)
24572485
.build());
2486+
instrumentations.add(
2487+
instrumentation("apache-elasticjob")
2488+
.component("Apache ElasticJob", "3.0 and higher")
2489+
.build());
24582490
instrumentations.add(
24592491
instrumentation("apache-httpasyncclient")
24602492
.component("Apache HttpAsyncClient", "4.1 and higher")

version.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// do NOT update that variable manually - it is managed by the pre/post release scripts
2-
val distroVersion = "2.23.0-SNAPSHOT"
2+
val distroVersion = "2.23.0"
33

44
allprojects {
55
version = distroVersion

0 commit comments

Comments
 (0)