Hey <@U2N3CF6D6> thanks for flagging and sorry for...
# apollo-kotlin
b
Hey @agrosner thanks for flagging and sorry for the late reply - I found a regression causing the latencies to never be fetched! This is fixed here, and also removes the need to configure API keys for leaf modules. You'll only need to configure the services appearing in your schema module. This will be in the next snapshot release (should be live next Monday), if you want to try it.
🦜 1
a
Ahhhh thank you!!! Will have a try
🙏 1
b
A new snapshot version with these changes is actually available now (
4.0.1-SNAPSHOT.2024-09-11.063d17f
).
thank you color 1
a
i might not get to it this week, but if i do, ill report back here thank you color
🙏 1
using latest snapshot cc @bod, but
Copy code
2024-09-25 12:43:55,278 [7564954]   FINE - Apollo - FieldInsightsServiceImpl fetchLatencies
2024-09-25 12:43:55,292 [7564968]   FINE - Apollo - FieldInsightsServiceImpl$fetchLatencies$1 invokeSuspend - Fetch field latencies for service :infra-apollo-schema/storefront
this is all im seeing. is there anything else i need to do ? • are field latencies tied to entire field itself, or is it able to be retrieved by client? ive set the threshold to 5 ms, and im not seeing the warnings in the IDE for any field
im wondering because our graph is so huge (over 2500 objects alone)
b
Hmm the log looks good, not sure why you're not seeing any warning.
• are field latencies tied to entire field itself, or is it able to be retrieved by client?
Not sure what you mean by that
are you able to see the latencies in the Studio app ?
a
when retrieving field latencies, is it global or filterable by client say “@wayfair/android-app” for example
oh good point. we have a bunch of requests in past month, but no latency distribution reported. ill bring that back to my graphql platform team
b
ah 👀 that probably explains it
I mean... I have no explanation why you don't have values here 😅 But that would be consistent with the plugin fetching nothing
a
is that a flag we have to turn on somewhere? ill have to ask. but thanks for the help here, im excited to get this working !!
b
actually I'm not sure - not that well versed in the studio side of things 😅 But I can ask!
if you've never seen any data there it's possible that it's never been setup on your backend's end
a
ah likely that is the case. ill report back here when i hear more
👍 1
My coworker said that he noticed metrics are inconsistent and not reported on all fields as expected. So he’s reached out at Apollo for more information and filed a bug report
b
all right! Thanks for the heads-up - I hope we can make this work!
a
Same! I’m excited to get it working. It would be highly useful for my teams
👍 1