Skip to content
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

Use operation name in stitched queries #1124

Merged
merged 5 commits into from
Oct 11, 2019

Conversation

nigel-sampson
Copy link
Contributor

The stitching request layer uses operation names such as fetch and exec_batch for upstream queries. This means that request metrics tagged with operation names aren't as useful.

This PR tries to use the operation name from the originating query in the upstream requests. For the batched request, if all the merged queries use the same operation name then use that, otherwise fall back to exec_batch.

@michaelstaib michaelstaib merged commit d95ad36 into version_10_0_0_master Oct 11, 2019
@michaelstaib michaelstaib deleted the stitching-operation-name branch October 11, 2019 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants