You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -76,11 +76,6 @@ see [Migrate from the SignalFx Java Agent](https://help.splunk.com/en/splunk-obs
76
76
77
77
<!-- Comments, spacing, empty and new lines in the section below are intentional, please do not modify them! -->
78
78
<!--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-->
84
79
85
80
## Requirements
86
81
@@ -112,11 +107,11 @@ To extend the instrumentation with the OpenTelemetry Instrumentation for Java,
112
107
you have to use a compatible API version.
113
108
114
109
<!-- 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
116
111
with:
117
112
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-->
| `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
1486
1498
/*
1487
1499
| `otel.instrumentation.graphql.query-sanitizer.enabled` | Boolean | `true` | Whether to remove sensitive information from query source that is added as span attribute. |
1488
1500
| `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. |
1489
1502
*/
1490
1503
// graphql 20
1491
1504
/*
@@ -1506,6 +1519,13 @@ Some instrumentations (e.g. Spring Web MVC instrumentation) produce SpanKind.Int
1506
1519
"false",
1507
1520
SettingType.BOOLEAN,
1508
1521
SettingCategory.INSTRUMENTATION));
1522
+
settings.add(
1523
+
setting(
1524
+
"otel.instrumentation.graphql.capture-query",
1525
+
"Whether to capture the query in `graphql.document` span attribute.",
0 commit comments