Replies: 2 comments 1 reply
-
Hi! Today in v2, We'd love to help you if you can explain more what you want to achieve :) Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks for following up! This is helpful. My dream default state would be something that could elegantly pipe into DataDog (or some such log tool) that I could use to build performance dashboards, i.e. "how's my server doing? Is it going fast or slow? Where are the bottle necks? etc." I think a good example of this comes from the Rails ecosystem in the package called lograge. Here's an example log statement from them:
The key attributes there are that you can easily parse that in order to graph things like Another decent example comes from Redwood. It's pretty minimal, but it does have times and queries out of the box. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I've been working with
@graphql-yoga/node
and I cannot find any documentation around logging. There are details about how to log when connected to another server (i.e. Fastify). However, I don't see anything for@graphql-yoga/node
itself. Am I missing something? I also tried pouring over old issues, and I don't see anything there.I did find this dicussion for helping with dev logging. However, I am looking for some more robust guidance, specifically around how to prep for production logging.
Since I'm creating a discussion anyone, perhaps it'd be helpful if I included my next task: Is there a way to set up logs such that Prisma logging and yoga logging all go through the same pipes?
Thanks in advance for any guidance! I'm loving this library!
Beta Was this translation helpful? Give feedback.
All reactions