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

[useApolloUsageReport] Number of requests is missing #3580

Open
kroupacz opened this issue Dec 20, 2024 · 0 comments
Open

[useApolloUsageReport] Number of requests is missing #3580

kroupacz opened this issue Dec 20, 2024 · 0 comments

Comments

@kroupacz
Copy link
Contributor

kroupacz commented Dec 20, 2024

Describe the bug

Hello,
we recently migrated from Apollo Server to GraphQL Yoga and started using the "useApolloUsageReport" plugin instead of the original "ApolloServerPluginUsageReporting" plugin.
After a few days of use, we noticed that the metrics in Apollo Studio are missing important information about the number of requests that were previously there.
The problem only occurs in the section for "individual object fields" - Insights => Object Fields (filter). Details can be seen on the attached screenshots bellow. The number of requests for "GraphQL operations" - Insights => Operations (filter) is displayed correctly. NOTE that the number of requests is missing (is always zero), but the number of executions is available.

BEFORE - Apollo Server + ApolloServerPluginUsageReporting plugin
screenshot_before

AFTER - GraphQL Yoga + useApolloUsageReport plugin
screenshot_after

Maybe @EmrysMyrddin could help because he knows how it all works? 😉

Your Example Website or App

https://studio.apollographql.com/

Steps to Reproduce the Bug or Issue

Just use the "useApolloUsageReport" plugin. 🙂

Expected behavior

"useApolloUsageReport" plugin should report also number of requests for "individual object fields".

Platform

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

No branches or pull requests

1 participant