{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"a7427576c4d1ba63c4e8882968540287106b1281","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.0-alpha.0.tgz","fileCount":8,"integrity":"sha512-udiKIkiWPSGUGTuAp2H52o+JqU+MUOBKTZ7yDp9bmbvz9SF3ppP4HjlLxuF6p44gLOJ269KMZdYMT9Q78FKe1g==","signatures":[{"sig":"MEUCIHe5TeF/OnMqmq8ap0iC73Bmth2JLrQOJdg64hIt0cxBAiEAtQrVJLWGN8JWQL0GVRJFzNhoQ8rYjVr93ZelOTn109Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2cQVCRA9TVsSAnZWagAAS6wQAJ9rSKumU95rPeyqiEvM\nmhilEb1zxtAJAZIRf7eytmfuycNHRzJA7z2o4eSQub8mqGfpfKAwP7ctD1xf\n7IZGlrYmpnwWZTwMooxWcP9XxzYSZpn5sE2Vj3aNVbBnXxRXXYvmEGp/shVd\ncQCGoFPm4EDb8NoZtyIt+RWbxah87C99igBfT1RPrX1+tVsWVqu9LITGNjvw\nOi0cCPsHQ/ZXWtM5Jr4KWDt4oZFgBS8YLHEKZXkpEWWus8eB9eVsEy/K0gcs\nLbWtPlFUGv56qUTd/XHzrIZC49L8y9YZDQF4OEFUsddbRgfRchxucJ8jri1g\nA+bliBBuyfTYqPO58hzLT1yc44W4+2xsr0td48VDuFAgCNqJNlykgkzmTh8q\npCyYJOn3SvyGZlLjyx9u6O82l6fvpDGT8orriFKwdpQkPVkqXtmquDyF30VJ\n/efZ+BT5kwf+Erd8dWvt1/eyxMakzBXJf7Je9Q63wtUJQFGmZiNrPfrcjt1S\n+DBrSsT360gn2UAcziv7WDlLby+E2Eeeo4ZUf96jfljXONnpSS6UYnYQmoa5\n5e7yVPS5ITRyULMXwP3n3qGmyWkI2n4lEp+I9RoEdn2v1tCOX/d33vm4ghQ9\nMSiJvvjOUy8FFjPV61dU2SV+g154GzNt4HxFK2wo08GiqBO+aF9QKjnZF6KY\n3rNF\r\n=9umx\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 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":"2c2f1b6ed2c79957de1cc11a298249f67f2c59e8","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.13.4/node@v8.16.0+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"8.16.0","dependencies":{"apollo-server-env":"2.3.0","graphql-extensions":"0.7.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.7.0-alpha.0_1557775380060_0.6266628576635784","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.0-alpha.0","version":"0.7.0-alpha.0"}