Apollo Server Error Monitoring
This backend SDK requires one of the Highlight frontend SDKs to be installed, so please make sure you've followed the fullstack mapping guide first.
Initialize the Highlight JS SDK with your project ID.
ApolloServerHighlightPlugin is an Apollo Server plugin to capture errors in your graphql handlers.
If you need to report exceptions outside of a handler, use the Highlight SDK.
You'll want to throw an exception in one of your apollo handlers. Access the API handler and make sure the error shows up in Highlight.
With the JS SDKs, your logs are reported automatically from console methods. See the JS logging setup guide for more details.