How can I gain more granular monitoring of my GraphQL NodeJS application?
We have written an NodeJS application that is using Apollo GraphQL server. We are running this app inside of a Docker container, and monitoring the application with New Relic APM NodeJS agent.
I am expecting to see more granular information about each GraphQL resolver, but APM is only displaying information at the top level endpoint (/graphql). This is not very helpful since there is a lot of logic in each resolver that I would like to monitor.
I assume there are ways to add custom NR instrumentation to my code with the NR NodeJS SDK, but I was hoping to get more monitoring out of the box for free (i.e. without instrumentation).
Apollo offers a product called Apollo Engine. This is a specialized solution for Apollo, and I am hoping to stay inside the NR ecosystem, as opposed to adding a separate monitoring solution.
It seems like GraphQL has gained significant adoption. (Netflix, Facebook, Atlassian, Contentful, Github, New Relic) I am surprised that New Relic has not added features specific for GraphQL to APM.
What options does New Relic APM offer for more granular monitoring of GraphQL?
New Relic Edit
- I want this too
- I have more info to share (reply below)
- I have a solution for this
We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.