{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"feb7c6d5db816074495b5dc85f1de2993e562535","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.2.0-rc.3.tgz","fileCount":8,"integrity":"sha512-wGU73XGvpJcM9/sqctCAXEcYq1X9+kduf87CDsME1sQLOWIIyUb6J83ptVaEKH7ax4cGoFZPn7PT7UKzzdEr/w==","signatures":[{"sig":"MEQCIAdKtKpKd6xA95CMsJJFzqMIT5Vd6HznGT9fZ1tB6llTAiAHDs2sJU/l+gIGocqQSQxTe219WrF+krnnVTwzTf2hMw==","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\nwsFcBAEBCAAQBQJbTi23CRA9TVsSAnZWagAAL68P/iMKPpsIkS9grNaNqYZb\nRUnDwlGYXPWLSCsttpHfjtNLPATb1xHlRoZtQZwghzZzZFoyPqXvttu6P9Vu\n9ne+VGp0esYuJtpJAdbJTNOKLDYxgmxtamEIxGkRe1az2JNR7l14KtxV/Dw8\nRoA5eY6Un2oxUjQWpTA095v9sWauz8l6rNqUXlaW1e1D9uwMDynEVNXh1pfI\nR8WW/Wx0H44J3Joi/gpvq7auwG1dProimMPVKhYh/kV0peUkAg7+XRGdHxPb\nvkWO0Q35Wc9RqX2FnqRtvSLnisrU3xeq6bHGw+c4itt4qGjrn9W5Y65MR3jc\nvYdVIveOMnxS8EcNE1qBHVdfUCs6vSlxSPUKRvpr4fN2IESA9sOmNBRlYH/A\nG2c34Cy20nZtLx1GZUdE25NmnlDWUuKMkaISIlxD4+DAL5uBiWk9EUWkkihs\ndRhGkqZgOSOz31EQmceZvOf2Ev4B+jrBRlyTZQouxyha1gkTFy7x2xuznlgq\n8HVabGWEOVQesPG9HGBjp3H/nmtdWjLHsz0P8xCs8C7u6eJbY8Kb316mcH5k\njJqOVR5nl+v3rKzPcBWwRhDhJelo6HrYSt0zUG8ZQzyxUorFn+BhR0ntpTch\n+ve/0NjtxQbJBgZoZ1pfKsJCcU9yafnrDjtOOcyxWYVz6TqD42+z27ajukGu\ntLXO\r\n=noHm\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.10","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.3_1531850167135_0.29357985834305356","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.2.0-rc.3","version":"0.2.0-rc.3"}