{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"d780e1e296663235c05064e2b34627f1d8047242","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.2.0-rc.2.tgz","fileCount":8,"integrity":"sha512-fJNfB96riiVRCob5PqO7TLXGcavKqI6IDmaZTJArPehFOgzSpNkjs9hj8vRgNQri6QsGAn6pwia7xDOjmbtxAQ==","signatures":[{"sig":"MEQCIFEDAxxtZ2SJPg9fMwPu2TfG220EdzlHKlQPL1Mj5pP1AiBZzbldRe+AB3TDanjf0YI/VnFz86dUgNyA17GC1hfelQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTisdCRA9TVsSAnZWagAA6EwP/3j+jo5t5LEF3MFpaWGP\n1dIMRj0oK82PYW51p7+wa/a9OW3f4M8Hv0NdN0VrvtaGfMAVgy0V24U/4Vwe\n8NfyTZoSLEe02c75sDsHIXKjB6rPpAW6JS6W4PJiWvsJ0lH5Xwd3nyHBid7R\nNiHQ/XhKHFXeA4rHokZKNXcX9wjsOxHm+XAHkX8s7VgEdvM4kTXQQeqHfXc9\n7ULDoYAWAzGFH8mB0DBASgP/+HYytyKLlz2P9lECNTqOSsDEgWLuqhF+WoTA\nF42ew+vIzyNkuYbLVt5U2AaCCMujxnGmt9MXOJWsY9BpntFoCHMjMm35mCgt\nU+IXZ1wBHDkTJE3pHHQvljgMK4xFCuKSBB6HAbhTQk1Cbv0LfN74/u/qAv2x\ngWDi4Gwy3GL7rXyBHdbIZBL9LHLBlpOVp/cu87EJeDm5ZY10Pfc/ldumFpny\noi4zDuI9yccJWpBy3AFad6GGJXt+kQ2MLGqtBNEjo9RtT2nLrOui3/m/Oa3O\naYGijVHmLbrzzNyFbfMEf+orTtJR1Duokd5tkM2q764cnyBcvH+xj2td2hAJ\nbO8+bSEY49F8v5usN9mdK2FKjX2JRpju1huvpDkc8xJ7DDuFinDTZEdQl+r3\n7YnZdJ4wYY/66r7SFsH2TRLGCwgp0rAbUkeKiaCtqaCzShGVZ0SGJsgEgqIr\n5Sh7\r\n=DZ1G\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"globals":{"ts-jest":{"skipBabel":true}},"testRegex":"src/__tests__/.*$","transform":{"^.+\\.(ts|js)$":"ts-jest"},"setupFiles":["<rootDir>/node_modules/apollo-server-env/dist/index.js"],"testEnvironment":"node","moduleFileExtensions":["ts","js","json"]},"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"},"license":"MIT","scripts":{"test":"jest --verbose","clean":"rm -rf dist","watch":"tsc -w","compile":"tsc","prepublish":"npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.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":"5.7.1","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"}],"_nodeVersion":"8.9.4","dependencies":{"apollo-server-env":"^2.0.0-rc.9","graphql-extensions":"0.1.0-beta.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.4.1","ts-jest":"22.4.6","@types/jest":"23.3.0","jest-matcher-utils":"23.2.0"},"peerDependencies":{"graphql":"0.10.x - 0.13.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.2.0-rc.2_1531849491029_0.33712278605753676","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.2.0-rc.2","version":"0.2.0-rc.2"}