-
Notifications
You must be signed in to change notification settings - Fork 1k
Add an option to disable capturing graphql query document #15384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,6 +45,8 @@ public void onEnd( | |
| attributes.put( | ||
| GRAPHQL_OPERATION_TYPE, request.getOperation().name().toLowerCase(Locale.ROOT)); | ||
| } | ||
| attributes.put(GRAPHQL_DOCUMENT, request.getQuery()); | ||
| if (request.getQuery() != null) { | ||
| attributes.put(GRAPHQL_DOCUMENT, request.getQuery()); | ||
| } | ||
|
Comment on lines
-48
to
+50
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think put
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In many places we use
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we originally did that because it was previously undocumented behavior, but that changed with open-telemetry/opentelemetry-java#7271, probably we could revisit those places now, but not a priority |
||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.