This is an extension for the Apollo GraphQL server that automatically traces and annotates all of your resolvers.
This assumes you already have configured Honeycomb in your application.
Install:
npm i honeycomb-apollo
Import:
import { honeycombTracingPlugin } from'honeycomb-apollo';
Add as a plugin:
const server = new ApolloServer({
plugins: [
honeycombTracingPlugin(),
],
And you're good to go!
- Ally Weir
- Marco Rogers
- Everyone in the Pollinators Slack