{"name":"apollo-tracing","version":"0.9.1-alpha.2","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.11.1-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"gitHead":"34c707246f8df95a1916aa59469e78fc3144c8bd","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.9.1-alpha.2","_nodeVersion":"10.19.0","_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","dist":{"integrity":"sha512-uDMWBpcXgmmUs+UKdY35ybQ8ysonH+IfVPZ6vvdaxoZzk8aLortqdZ4RGKulRjajzuRH693arCWBGS9aeW8eCg==","shasum":"67ed2e01d270247a31a470ef56bc2069fc37fbe7","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.9.1-alpha.2.tgz","fileCount":8,"unpackedSize":13708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeMplCRA9TVsSAnZWagAA9XEP/2FuT/A2h73kDdXSkx5K\nU5kairCQ0ZxRnAi+IvsmGitzlh0f4RzmZSPTMZNMPogdJeUoenmVOBVA5mqV\niQhed9e9YaIPGnbkalWLibYICw2FA+vz0exh3WlKR61iNeyCbCbb4kpiFvvu\nj7o2F6H3C+ZegyVCGZG19+fimvvAaqMWbbt7mxnOffszfwTfbo5w7wKZr6bD\ne4+Y7UjXMaR84SuwWmemka+oqrXMzw+poZ52Ky63aZVGhQdoGGt8l2kfo7OJ\nwk/GY/xpXP6NsVJ8e3Spc7Ac4UQ0J2y1wcX8V8nlQjQyvRGIx76PMzRDnwLx\nQXObz2QEtWryCL04OF7l7+CGbkW8yhdl3ry89AzK6Kk/q45ucJiK5UMNSwIt\nv8jQJQwz1pVHnbHaQF0W4KAH+PG4XDW6pU+09+3l2oZCT4MKY3y/4VHr352O\nCo+FI5fOSUMVpKzfzoUC+3LkEvXd+iS+OXopxyzTIw+1Ye/AzH9xVH9C4fGt\noXVCdE32pY2Nzjeqaj8lR8iKS9pugOjlhXjsxkma1E/kb+XxcIP3+FGlblnw\nBEnZz2jX83i5ebRoBqniNYIaP20xb3NyjBeu2pZ/f4+j0+409PLhqxkMvR96\n4L9qrEHd46hCdGcSPtWxJ4avyD2DnSN08WDncNinzJjtnqnQxIFJ2kzKdRUz\nQxLc\r\n=GaMn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGov3/OoR0qsdBb1U2WVUQotsvD+8cydW9CA7FGawubIAiAyFo0X78gker1QcbOXdUoSAKx6j19nc9F7xa/LsD61iQ=="}],"size":4811,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.9.1-alpha.2.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.9.1-alpha.2_1584974436716_0.09143481550737298"},"_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":1584974436842,"_cnpm_publish_time":1584974436842,"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"}}