{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"30bf5355997ca346c3adc9461acad8a3f750e6e9","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.5-alpha.9.tgz","fileCount":8,"integrity":"sha512-JDviOq/Uq66HUdKfgIvIujx3YuAPHv2E+0+dpk8LDEv7iXXxqVmuTQgsCo3MAdotZbc6lwrd3T3wBQDVquAbzQ==","signatures":[{"sig":"MEYCIQCyYliExyJs+HOmiV6doNwMo/SAMEAD2ecwWvESlp2VHQIhAI/TvQyaPKxo7VA0WvbR/q5a4jDD02ueCj9aAlEUCfuZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKkPmCRA9TVsSAnZWagAAGDQP/3qru5qTmAJpQNyOlpN0\nP6IZXaLQv1NVWptVvGVPU8bSx8dmavJ4uM+oiyJNnPoDkBRAabL/z0ULVIFi\n2izei6daZ2dDwL4BzSa3JVtd0n1ALnKv5jzWxWOv6knfgSB0lLn410pVi0ks\n/af6apRlIYcTleTDnCFlQTZV8GYAGz6X8QxGPtMt9NPqFSD8R7/I02cAwMBw\nvAt43mdwB5RtvVRBgPYgI0mdZpZ2eM8OiNGSDGbE6IHB8TCf7KMBe2z88MW5\necmS5C4AtD8hsKwkRTRuaQNcZY1xfdMwx02+4OuWHuT6X8D5nqizXZoOa/dZ\niH5FDLLOymzRCCa5HV3KjCM6QLzKE1WkKeahCJvpKft3EomrnGPGIkVoLoU0\ndpdQ5di3LAq0x0qPIc15rk2B3RWdBcddg0MtXahcFFYu90qOWMDiyE1hscFx\nWBgAOSo6foCdoGr/FhCuGMDa6rY6vHaEpjKPdbYV/3BXkKNmiSqdSlI6i9El\n7bQ9RThurPYlBBdWtp+dnxiCjf/FeI5vhylegoEkqNjwnYntzLPPLZmzM7xx\nOOwfIwDXHH4pMxei+iX0Wj2UgZNjnqObeLV/sjdKF8pgKu/3I574BWSq5WoW\nmXLdzOTIYFz9tJn4VbMbp41FB/eJBFZgAgEjQiCFaqUdIr3BqEofozw8rtIJ\nfmiF\r\n=bNVe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","types":"./dist/index.d.ts","author":{"name":"Martijn Walraven","email":"martijn@martijnwalraven.com"},"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","engines":{"node":">=4.0"},"gitHead":"0b502808ff0151acc5ea0115f60cd080421500e4","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","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","repository":{"url":"git+https://github.com/apollographql/apollo-tracing-js.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"8.15.1","dependencies":{"apollo-server-env":"2.4.0","graphql-extensions":"0.8.0-alpha.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.7.5-alpha.9_1563050982268_0.7547531481093752","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.5-alpha.9","version":"0.7.5-alpha.9"}