{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"045c2971e232b65e59a64e8d3aea0e5121378ff5","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.3.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-/ITFOnkUTvrjwbQ1d2/v1TW5EbitVE0Wc49dL0/CAy9gxpwE4biQH4INrfgAIz3rMBcWO6zrEo9kX+x8bYlGMw==","signatures":[{"sig":"MEQCIDW6TxJCoz1bEA5wTn5yUwLs+Gg06LFx7vAPvNvuRg45AiAxeHbE6MisiYPQwA/EMkSxn/JVFbZ3HdnvpY+Br6yX+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4SiGCRA9TVsSAnZWagAAiBIP/i4atJ4bm5mkRZyIsy1Y\n7wSe+n0V2ZtcNqtH/fUfY4gQ76c9yt6IwW/G9NTIgF2470GKeQNlljtCao8B\nO2ftEBtq52CuLBv3WHxu5Gg9nkjHh/YoG+1nvBhJmoBJucjOfHC36Q5vqArx\nCV1w3+VRJ/JjBqYlfPwdVH4lcriXHVnoROBNvJLXvW8AltSisX4hYnPgJF3o\nptkThT6ghYvAhULlwuvvihwTnPsEeMsjYr86rqbG6isisFVO0LhFb3khNHMR\nxVK3t2fHzzzyA35TvO6HswhKhLFI2ukYDozfkMmm+ETrYjF20mh4mgTMqCCn\nGwZ4pJeMjId0ZNMI4foV8Yw48aGJZmGmUCNqglHCIZNHjeLSX8IZtfihIb44\nSNX6p1XV6Hefij8lgtAUNwMte7u9Ga+bWgrTxV/WqVKXDq9KWp2Uhq7wgQLq\nYM6rcc/+MgOyjOnWEXLat/gI6tD76bfZBkKCNqz1PRWXIxnEIe2kZmVPy1uO\nOtVyVjhZI9mRzKsbmpdxRM82WUOf2bO6B55GDwSHYcVLy4mEs8tt9Jp+Mihr\nFJxuGT/6CcW8qnkQiUyMW3ah0KemxbU9n4hW7liGRIDTNMN1+JaR3lpI6e5n\nmJfZmuLavVksrdCQlLuVyJG7TGAjN6aEREjTmxFQ3bN5Bw4BVRcQc1x24zqG\nevhN\r\n=kbme\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","_from":"file:apollo-tracing-0.3.0-alpha.3.tgz","types":"./dist/index.d.ts","author":{"name":"Martijn Walraven","email":"martijn@martijnwalraven.com"},"readme":"# Apollo Tracing (for Node.js)\n\nThis package is used to collect and expose trace data in the [Apollo Tracing](https://github.com/apollographql/apollo-tracing) format.\n\nIt relies on instrumenting a GraphQL schema to collect resolver timings, and exposes trace data for an individual request under `extensions` as part of the GraphQL response.\n\nThis data can be consumed by [Apollo Engine](https://www.apollographql.com/engine/) or any other tool to provide visualization and history of field-by-field execution performance.\n\n## Usage\n\n### Apollo Server\n\nApollo Server includes built-in support for tracing from version 1.1.0 onwards.\n\nThe only code change required is to add `tracing: true` to the options passed to the Apollo Server middleware function for your framework of choice. For example, for Express:\n\n```javascript\napp.use('/graphql', bodyParser.json(), graphqlExpress({\n  schema,\n  context: {},\n  tracing: true,\n}));\n```\n\n> If you are using `express-graphql`, we recommend you switch to Apollo Server. Both `express-graphql` and Apollo Server are based on the [`graphql-js`](https://github.com/graphql/graphql-js) reference implementation, and switching should only require changing a few lines of code.\n","engines":{"node":">=4.0"},"gitHead":"5ca4c07bd5d07e7e753204726983dd7064d18967","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","_resolved":"","_integrity":"","deprecated":"The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details","repository":{"url":"git+https://github.com/apollographql/apollo-tracing-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"_nodeVersion":"8.12.0","dependencies":{"apollo-server-env":"2.1.0-alpha.1","graphql-extensions":"0.3.0-alpha.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.0.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.3.0-alpha.3_1541482629266_0.46448406091906325","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.3.0-alpha.3","version":"0.3.0-alpha.3"}