{"name":"apollo-tracing","version":"0.10.0-alpha.1","description":"Collect and expose trace data for GraphQL requests","main":"./dist/index.js","types":"./dist/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-tracing-js.git"},"author":{"name":"Martijn Walraven","email":"martijn@martijnwalraven.com"},"engines":{"node":">=4.0"},"dependencies":{"apollo-server-env":"^2.4.3","graphql-extensions":"^0.12.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"gitHead":"0c73f3180a960ff5f94ea87466a7c5aab986a03e","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","readmeFilename":"README.md","bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","_id":"apollo-tracing@0.10.0-alpha.1","_nodeVersion":"10.20.1","_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","dist":{"integrity":"sha512-Lodi3avNfbYd+BWbRTez4fCYnTyNi8oEHOPAyWgT9W0kBUmXepDj1xdWE1Diqi6wNgofvDTnf2+hVErvEfU/qw==","shasum":"9cd22278deda8c3fb539bd25c59b1c45c1eee380","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.10.0-alpha.1.tgz","fileCount":9,"unpackedSize":14072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeocTDCRA9TVsSAnZWagAA+AgP/0s25DY3Y3UDpmmD9wIK\nbU/jvwqsyNILrIrKmFtX0eXt3IeZBEpuaoZMA/IeZ5G7tembsrTgKF4mIRSn\nXLKpWJapP7atCoflJ595yg93OUhbzsfJqpjtJnimTIZRxcsPF1skPeiV7Gfv\nH0E9rUlepqsfGgyAPZvaDAAaeOMWCifimEUiiozUnzdR1QkU8LDGY+8TAHnk\n0ZwdeggSgSbCK8ZrBtZVAv9ABhkG3OCqUKruq9ywh1wzri1PrxCSwOyXLX2z\nzPrmPLaldTfz70WeJdgGqtb+UGj91JA+c/zYrjbfCVrhk0tDiUYcGr3y12v5\nT5SOlmYbZR00PrpxKBgSuI/SND/Qsd4IrLGlZ4iXOcPsl89ZSxWtoyLCZ634\nhrWQUEIRP9YU4n9Guf2tVfJErB8uQHQIjHEhrNzzGVoV9JeikGk/RY+Uj8hL\nzPNjU/j+yiMYuzf1ugf/QpfwETfZNjA4W5josRTKdujHXl0++v8qQyLBGE8g\nb9liIyyTRpXtBdKId61legu9euJw6oM/RJs9g1cTxVffD/EDaC+K7tRQc8RF\nBtYgDHM1VOrIxog+2HMYmKFtt6xUIDReqdk5NwGeZ2RQwevpjMns0lkR664d\n/GZBwp88BNJRUKXxbQ+cAWCnwbypG2gSL94GJkEqcqP6tfa9vo2YDH0vqXlx\n+iAr\r\n=3Kfk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCw2speOHM+8kdKEk0CpJXTcmIUCZ3v53yHreR4zQx7gIhAOwrHXOm69HEFLW66Gr6cNNy5urXhvP/omEbtpSmF1lS"}],"size":4996,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.10.0-alpha.1.tgz"},"maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-tracing_0.10.0-alpha.1_1587659970673_0.04568361121694542"},"_hasShrinkwrap":false,"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","publish_time":1587659970844,"_cnpm_publish_time":1587659970844,"dist-tags":{"alpha":"0.15.0-alpha.0","latest":"0.16.0","next":"0.12.0-alpha.0","next-v3":"0.300.0-alpha.3","rc":"0.11.3-rc.0","unified":"0.13.1-unified2.1","v2":"0.16.0"}}