prisma1 icon indicating copy to clipboard operation
prisma1 copied to clipboard

Analytics/Metrics/Monitoring

Open Twinski opened this issue 9 years ago • 12 comments

Would be cool to monitor the speed/performance of a specific GraphQL query. To see how many effective queries were executed under the hood. ( for example: https://youtu.be/c35bj1AT3X8?t=41m39s )

This makes sure the developer knows what happens under the hood instead of just relying on 'magic'. :)

Maybe the amount of queries interests me & also execution time in total (and even better, per individual query under the hood)

Twinski avatar Jan 12 '17 10:01 Twinski

We are researching possible approaches for analytics/metrics. If you have specific needs for a certain metric, please comment so we can consider it :slightly_smiling_face:

marktani avatar Jan 31 '17 14:01 marktani

+1 👍

philcockfield avatar Mar 08 '17 05:03 philcockfield

👍 Besides the granular and aggregate performance monitoring mentioned, I'd like to be made aware of any special spikes e.g if some user starts to send an abnormally high number of requests.

sedubois avatar May 03 '17 10:05 sedubois

Maybe look to scaphold for inspiration. A simple(?) but very effective way of getting this feature out to your users quickly would be to offer an Apollo Optics integration for starters (sa scaphold also provides).

Is there any current or planned work for such an integration?

EDIT: Ah, I just saw the reference from #133 - sorry :-) +1 instead

jhalborg avatar May 04 '17 11:05 jhalborg

Thanks for chiminig in, we're indeed planning an Apollo Optics integration here 🙂

marktani avatar May 04 '17 12:05 marktani

Any ETA on the integration? It's an important factor for the decisionmakers I need to convince :-)

jhalborg avatar May 04 '17 12:05 jhalborg

Thanks for reaching out in Slack - it's tough to give an accurate estimate, but we're giving our best 😉

marktani avatar May 04 '17 14:05 marktani

This has been WIP for a few months. Any news on the Optics integration?

kbrandwijk avatar Jul 11 '17 16:07 kbrandwijk

We're still working on integrating a monitoring/analytics dashboard into the Console, in a first step it will likely be custom metrics and not a direct Apollo Optics integration.

marktani avatar Aug 25 '17 12:08 marktani

Monitoring request: raising alerts when a Function should be invoked, but it is not (related to https://github.com/graphcool/api-bugs/issues/243)

mattfysh avatar Aug 26 '17 10:08 mattfysh

I have created a repo with two examples of how to add your own metrics using Apollo Engine on top of Graphcool endpoints, using the API Gateway pattern and schema stitching: https://github.com/kbrandwijk/graphcool-gateway-apollo-engine-demo

kbrandwijk avatar Oct 25 '17 16:10 kbrandwijk

This issue has been moved to graphcool/graphcool-framework.

marktani avatar Jan 23 '18 14:01 marktani