{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"6ab2621177030f656bbc94bf16d1b83ccc8ca299","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.9.0-alpha.1.tgz","fileCount":8,"integrity":"sha512-RPZpYnFKIutY6LXKpVjDmwlv+82OvvLIGfiG9FrqLg5OpTq43cHGZCadsqwYtSdPuL4QY5n5juSrnx0OCNDpXA==","signatures":[{"sig":"MEUCIGzWZxA9L5l9OjA7uulVeKJpb6YgarqKzBL0YxlrPgR1AiEAxnitiFU0bnHSOKaB/EJAY6FFgnlfT3QxEbm9JE57ae4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeU+upCRA9TVsSAnZWagAA/gUP/1axE/Tpw0gb8vlWXnR7\n862ef9X29klNRZX8ztvF2r8zmXk6Ds2aX61cFyAXAHhtsIUZihQfxqI+TFql\nDF9CHeH3H2KbtuW7avX5DJeQghSg1Fz/tGfzQ2iHfoBUmPEFHm+Suh3UrRQI\nQvoq+iLegSB1m9MO5cMwD5MeYwGuRmmhBzk6zHStYRJJxAw21RKPc+jAJgvs\nul9qr0vHyDaLpB42u9pEHeebvatfL0G2dHUvmDWkDVC15oowfMYCYCzR+HeL\nB2I3z8ryNaWokEqNy6fiuhPMdasLnHcXWdhpL4N0pekutq1oXCK+Bryo3xgH\n+AEB/p1xPP85Hu0mH3sc84hxg3OhOYEDre/OQPytUupabrkyLioShK3+65MX\nQuDisR8i+k5ltj8y25Gvjy6BgBHMws4YBdk5HS47HyTB1qxBxvb1+NipvRRN\nnngRjXJ7C1ChFRG5ESzlHkWVbays60mAu53gIk+tTvTeenDawRYgAmddQZpj\nnO1mFkQYBvcO1FSBKw02BLJqNw5V/x2AMy6CK7t3fI2i0BAO9Ye24DNxdwUB\nmpWwc3KjnL3q8pfM6C450l5Zh9cKP10DiBw3SQ4uoNqTMh8gtlnrc/eb81Mx\neAdcBEdsTgemz0D0m5gCyXy5T9sir6SppTYnMklIiigd9QoXGLWJUF1U1E9A\nqYdF\r\n=bVkp\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":"a07ce0fba5a78d6e1a3c0a08dfda1b449e6c16e0","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.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.9.0-alpha.1_1582558121045_0.2187886754112529","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.9.0-alpha.1","version":"0.9.0-alpha.1"}