Skip to content

Commit ae7c285

Browse files
authored
fix tracing instrumentation docs (#398)
1 parent 1cd6e03 commit ae7c285

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

graphql-java-support/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ GraphQL graphql = GraphQL.newGraphQL(graphQLSchema)
172172
.build();
173173
```
174174

175-
**By default, all requests will be traced.** In order to skip dev requests and only trace requests that come from the Apollo Gateway, you should populate tracing information in the `GraphQLContext` map.
176-
This will ensure that only requests with `apollo-federation-include-trace=ftv1` header value will be traced.
175+
Only requests with `apollo-federation-include-trace=ftv1` header value will be traced and you need to populate this tracing information in the `GraphQLContext` map.
177176

178177
```java
179178
String federatedTracingHeaderValue = httpRequest.getHeader(FEDERATED_TRACING_HEADER_NAME);

0 commit comments

Comments
 (0)