{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"67ed2e01d270247a31a470ef56bc2069fc37fbe7","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.9.1-alpha.2.tgz","fileCount":8,"integrity":"sha512-uDMWBpcXgmmUs+UKdY35ybQ8ysonH+IfVPZ6vvdaxoZzk8aLortqdZ4RGKulRjajzuRH693arCWBGS9aeW8eCg==","signatures":[{"sig":"MEQCIGov3/OoR0qsdBb1U2WVUQotsvD+8cydW9CA7FGawubIAiAyFo0X78gker1QcbOXdUoSAKx6j19nc9F7xa/LsD61iQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeMplCRA9TVsSAnZWagAA9XEP/2FuT/A2h73kDdXSkx5K\nU5kairCQ0ZxRnAi+IvsmGitzlh0f4RzmZSPTMZNMPogdJeUoenmVOBVA5mqV\niQhed9e9YaIPGnbkalWLibYICw2FA+vz0exh3WlKR61iNeyCbCbb4kpiFvvu\nj7o2F6H3C+ZegyVCGZG19+fimvvAaqMWbbt7mxnOffszfwTfbo5w7wKZr6bD\ne4+Y7UjXMaR84SuwWmemka+oqrXMzw+poZ52Ky63aZVGhQdoGGt8l2kfo7OJ\nwk/GY/xpXP6NsVJ8e3Spc7Ac4UQ0J2y1wcX8V8nlQjQyvRGIx76PMzRDnwLx\nQXObz2QEtWryCL04OF7l7+CGbkW8yhdl3ry89AzK6Kk/q45ucJiK5UMNSwIt\nv8jQJQwz1pVHnbHaQF0W4KAH+PG4XDW6pU+09+3l2oZCT4MKY3y/4VHr352O\nCo+FI5fOSUMVpKzfzoUC+3LkEvXd+iS+OXopxyzTIw+1Ye/AzH9xVH9C4fGt\noXVCdE32pY2Nzjeqaj8lR8iKS9pugOjlhXjsxkma1E/kb+XxcIP3+FGlblnw\nBEnZz2jX83i5ebRoBqniNYIaP20xb3NyjBeu2pZ/f4+j0+409PLhqxkMvR96\n4L9qrEHd46hCdGcSPtWxJ4avyD2DnSN08WDncNinzJjtnqnQxIFJ2kzKdRUz\nQxLc\r\n=GaMn\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 Graph Manager](https://www.apollographql.com/platform/) (previously, Apollo 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":"34c707246f8df95a1916aa59469e78fc3144c8bd","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.20.2/node@v10.19.0+x64 (linux)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.19.0","dependencies":{"apollo-server-env":"^2.4.3","graphql-extensions":"^0.11.1-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.9.1-alpha.2_1584974436716_0.09143481550737298","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.9.1-alpha.2","version":"0.9.1-alpha.2"}