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. |
6
+
7
+
# Settings for the GraphQL 20 instrumentation
8
+
9
+
| System property | Type | Default | Description |
|`otel.instrumentation.graphql.data-fetcher.enabled`| Boolean |`false`| Whether to create spans for data fetchers. |
12
+
|`otel.instrumentation.graphql.trivial-data-fetcher.enabled`| Boolean |`false`| Whether to create spans for trivial data fetchers. A trivial data fetcher is one that simply maps data from an object to a field. |
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
+8
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,18 @@ public final class GraphqlSingletons {
Copy file name to clipboardexpand all lines: instrumentation/graphql-java/graphql-java-20.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/graphql/v20_0/GraphqlTest.java
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
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
+29-1
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ 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/OpenTelemetryInstrumentation.java
0 commit comments