{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"a24bf3ab54af0ae44ae72dad3226d27cd6b06f62","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.2.0-beta.1.tgz","fileCount":11,"integrity":"sha512-HgtfopnFh2Ki7JllZJhh2bpr2snv59Jo8QTlbziXnjeLCKPPdDkoqCMqCRFT3Bz6g7aSoqvM2H/umdDrSSwCHg==","signatures":[{"sig":"MEUCIGXtPeKEzILSO2384yDpMFTB/hlscPp+Pvq93X1k0BXrAiEA2m2KJ1uFnBwlFGfolRZt6Z3qpdGIdqeFoHefL5jW0+o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGtVFCRA9TVsSAnZWagAAUwUP/349I115JR97IepQ8e4q\naFWgH7R4oZuI13d9YPm2CpM/MDMbu4uxfEShNUYpXN+teZ+tqE7PdLlBW+M1\nccyWEtYlVTduiCyvdvsNXoKXlkLtPhnkhTOpkqqp0K6uGt0utPcNbHgp85DP\nLLXEHMr0YSfWuDLiptp0M5oXkjsOyJCB30FSuyaDYpQOu5T2M4yq2Nh30aQn\nHKHNhTJuoUkZ9jNvPksYnzJGVCqHNvs8O/+jyAbxpPfLjn0Kxf89V0/xvH2X\neobIF+/8n3JQ4Q17kwkh8E+EpsST0FhvAvLueFoEEoU5CsuC+NCSqj+j0mCG\ny3N0Wmu11HpgmY+31PIkvzkHx7KHRaRe5ONrn0Mp/S10IwWgm4j2YBXMKA0s\nv23uNnMCoj2uQmeN3eTpbExZ3xHaB3BFLxkaTeYat2isOkULZ1TCJq++sNcD\nUq1oDMuGDdV2fXvCCHGUyz593P0etuFRuFaD/jMY7S/Q+1ptfa+Tgve0M++r\n6+H5kxOBglVXi1eg40klOl5wSQgnOmf+BE37xHbP6hNgfxaFr0utgjrMx2KR\nrMVobs6ySFDvhfwgaUjYiUi4/fTGTXs1tjmXDTEhZgMdEpv71ftnuG9FD4IT\n9yUihbxHYkc3pHtgZvIK1+Php9afb9/Qw4SWHKqez4MgEdBlOZ4DHw9xL7iq\n9/t7\r\n=0ToC\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":"dcd40a29a2ef04173501f2a4f0d375e1b2e07f39","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.1_1528485188755_0.04044699711722499","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.2.0-beta.1","version":"0.2.0-beta.1"}