graphql-vision-plugin
You can use this plugin in your apollo server in order to send tracing results to a graphql-vision server.
Getting started
Use npm to install the library:
npm i --save graphql-vision-plugin
Add it to your apollo server configurations:
;; ; keepAliveInterval; // it will send a frequent keep alive to the vision server, and will be presented in the dashboard
The tracing
argument must be set to true
.
The GraphQLVisionPlugin
receives the address to a graphql-vision server that will monitor the requests to our server, and our application id (sender-id). It also receives an interval in milliseconds for a keep-alive, so it knows when your service works.
You should send your graphql-vision server (graphql) endpoint to the constructor of the plugin.