{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"7e440ce9bc54399b7192cb53959aaa3be8719e58","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.9.1-alpha.5.tgz","fileCount":8,"integrity":"sha512-ds+opFNSUTOsU8Zl+lqXFNYYQQgNEirjTwBithNky7XK2Q+Rg1i55ufsCdyLgGoSDra7+dwUiVRdKuc+9pljPA==","signatures":[{"sig":"MEYCIQDAYBpT0lY05EEIMDUNj0zNI02PTgb8qjrnh2kMebmWWgIhAMbyxAT6MaAAyUaNMGBTqj/4oZtSVn4dqjClmQmGkHu8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehnDJCRA9TVsSAnZWagAA9FsP/3XlRrxb611PzaEh5/H5\nDSH8B2hl5S9XTKhadmxgcapDirkp5IXte348k8DyXDp5Kqu1FO/czlYPNPV8\nx8/WwU2xAz18tTTpAaYF79Scw7MgZ8O4OAuIG15bU5aTrBXOV6sdstWe/2Mn\ngV3LESBLMsFP2p2gr8z/fH8jrldXArvG6pqvldYpxNAft38irMURAhHn8KuZ\njG5++ZT16dxHD7IEQxkAdq26sUTglj2Q7+JIlHs1wzJYBuQblp6gZpn8lxL7\nSRMxB9zhBhiJLukbyfO7pIba2ht0+7nO+8VKyh9NtOvdzokNspoq6DtXHcGB\nON/IMV04fN1Bn8bnmG763IlduYIeA4iSCwpRIY4oooCEsHGRJcdzfBC6QAVz\nFQ4+DtY80JjrlxZS7DB3iUt6VraXeh/n9jEeOfqKpXYehUEAdABNsOd+hqEW\nz8PK7wY/28vKF+tJGcUKVRi1VCN/aS4zmadbf+KIXVO3vK4J4wJQxnFagH5m\njwNRKcZAyiN78qpsgiHiA5sTiaZ3XvhXf36odFKyy6rMUs3/KW6K+W/kF5Ei\ncwZbV1NTPPdthaJ9jWH3DnbC841ewM6AC6G65fnyfoivwIuumfX8kT1t1LUJ\n5R6TukI6+FmDTEtpPPsxCvmtyMr1gbFhGJhH4uC/f1ooBMzrAgzCRbsW9WMk\nrDNu\r\n=32q8\r\n-----END PGP SIGNATURE-----\r\n"},"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 Graph Manager](https://www.apollographql.com/platform/) (previously, Apollo 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":"c69557b0e94e15ab2ddd031ec46f20f58cbcb96f","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.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":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.19.0","dependencies":{"apollo-server-env":"^2.4.3","graphql-extensions":"^0.11.1-alpha.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.9.1-alpha.5_1585869001449_0.34042046610136056","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.9.1-alpha.5","version":"0.9.1-alpha.5"}