{"name":"apollo-tracing","version":"0.6.1-alpha.14","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.3.0","graphql-extensions":"0.6.1-alpha.14+bd51b22f"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"gitHead":"bd51b22fcbccb6284e465f26681c5b359f13c05f","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","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.6.1-alpha.14","_nodeVersion":"10.14.1","_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","dist":{"integrity":"sha512-suvvM/g+a79quq6PuoiT8zh3dXDVGXzR1QrzXR39ADUs0DutlsKO1CvPs3NQJg/VJlpcRCo3FIoFTkcDBSSoJQ==","shasum":"c72526e791c02735b4ce3e6ca30e4b1bb7fe0f84","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.6.1-alpha.14.tgz","fileCount":8,"unpackedSize":13667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1NwLCRA9TVsSAnZWagAAtLgP/jMppZAoVpu1ZTWKBBUW\nYosQPAjPRBABsKB4uWusGHlJdDaic/wYFSNHbBlN+XnDlwg+ZNYqdUNV/TQS\nMYYaR7vd6qqa0pK/gxs1fz4GPlx1b3cn5HyyAgCHHB/fUPLF9mgkGk11ENE2\ntTnDKo26Y6wjgj35OPGu8/oGIhy0tuQJtyXDa9/L2Z6HEyw8Znae/yu0kc72\nb60kbRfF3wK9KyXWJScTYDPM6zKN4fekywQAcyShWUP+quMxc8SPC7fJG7cc\nkatrLU1nvxe9lYjgSQS9uyoVVSMHnq4m2qqY4b6DczKkDCdS6R3RfHBUciAB\n6pVrtB/0HSEVv2osZSimQnlMDvtasUfZmpvF3jzpLLd1NS7z8rbUcBUlaUOh\nq/11P/VP8ulV4n6aUNloQN4ZDhbKBYEGsMLAK4JWvnlnDc0XQalHoly+cLNR\nVCfjRoeCm9FkHlA/Nvnah8N+1NJGsARryC0SCDkjJgX5QofF/9ze7OsFo/LZ\nYaKXAYMs9QrJh0BDp/G5yaswctxUrTKtzC5feQ40O7+OXyUt6lX1QNCCWWJL\ntu5NZbMrAPYvuVHNXcXcdDOJBl4EMTZ3MeOo6hYhM0PwZlLnKDR4Gobnb1S4\nCAIDFIbWJhXe/lWXabAgZei7gQqk7FocenMSWffJhgc52v+RzUtDvmfZLb44\nDZup\r\n=JVIz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHON9Occ9Rm1NFZRRmjpvVPUPxD2mbWWL/vNDyKiV8EKAiBU4L51UjRMGpgaOHP+p9y2ujLbDPnyzieMQOku+9J2sQ=="}],"size":4763,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.6.1-alpha.14.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.6.1-alpha.14_1557453834899_0.23894598820160007"},"_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":1557453835109,"_cnpm_publish_time":1557453835109,"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"}}