apollo-studio-community icon indicating copy to clipboard operation
apollo-studio-community copied to clipboard

Field usage displaying in "Clients" and "Operations" tabs, but not "Fields" tab

Open wyattEpp opened this issue 3 years ago • 3 comments

Our GraphQL API gateway runs Apollo Server and reports operation metadata to Apollo Studio via the Usage Reporting plugin.

Recently, this usage information has stopped displaying in the "Fields" tab of Apollo Studio, e.g. "Requests in the last day" are all 0):

image

The data does appear to be present in the Studio db, as our "Operations" and "Clients" tabs are populated, e.g. executed operations sliced by client in "Clients":

image

To reiterate, when looking at the exact same operation across both tabs, "Fields" displays 0 usage, and "Clients" displays the expected request volume.


As far as I am aware, we have not changed any Apollo Studio or gateway configuration recently. Is usage display per tab in Studio configured separately somehow?

wyattEpp avatar Apr 21 '21 16:04 wyattEpp

FWIW @wyattEpp - I just checked our organization and we do have Field level data for requests in the last day. Sharing incase this helps you / Apollo triage further

setchy avatar Apr 21 '21 16:04 setchy

Hi, @wyattEpp. I think it would be easier to debug this if we knew the graph ID and variant in question. We might also want to dig in more to how your graph is configured, which you may feel more comfortable doing in a support request rather than publicly here, so feel free to file a support request via the Studio app as well.

This could happen if you're using Gateway (as you suggest) but your subgraphs are not providing inline federated traces to the gateway.

glasser avatar Apr 21 '21 17:04 glasser

Thanks @glasser, I have opened a support request as you suggested (#700). I'm happy to copy over the resolution/findings to this ticket in case they are useful for others.

wyattEpp avatar Apr 29 '21 15:04 wyattEpp