{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"a7c879b28627f92ded978d84d41c5c3fbeefc5ca","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-KHoesoApbbmfqmXiGrRgzMH/zs5XLkoyimsmEi6xYkNHkjTrZNlTjq5qhgrx00m1uOo2BfJgOoSZ4Jp8T+R2Ow==","signatures":[{"sig":"MEYCIQCj9Ll4zCeo2wn0Z8kGVbA7DCmVW1ApV5n7IxQDvGniaQIhAI0ZIuo2HQ5vrtNvs3B4eCiDO8T8dnLSSCavWJpeCNzH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7CwcCRA9TVsSAnZWagAA+psP/3vkmgtKH9iJvaVcv+dF\nAI8tfMoCQcUsUQZq9PTrkKQxceXAh2TpeM7mgX1KcUTFB3Ud/CEAWGHb3IOL\nyuxDp6bGhA4AKamSHJkasJBRtt0yfHNvthhddc3bBxNBA22+XsUvLcpu8Dfx\n5kKxb9tehI+86cb+M3iMnTrhxbc/SiDiILSOLbNXR/pH4s2sK4MPN8F6gwz8\nyQScwHRh+3qcTLfZqo4BAuf3aH3Lff9weOdlb6fLhUEyJQSui8rN45m16Cli\nrsM1v8uGOCSSYB3qlpABydGJ6sZG7Y6QoSdCyBmw5xmNQf5sPKzjmv3dnDVd\njA/AMG8k2Zd5eOxKASHDin5ihvHBFkZaJPq5TNiZZdlk+VYf2IAhNUsmPe7L\nAGjXjFFHQjS/d8SXKcstkg53wlJcotajVkSy48sarDhJ2u58GD7I6AVG0pVR\nnfhM6RX1CyddyhCiwPBJEI5J6LdRqaW0YzTkfMssSmzcdrPNqb6zoH3ETW6y\nGQu6LjZrD0OjGf9qv8Sa/3QpB4aGVSZj9ExP8mZ2WG1gZUChIdXJuTW3xNYa\nd2mq8JlX+o6KORtjWN3aXIH8zJCLN2JUxQXUlZZxUQzQOFBcJKz6pcm2inSy\n5AlyK8xzmMElsf88xSf4ZgKnGYNLnxTSHF8rMZLUZFRMy8xQtAD4dWOTDlUF\nUEzV\r\n=AMXW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","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":"b544a25db9d3c6372f96210f901c5c9076610391","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","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":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.15.1","dependencies":{"apollo-server-env":"2.3.1-alpha.0","graphql-extensions":"0.7.0-alpha.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.7.0-alpha.2_1558981660226_0.6939565765246807","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.0-alpha.2","version":"0.7.0-alpha.2"}