{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"2b2fe96149a73a22540bb30e82ed8d585aa37d34","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.6.0-alpha.5.tgz","fileCount":8,"integrity":"sha512-gvMXdsMjFPEKs9AunCjjxhi282uYEdss45dtoH2rCeggQWU6WV42vGl7UgKvAhKLb+UyC4sudP4ZFG+VGbTfXA==","signatures":[{"sig":"MEQCIG5WSXibZFLl/PlzeuGLUVb7u85crLd0JNObzR0zoB1uAiBG52nv1mToqlf2gpRqd2IEiNotIVaiuK7vzUgngWFyTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsFuzCRA9TVsSAnZWagAAVUoP/0+HaF6WedIr36lh3qdI\nHB3Eey6i930MQZxBZ4DaKoFl+qO2jH52RbbD36c3b754/5Fh9o8ufSWmerDg\nIGfx6pRFDjZL3kQxA9XWBEKq6zb0imWEUtcfXyjiSixHTLDQWl5/u+IBlRiK\n8usoO2XniExBt5F77Lzj1m9MgEOcvpvuTdVz1ZOIxswTU6UpwuhCpN0Teb9d\nboFV8LVkZCoP+r3eXIoYs2mgPu/J5L7ze7jGSlG1PWuN8xZ1OkvIVFndeqTk\nVJukDqLB0S8sEESam8iArYyVldL21WwR7qEcqd53n9tndKqT/9Szc/i2B2It\nLIwJJvs4YKhjTnUAUW+XfGGB+RROUqat9a7tE9AxNLwA9M5w5n0MvPxlhcQr\nQpIjozXuS7t7YPuDGV8L6zk/NBsN3WHM11fyJQZO5xRb7rho7M75H2k9e8nn\nEIzyry1om/tlswtIsBv8VyzD2NQaEKAvXSkYIUHZVJv6IKFXlX+EHOwkhd3j\nIk0N9FSLlnCDsdWetNePBzrYYq0rr+laaAkhexgFkPRQOhJBEq/CQTW2eyNe\nzVC3tIY0T61c6qEXARbrOst1mLQcDMoAVCGjKdHpgmN3nRn2w1k0jd0b/o41\nkujsnHXNbJgreraA9QsiWBtuvB6eSM9D5XKvjEQfeCpfjevgGgRFik7j2r5g\nUS6y\r\n=akN3\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":"be2c7ac98e7f279de067f6914ebb699662426b4d","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.1/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.3.0-alpha.0","graphql-extensions":"0.6.0-alpha.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.6.0-alpha.5_1555061682422_0.7009800720981445","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.6.0-alpha.5","version":"0.6.0-alpha.5"}