{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"ad8fb4ba75c348c07cdcc764c08b27e6b66f7512","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.6.0-alpha.7.tgz","fileCount":8,"integrity":"sha512-epJPAAxL9WJ1oBHTv40pt1AbzXtSdERdaUWACSfKwwnokbJetS6lwKImz95eoEpuAP8xoGLeQCcpSE79lTIklQ==","signatures":[{"sig":"MEUCIQD9XpirzdZ2ncXi51Zwk4JajoORDX1wYWMn6GVf7kQjlgIgXGaL7/dFUEplnQuzgqE8OEBFEuyWyls54RLfRdz1IEw=","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\nwsFcBAEBCAAQBQJcwfOXCRA9TVsSAnZWagAAiMcP/2EMi98OssyH7jNpfBZM\n+O/zghwSTa8J/YUNT+Zn1fgtZ0wG2lrrw5SZj4vpPTDRPuymE9blgShEa61D\nV11JJV7yFGhAl+Cnwi0IgnecZdY73Pn0au2QEzWi4opZ6ITW8pq4sguIjvhS\nQEwWLnR22l06ZyX/Qd5/+eVEvPd0mv/Z9Jdj7J8T1SqyxAh3GvJfiSh0QVkF\n8TlPRMMulr9KHWhBc51zGnKYduRL434SyrCuO/leom6UP+YzutMTUWJbPI9n\nlFQI2lLkjPSlevZCi/SVkZsbz1pvsMChRV4leIiSKdFMEMiCgtQKntvV3w7X\n0LPzqdmhyUbvWJTHBm7WCuwyLV0YkTzwJ6lNTdCbn6uA1T26dwOjtEGtcd6/\n0F66vELpYl7CN5J83BvKrigTllAO5RqTLutufk1Zprq8cp105R2i9lVdPdm0\nOtGWFCT/7dFHaumwvreNQrBRkuq7Hm88C3KxEmxgCMemm4hJ9WvykQFhH/67\nuNht1VehvxHUZON9k9yJfeQvUk9dLlQjIw1ExRfDeWghRJHuFJKXDtFo6XZF\n8h2Do4ytGNIlhv8vMrWbF+5d/EGv0P0BNhBg1uBTsa52K6QO2/6eB4tl++Ae\nqQKKFYdX7wVJlaNkpdMHtGPG4pALikbvBsTqgQLMaPd1HvXJAN6BVFjQ7ucE\nCgFI\r\n=dDAj\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":"7b8ff7a9c14eadff9ba95ad12669197c1803cbe0","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.1/node@v8.15.1+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"8.15.1","dependencies":{"apollo-server-env":"2.3.0-alpha.0","graphql-extensions":"0.6.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.6.0-alpha.7_1556214678737_0.9978727358457951","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.6.0-alpha.7","version":"0.6.0-alpha.7"}