{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"c80fa9df7f5388b144e955ca54ef3b00b1987785","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.3.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-Uw1ZX3eu1jxhjVi1j1BVotwl5jk0qWNQ1MFaeZcuaFhxGqiXO6yqtAQt7lFWz7MJrvuTndzQXTKk12xhf4I+Ug==","signatures":[{"sig":"MEQCICgmd8N3b7fK42mlaHFgMM1SAaPjxAscPfhz3d5NRbbFAiBeM0OEPqZLnwfSpt4y42ByXy/Xfn9hfllILhOeER4Xxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4J4XCRA9TVsSAnZWagAAta0P/j9QfX3vxFlE4k7P+z9a\n7PWAcChi7bJKXxY1l6SoS4LiFyIizdMWxG/4hbYRrPU/PiZsEX7Km9csV0os\nuh1L0KShpi/UmHFgBy+xsk9jwCxkluB6idZ+J4Y8XVUMxHGZkjEuTgH5gy2K\n0GrB1R1wzi7rv/yomL6boqngNGDScxtFuI/iJKNCYxH3jtKHsJIPkvFQXUij\nH3QgEiYRH+kavdPkBqXVS/PydKi2VjfDYOIHKmsdOx6hRC46rzXdEP3JshLA\nd92umXQdr5meXihfvz2aBSNSchSic1G52LFcFLihBVCHOIjOhWvqq0tQ4kI3\njaUD1n+VUL0Db7/K5h+KqBmDvoqC1qm8+GeFNbt4OZ87USLR1/mLiVP/aw1y\nCQMVO2U4x5iHSukkxhuENF2+Rf5NuhB0sbUr5EH56bCgfgWMxaVHggtz/X6T\npyex6SqX8iu0VionRSkXN/QrWFyw0BW0uL6cQEtISVirhe3OOhtwYw6x7Xe9\n0IEzN/NUAOxN3Vkz4ZtSBlSLjnOREJbvNlPss0TTqzou1zmi7Z861prqyqRz\n1SgyEOwtv7BD1DIcy+DZul6YK1q2xZgPhbdLRozGSzflg6WkcOOMh/MEW5rD\nqjA+N55p/bpFUDSSEWySvRoBoZjABibI0ZWQf7CbFE3lEKHq7ozqS5Vx+Sqa\nNE2s\r\n=NiST\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","_from":"file:apollo-tracing-0.3.0-alpha.2.tgz","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":"a6872c2f6ca2db03e9f237510b3fc6802d390785","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","_resolved":"","_integrity":"","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":"6.4.1","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"_nodeVersion":"8.12.0","dependencies":{"apollo-server-env":"2.1.0-alpha.1","graphql-extensions":"0.3.0-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.0.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.3.0-alpha.2_1541447189603_0.971818903940129","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.3.0-alpha.2","version":"0.3.0-alpha.2"}