Profiling Example
npm install
- click here to get an API key
- Update
index.js
with your API key npm start
npx apollo service:push --endpoint http://localhost:4000
Visit http://localhost:4000
and run the following query:
{
hello(name: "Ben") {
echo
slowField # optionally exclude this field
}
}
On https://engine.apollographql.com/ find your service and click on the metrics tab.
You'll see trace information about your request.