{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"9f5a2dd7c9e83a569641f0e9fb1a2671bceea37f","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.5.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-pxK8TaqdY+/BsGyqFJQ44Cx17fKIZus8gEUo+/d70mTGS9623nZMSkW3ZyqWQJEnGtZ8pCfixmtTkRf/qhHWdQ==","signatures":[{"sig":"MEUCIQCSRn0UAckAmnu7o72oyBDXpyt14aBg4U1SQV/JEv29qQIgDB1/368iW3WBYF5oVtMJwMX8BGIEJWdGIfnXoy+26Ac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXBAMCRA9TVsSAnZWagAAQ3QQAJv+SjA97T7YqQ7i3L76\n8Wo++X9eHmo+ZHhAWVxH0PgcFTIjWe4L4RlcglwqzfwUcMink//7ET0kdMqN\nLKj2qw4J++U0U6kGtDT6yY+rqiYmpDkIX6vSZgp3i8qXLapK1ivS4M8rtgo1\nGcfBz7pi0BEVrplzVng/8CGWAbr4xlRU6kmbkP391VxzKjkfhd0hEpFnhDXu\nPHKfZFhX+0x7tBaZSAhuJXhrc7FZgZX+j28VwqjrKIwLig7jDUiD6AjevP5a\nafoGTDU07XLKj3PF4b9gChqGqyTuVliiwKBR+UziExSeu4zw3VRcp3Komwt1\ndfOHD89zNh3XjKxc4nw6oO/x86RG0jY34xO3APZSGohm8gd7NPQfUnoq9ji1\n/4/5kcvHeLw/hICl4sn1YEve0a6dVrxZtBEI3z/wqgeYiH0i9YAdIrNEXzGN\ncXdyDkYYRjU9JVta5UehqiRZk7R3LRc5xH1Guc9IwccxD4lF5AtRgezBdTcQ\nOm+aiGagDdAUt+1eIESUtvz+NLzXvqpwC/nTH2+3NEJ65pmmnEumVYiDQeTd\nZzgE23b5+RubpnseWk8C/5n1woQSj6zIexHeudKbHop/y0j39MSASyuy29hF\nElHObVun0sOVkLZeWCbo5NKuyUoy9EggAf/MHHzNIYMrHRnoRS9ttAt0wdES\ne/1X\r\n=sSkZ\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":"f74610b290106f31308e36e507386ed2f352f3bf","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.10.8/node@v8.15.0+x64 (darwin)","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.15.0","dependencies":{"apollo-server-env":"2.2.0","graphql-extensions":"0.5.0-alpha.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.1.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.5.0-alpha.3_1549537292327_0.264756311000792","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.5.0-alpha.3","version":"0.5.0-alpha.3"}