{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"e5daeafc84d166440dd9ab8bf5a57997f2dcb48d","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.2.0-beta.0.tgz","fileCount":11,"integrity":"sha512-VaCBx1WuAGez3KUHJ9ndc5efNL8/GB+FQ7B29T0GG5UZUK5vYz97zgoiAT4jcFPGeDsLkqkFGcoMPitDqg41Og==","signatures":[{"sig":"MEQCIBKWwdJ1huBmvHPlhACK9s8EMQGGFGvucVd2qbgeF98mAiBP/4XDhlz07I+wDR8i80/4QDYQUvNh3p7tDtFu04pdxQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/MWzCRA9TVsSAnZWagAAkpMP/1sMZvcOP38f3/f3LRHa\nldrm4hpC8KHWOWpvf3cx1H2O/LjkVt1nFilKPqea4AtW9bHgg+EKmfjyYQ7o\nvBr5I+5nHbAZxnEImIBpjWpnIpOejKrX33yfRnIEMC4q7oiayV3VY7nlGx/a\nUSVUAe/ntXeMJcg7/krYS9b+5CcKAvYDr9Uv9SA4ItKu/oHQNUIDRf9aItKG\nVXzB4I5yprndaga8zOCy1VVkhfDu6aUvBctNdxOEP7C1oVrCXE1cws5khZdy\nh6hPOdsPQytQcKQXhOQYNswPHoKjfoPrxEsLNBcFKjqBz+IgRDthyD1IDsgH\nSnuWPE7cwRq1ftmBW55CCE+fv2Ba74ciJuh3fUVutCbCIWX9WzZuI+2hGzmJ\nIJzDghq9qhjFY8OskVajtZDXFmhUdt2gmePwaX25BiY0etaYbzzHfxNj4o3Z\nD9CUBRK4KqVEuO2Ab0ETH8uyJgEGKhuxEJ7NG+MMe/fgaBgaEFeO1HA3E3N0\nedrkfkHI4p4zNWRVDxC1cNiuTFD0RjX5lqi+9A97MFYbg3MxtOkyIq/stSnP\npZQU0F4Eh+V5rQLpFZfV1FCFIoQH/XfVymqi8Bq2W/I1SQKRkZi0vtpJjVI2\nIQDCQB36RP1Iiga8Q3xbrDOAgUP+/WMy9nBbJF5lpBco9846l3JuSW8ogooh\nXbCb\r\n=8ijJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","name":"apollo-tracing","types":"./lib/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":"4c02c6fb0ac987d4f34d11de253d9a4246a7fa9c","license":"MIT","scripts":{"lint":"prettier -l 'src/**/*.ts' && tslint -p tsconfig.json 'src/**/*.ts'","test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf lib","watch":"tsc -w","compile":"tsc","prepare":"npm run clean && npm run compile","lint-fix":"prettier --write 'src/**/*.ts' && tslint --fix -p tsconfig.json 'src/**/*.ts'"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","prettier":{"singleQuote":true,"trailingComma":"all"},"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.6.0","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"}],"_nodeVersion":"9.5.0","dependencies":{"graphql-extensions":"0.1.0-beta.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^22.4.3","tslint":"^5.10.0","ts-jest":"^22.4.2","prettier":"^1.12.1","typescript":"^2.8.3","@types/jest":"^22.2.2","@types/node":"^9.6.0","@types/graphql":"^0.12.6","jest-matcher-utils":"^22.4.3"},"peerDependencies":{"graphql":"0.10.x - 0.13.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.2.0-beta.0_1526515122370_0.5342259799504261","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.2.0-beta.0","version":"0.2.0-beta.0"}