{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"16be201bc276120f0f8b7aa180201ee89d57e3bd","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.5.1.tgz","fileCount":8,"integrity":"sha512-5gb8OWzkGaJFsmQdyMyZnOjcq6weMTkqJSGj0hfR7uX99X4SBFAzZV4nTeK4z0XkXO2I12xSTJoS4gxbFjgeaA==","signatures":[{"sig":"MEQCIDL2rOtKkpwA/6GSmWw2XHteWjeTWRem5EeuoQ79crHeAiA+RfAl3iPyHf6LRsQ8s5d0v/94Cy8b6itpuiG6aleSAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZWxvCRA9TVsSAnZWagAAMeAP/jmx8nY/Janl4jDlulvV\nMJYmi9Y/ipp+hSQxsGm+u6bxE0aZDI1tOceFda3QeD3fVNIkuDWh7eksGc9z\nsILbUs5kiW9nNa5BRQ/cIB78cwnYEZQgUNl11+mX2tV+IjQyjKWpBd+oRDFG\ncqmGRuYWMThAbIpxb4wvkgMCugkP2rwTkqb6sNfvwdFhV6Eu4PSf4HRP4EaU\nkULBq+y57FmtVx0OK6Q8AN8LFdD4QBplPMbcIwevkevIIACELGejJ9na4Trx\n/hJKS8ru6z7xNPYYdpnEIpmjG16pmwGeozZh3rvaENUM7MCBSGpTA6OMiDXC\ndIemaK+rLFiQ198PSnh8kW7xU7rlC2ctrAuQZY/gbdHThVQsMfqzUdWxvw73\n3NRFokv+yQBKsbOMIBc5k4oXIYwyGYGbNihKKsjY9cE8B31z5zOUeBboNBKq\n43LKCJ+sd0d73L+gnI+e0qEF2NtMzH9An1SUfbISC1jdtJ3mw7P4fI8XVhRV\nkDszB+M7eyOlDlN+thEKrzQkyUKLU8mNRfXL6FDJTIULnUH8vmiKNnFT28xh\nVSVpx/W+QzAv+drrrnhT7w12XnYReFyCUyPwFtPiWBdShxSq70i27DgP8Tao\nkUqc/EqCBp5c4S6GfM5qhn9nTgQ8AX2Hlz5EybpVWOZJSDR8cqD5bmLv5/PD\nHDxV\r\n=iS0M\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":"c1669c3d74ae44088bf3bb23cdd9132270b26ee6","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.11.1/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.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.1.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.5.1_1550150766649_0.6794657273475426","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.5.1","version":"0.5.1"}