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
|`otel.instrumentation.graphql.query-sanitizer.enabled`| Boolean |`true`| Whether to remove sensitive information from query source that is added as span attribute. |
3
+
| System property | Type | Default | Description |
|`otel.instrumentation.graphql.query-sanitizer.enabled`| Boolean |`true`| Whether to remove sensitive information from query source that is added as span attribute. |
6
+
|`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. |
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-12.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/graphql/v12_0/GraphqlSingletons.java
+5
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,15 @@ public final class GraphqlSingletons {
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-12.0/library/src/main/java/io/opentelemetry/instrumentation/graphql/v12_0/GraphQLTelemetry.java
+3-2
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,11 @@ public static GraphQLTelemetryBuilder builder(OpenTelemetry openTelemetry) {
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-12.0/library/src/main/java/io/opentelemetry/instrumentation/graphql/v12_0/GraphQLTelemetryBuilder.java
+14-1
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ public final class GraphQLTelemetryBuilder {
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-12.0/library/src/test/java/io/opentelemetry/instrumentation/graphql/v12_0/GraphqlTest.java
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-20.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/graphql/v20_0/GraphqlSingletons.java
+5
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,17 @@ public final class GraphqlSingletons {
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-20.0/library/src/main/java/io/opentelemetry/instrumentation/graphql/v20_0/GraphQLTelemetry.java
+5-2
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,11 @@ public static GraphQLTelemetryBuilder builder(OpenTelemetry openTelemetry) {
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-20.0/library/src/main/java/io/opentelemetry/instrumentation/graphql/v20_0/GraphQLTelemetryBuilder.java
+15-3
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,9 @@ public final class GraphQLTelemetryBuilder {
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-20.0/library/src/main/java/io/opentelemetry/instrumentation/graphql/v20_0/GraphqlInstrumenterFactory.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ final class GraphqlInstrumenterFactory {
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-20.0/library/src/test/java/io/opentelemetry/instrumentation/graphql/v20_0/GraphqlTest.java
Copy file name to clipboardExpand all lines: instrumentation/graphql-java/graphql-java-common/library/src/main/java/io/opentelemetry/instrumentation/graphql/internal/OpenTelemetryInstrumentationHelper.java
+11-4
Original file line number
Diff line number
Diff line change
@@ -48,16 +48,22 @@ public final class OpenTelemetryInstrumentationHelper {
0 commit comments