{"name":"apollo-tracing","version":"0.5.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.2.0","graphql-extensions":"0.5.0-alpha.1"},"peerDependencies":{"graphql":"0.10.x - 14.0.x"},"gitHead":"33d1f828141826f4d874aa783fa302e381101ab5","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.5.0-alpha.1","_nodeVersion":"8.12.0","_npmVersion":"lerna/3.10.5/node@v8.12.0+x64 (darwin)","dist":{"integrity":"sha512-6DkAxk6I6diGTQ8Z3t3gci6PIfCLez4M6+Vn/RYvHDzaxAuxsEy84U+3f2j8dh90NQVWGFEnL3uG+s0ekc4Fyw==","shasum":"3a656d899f2ad785eda7a3db3c9eb4f1b464e168","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.5.0-alpha.1.tgz","fileCount":8,"unpackedSize":13633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPxFyCRA9TVsSAnZWagAAKzwP/jTSLicpObQ1ROmc1X5h\nGtkJsMXqjwv+IuvEG0O/RQaIY7bV+aNUlcq6+C8YJmEqEQnWCm7kv/NRHupC\nMVbK1a99MwxZ0tiRgEvFy1YfWyB18+hv8HcR+BNDvBOTYXdwASQjVDMC8FkD\nbIyJlFux4CkNQ3L43/KQ7NgYfa6gm0abgLsPX8Z4v1H0FGVyiWiT6gl++ny1\nmUilKAByUMRVgx9jw6SWF07jMIEDqhBFUd21v2Y++0K6qx5N4Nu0zTIEnr91\nie2O1vlblQPzEI4zLfN6ZY1d6GcIRzetBXPOs7MacN9sJV4JVQdO5pWPgBMF\ntUmlAZcPYSQu3MmIqKsisutsziFy3HpVDxy+NPAlzKiateDEygOZbeyFYBun\nyb6fVgbJWhX47dde6zkVltrFi2a5FEXMI+lBcwdUFtVR6NfsXH9v+iMq7R07\nqIGsJJAc79aGBs+t3TD9yqo+PEdTsHyL+oenH6M5xr066xG7mfKGVy6MEfql\nQQo6+5qSXSPRUo3u4E+m7KwgLOe4zFmA4edFIbNzDBxVP+eWU46jhtE48o8v\naIDmM7wONYvGcMl+erjWaplHgbR5dX29SeIibA+lFNS53cxsNuWs5I6smAns\n9O1Nr2CQCkbPhh0lrdcyrDiODA0st2Eloajq+0yRLNU1HgCkpgqeLrs75Ea2\nVefU\r\n=z4ZZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCoSR5TgN4hO/xPrQHFM61nsHDfLIFi3oCsbw4LtWCKgIgYR4o9NXBeNHWgYIW6agxNTqwmA/kYG5kCHpyiRKrVn8="}],"size":4756,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.5.0-alpha.1.tgz"},"maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"martijn@martijnwalraven.com","name":"martijnwalraven"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-tracing_0.5.0-alpha.1_1547637105617_0.6401990256767478"},"_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":1547637105771,"_cnpm_publish_time":1547637105771,"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"}}