Skip to content

Commit 74bd3df

Browse files
authored
Prepare release 2.16.0 (#2314)
1 parent 8416ca4 commit 74bd3df

File tree

5 files changed

+47
-22
lines changed

5 files changed

+47
-22
lines changed

CHANGELOG.md

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

99
## Unreleased
1010

11+
## v2.16.0 - 2025-05-21
12+
13+
### General
14+
15+
- OpenTelemetry Java SDK has been updated to version 1.50.0.
16+
- OpenTelemetry Instrumentation for Java has been updated to version 2.16.0.
17+
18+
### ⚠️⚠️ Breaking changes ⚠️⚠️
19+
20+
- Remove operation name from graphql span name (https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13794)
21+
- Remove deprecated property for disabling kafka metrics (https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/13803)
22+
1123
## v2.15.0 - 2025-04-16
1224

1325
### General

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Existing customers should consider migrating to version 2.5.0 or higher. To lear
2525

2626
<p align="center">
2727
<img alt="Stable" src="https://img.shields.io/badge/status-stable-informational?style=for-the-badge">
28-
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.15.0">
29-
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-2.15.0-blueviolet?style=for-the-badge">
28+
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.16.0">
29+
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-2.16.0-blueviolet?style=for-the-badge">
3030
</a>
3131
<a href="https://github.com/signalfx/gdi-specification/releases/tag/v1.7.0">
3232
<img alt="Splunk GDI specification" src="https://img.shields.io/badge/GDI-1.7.0-blueviolet?style=for-the-badge">
@@ -86,11 +86,6 @@ see [Migrate from the SignalFx Java Agent](https://quickdraw.splunk.com/redirect
8686

8787
<!-- Comments, spacing, empty and new lines in the section below are intentional, please do not modify them! -->
8888
<!--DEV_DOCS_WARNING-->
89-
<!--DEV_DOCS_WARNING_START-->
90-
The following documentation refers to the in-development version of `splunk-otel-java`. Docs for the latest version ([v2.15.0](https://github.com/signalfx/splunk-otel-java/releases/latest)) can be found [here](https://github.com/signalfx/splunk-otel-java/blob/v2.15.0/README.md).
91-
92-
---
93-
<!--DEV_DOCS_WARNING_END-->
9489

9590
## Requirements
9691

@@ -122,11 +117,11 @@ To extend the instrumentation with the OpenTelemetry Instrumentation for Java,
122117
you have to use a compatible API version.
123118

124119
<!-- IMPORTANT: do not change comments or break those lines below -->
125-
The Splunk Distribution of OpenTelemetry Java version <!--SPLUNK_VERSION-->2.15.0<!--SPLUNK_VERSION--> is compatible
120+
The Splunk Distribution of OpenTelemetry Java version <!--SPLUNK_VERSION-->2.16.0<!--SPLUNK_VERSION--> is compatible
126121
with:
127122

128-
* OpenTelemetry API version <!--OTEL_VERSION-->1.49.0<!--OTEL_VERSION-->
129-
* OpenTelemetry Instrumentation for Java version <!--OTEL_INSTRUMENTATION_VERSION-->2.15.0<!--OTEL_INSTRUMENTATION_VERSION-->
123+
* OpenTelemetry API version <!--OTEL_VERSION-->1.50.0<!--OTEL_VERSION-->
124+
* OpenTelemetry Instrumentation for Java version <!--OTEL_INSTRUMENTATION_VERSION-->2.16.0<!--OTEL_INSTRUMENTATION_VERSION-->
130125

131126
## Snapshot builds
132127

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.15.0
43+
$ cf set-env SPLUNK_OTEL_JAVA_VERSION 2.16.0
4444
```
4545

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

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

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,7 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
14911491
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/graphql-java/README.md
14921492
/*
14931493
| `otel.instrumentation.graphql.query-sanitizer.enabled` | Boolean | `true` | Whether to remove sensitive information from query source that is added as span attribute. |
1494+
| `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. |
14941495
*/
14951496
// graphql 20
14961497
/*
@@ -1504,6 +1505,13 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
15041505
"true",
15051506
SettingType.BOOLEAN,
15061507
SettingCategory.INSTRUMENTATION));
1508+
settings.add(
1509+
setting(
1510+
"otel.instrumentation.graphql.add-operation-name-to-span-name.enabled",
1511+
"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.",
1512+
"false",
1513+
SettingType.BOOLEAN,
1514+
SettingCategory.INSTRUMENTATION));
15071515
settings.add(
15081516
setting(
15091517
"otel.instrumentation.graphql.data-fetcher.enabled",
@@ -1638,11 +1646,27 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
16381646
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/jdbc/README.md
16391647
/*
16401648
| `otel.instrumentation.jdbc.statement-sanitizer.enabled` | Boolean | `true` | Enables the DB statement sanitization. |
1649+
| `otel.instrumentation.jdbc.experimental.capture-query-parameters` | Boolean | `false` | Enable the capture of query parameters as span attributes. Enabling this option disables the statement sanitization. <p>WARNING: captured query parameters may contain sensitive information such as passwords, personally identifiable information or protected health info. |
1650+
| `otel.instrumentation.jdbc.experimental.transaction.enabled` | Boolean | `false` | Enables experimental instrumentation to create spans for COMMIT and ROLLBACK operations. |
16411651
*/
16421652
settings.add(
16431653
setting(
16441654
"otel.instrumentation.jdbc.statement-sanitizer.enabled",
16451655
"Enables the DB statement sanitization.",
1656+
"true",
1657+
SettingType.BOOLEAN,
1658+
SettingCategory.INSTRUMENTATION));
1659+
settings.add(
1660+
setting(
1661+
"otel.instrumentation.jdbc.experimental.capture-query-parameters",
1662+
"Enable the capture of query parameters as span attributes. Enabling this option disables the statement sanitization. <p>WARNING: captured query parameters may contain sensitive information such as passwords, personally identifiable information or protected health info.",
1663+
"false",
1664+
SettingType.BOOLEAN,
1665+
SettingCategory.INSTRUMENTATION));
1666+
settings.add(
1667+
setting(
1668+
"otel.instrumentation.jdbc.experimental.transaction.enabled",
1669+
"Enables experimental instrumentation to create spans for COMMIT and ROLLBACK operations.",
16461670
"false",
16471671
SettingType.BOOLEAN,
16481672
SettingCategory.INSTRUMENTATION));
@@ -1663,7 +1687,6 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
16631687
/*
16641688
| `otel.instrumentation.kafka.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
16651689
| `otel.instrumentation.kafka.producer-propagation.enabled` | Boolean | `true` | Enable context propagation for kafka message producer. |
1666-
| `otel.instrumentation.kafka.metric-reporter.enabled` | Boolean | `true` | Enable kafka consumer and producer metrics. Deprecated, disable instrumentation with name `kafka-clients-metrics` instead. |
16671690
*/
16681691
settings.add(
16691692
setting(
@@ -1679,13 +1702,6 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
16791702
"true",
16801703
SettingType.BOOLEAN,
16811704
SettingCategory.INSTRUMENTATION));
1682-
settings.add(
1683-
setting(
1684-
"otel.instrumentation.kafka.metric-reporter.enabled",
1685-
"Enable kafka consumer and producer metrics. Deprecated, disable instrumentation with name `kafka-clients-metrics` instead.",
1686-
"true",
1687-
SettingType.BOOLEAN,
1688-
SettingCategory.INSTRUMENTATION));
16891705

16901706
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/kubernetes-client-7.0/README.md
16911707
/*
@@ -1935,7 +1951,7 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
19351951
setting(
19361952
"otel.instrumentation.mongo.statement-sanitizer.enabled",
19371953
"Enables the DB statement sanitization.",
1938-
"false",
1954+
"true",
19391955
SettingType.BOOLEAN,
19401956
SettingCategory.INSTRUMENTATION));
19411957

@@ -2039,7 +2055,7 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
20392055
setting(
20402056
"otel.instrumentation.r2dbc.statement-sanitizer.enabled",
20412057
"Enables the DB statement sanitization.",
2042-
"false",
2058+
"true",
20432059
SettingType.BOOLEAN,
20442060
SettingCategory.INSTRUMENTATION));
20452061

@@ -3147,6 +3163,8 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
31473163
.component("AsyncHttpClient", "1.9 and higher")
31483164
.httpClientMetrics()
31493165
.build());
3166+
instrumentations.add(
3167+
instrumentation("avaje-jex").component("Avaje Jex", "3.0 and higher").build());
31503168
instrumentations.add(
31513169
instrumentation("aws-lambda").component("AWS Lambda", "1.0 and higher").build());
31523170
instrumentations.add(

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.16.0-SNAPSHOT"
2+
val distroVersion = "2.16.0"
33

44
allprojects {
55
version = distroVersion

0 commit comments

Comments
 (0)