{"name":"apollo-tracing","version":"0.10.1-alpha.0","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.4-alpha.0","graphql-extensions":"^0.12.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"gitHead":"626c4b6505ed98d47855712a568fc4eba9d8ff18","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.1-alpha.0","_nodeVersion":"10.20.1","_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","dist":{"integrity":"sha512-DEVHP4niQRxAEgp5FajotioXzpzNdBcqCfjBWAvF++yCHzYVasFQe0qwMw3uadi46xvPaX2hG5gTrSCiMgdqUA==","shasum":"c59443a7c39d84eed1fa3ad3b9be12d115c02f8a","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.10.1-alpha.0.tgz","fileCount":8,"unpackedSize":13712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetbfGCRA9TVsSAnZWagAA71YP/3ZzaspjWU+GCmMBl2aI\nM2YcaFbbRt+OYAs90M7Gi54DJbHbE4w8qyXYuLVh5paHGEB8t2wrw3pXdJZI\n7uq6L+cwTKYy4oQd+ZkJTNmViz9UECevHSqKYOqYv4GHfTvyqBVmBePEVmjP\nrf/CFktr5knrUaJqf/KWf+UuP/FtHx4E7PCN7C7bvu2PRj2fOWM/Tnlpic3p\nIN1WYvVwWydVOlYllvrwk80UJdWpRtiWmWrh6AXUg8ZjBl2Zm0PLvRo3iUOv\nM226F6srY/BHX4a5LOZQY7QmVuYwiJugI00mg05NPwiTbgNB2diGEKKlvq3z\n86FQGCyyXAeEZNvIc3BwcxbukNe/YKJL2Y2ulcZLBbnmHHcLiW33b6SMuSni\nL4IMOBO7DmmNR/Dzsk6pOxa/j/2BBMeMtsKdql2iep4u6F0YiCxcVLYynizi\nwBO39uci8UKccbi5NhKAk8eoKapGR7jqu49pFXvpZvkAWl+pnhceuTn9iZh9\nSuJhnTRrYLzKE3/v+Z63UM5il/FC0vk29WkKXrRktq+J+UD/urm2BPb+4R3X\nPUnopX9pZBfUSQmskRbju7QLvozjDmiVJwG04ttPK58fSQmiKGEue+WcWFrs\nlS21IOdYHi7UDsuS/H5R+oy/24W0UdDCx+GxvountZhht9PVtxht2eyDgJWg\nZDfj\r\n=ltY2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBweZ9T4zaYStuERd8MTNV0lbJMCgzn0yKjrdlSJkpnmAiBafnvPv6IB+XXklf8w2EMvYChBDS8T0ylk11NJPrvRwQ=="}],"size":4807,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.10.1-alpha.0.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.1-alpha.0_1588967365567_0.5755457597974838"},"_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":1588967365738,"_cnpm_publish_time":1588967365738,"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"}}