{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"2d4aa71b76bbaf7ec3e25053c25320606549366e","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.5.0-alpha.0.tgz","fileCount":8,"integrity":"sha512-uYetlXSKHv29jNKoDqC0n7AgoWrQ/s9OmSJAuAHLE9Q0+9PvMrbMXtoL7WH4vcy1ObYMwaL+Zh727191VzrSVw==","signatures":[{"sig":"MEQCIA79wwLJZiBTziW9C4SymRErAqQftSGnVCf2Xiu9vvoIAiAs5JUw7T6yeJ1zbCThjpbnrnUVGDttpKsXYBmIsivZRQ==","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\nwsFcBAEBCAAQBQJcGQ7SCRA9TVsSAnZWagAA644P/0btR51rKCtSX+pCwyQf\nSj3nL5KlBw5TtpDBOqGfZ6+XAEuGPYF5AcR/HuDpdLqx5GQLnThXTBdS1TaH\nmgwUjEpaf+VuGbQoJ1Rs7sndOsFTZUvt9yIQwi4qcRmdPqjtmFGMukTSiB7S\nYr3AF1Z465Dusb6IjAXQHadqZNoYFRLyrsYe14u+09bD6YHLeew8E+9xba5O\nHMMqzrLglZULtvTPhMylo+JhVjJkzR3yvXIr/K403/J7IKUsZ+bi8DnU4qPZ\nJZaLNEAABv7iTeQT1CeqxYEQ5k0zxCm+YjgV07oBmI7ukirR8he7Ioas+ZL6\nNSbngf51hhrOLDVJQ+7mU3K4LWaGPBBS9izSScWe6lKpalWf9FxhIyGWgA7L\ndjwxwczisTMFci79nMEhdZKHjLEacUX7tipIuY9EdLpAJ+eLAUY75aVxcjne\nXSNdFbqHX2hKClSmiI2AmE+1EWfyYaOOTunSmYeRmhc/skqEU61rFXw6a3qw\nHfDqKfadKZ4jhcF9U6IYoL5rfBuU+Lxt9wwgV8dMLjrC4HC+cGSZXu510vnI\nwjo+dKIzDhNT9KSGVMUk4bQ8IC1U99vAEZT8LqHQpn5Ps8NiAeVOLjrA2UPz\nJZAXxkGsZdLbFsouUFkFgEdCe+Pd337pvtHlA/PoSHneliWjH0HYy7nF5gId\ngC5Y\r\n=JiLl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","_from":"file:apollo-tracing-0.5.0-alpha.0.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":"7697623789a0c07cc65b496657d3e85bd96e1408","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.2.0","graphql-extensions":"0.5.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.0.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.5.0-alpha.0_1545146065569_0.6333016848028561","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.5.0-alpha.0","version":"0.5.0-alpha.0"}