{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"8fcd5a77dc010e556297b886062d34f773889b6f","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.2-alpha.0.tgz","fileCount":8,"integrity":"sha512-THpy4+u/YXyrriPBswEgD9shiGyoLi5/9ychht+WuAhU6aGCSVUTrKagXje6nERoPSFg/LIol09Fj+KfDRua2w==","signatures":[{"sig":"MEUCIDYnMiH3X4QfZxc3UebooSEXHpIdJIVFeZ6eLrFTNU5FAiEAle8E2RYJARykSvB2oC8aeGWC9VHdny+Vvq2hP6/o8LA=","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\nwsFcBAEBCAAQBQJc+TDQCRA9TVsSAnZWagAA07YP/2vd45CvosCnAhG39Y/d\ntkdGsXnXer1sS8ILhseXdq1sZEJvOvItGTvAzpDyjasGh+qOWKefHwYLFlP5\nigTA/iG1Y2cOj6ted15T3yATTbKunZGn8mw1hsjoxS4CYCy9TmJf55qtqUq0\nAq2+S8vUWgXtmg0Sy0AZK01k01Us6CWiQzY4Gf+OLoO6LdVulOa+UlvqKGHV\nSoNvcVb75tahAZl4BnNssQrMLVqmW7UMudPqJNG05YC3yViOnKMckySrrfWd\n0BCL8wBtU9iD6houX36igJ70VC2FMFNBOMGu+YABb3JbvUCzSLntaHHwJyxs\nql+rzBZPJ5yXp1wIPB7zygAr+L2fvNjyPKe2rMRoe5U2rBhPRWmDAVQLuNLX\nHYFVPPbRsGAlbXaYfAmR10IhDbf0OWWF6i+CVLobHbUVwNP+OvRy17OCeRAx\nMshFF09vudKYxjNerU7O9CODrQp4mbpL82QxuUR+xUiWjX9hbCDZCiogI02o\nd91BghkKUX062cdqAVp095UXUZKs7avUY2WNufaPQVAG2zLKG5b9M6SicNCL\nc1xQ2zvTp680U4N0GIHp5RYdSKTFSQYMcYWnNnSCYRQtAgZt2TXEUazKcGdr\nJ99zDJAmSn2VainCgdH6MjZZd9LYI3uocki5kC5lIt98puIZkbT83xqIcv3e\nflPz\r\n=3KO0\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":"d7d9180a88f22b7259742fa4f14cadcf34c557cd","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@v10.14.0+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.14.0","dependencies":{"apollo-server-env":"2.4.0","graphql-extensions":"0.7.2-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.2-alpha.0_1559834831793_0.8853566306016196","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.2-alpha.0","version":"0.7.2-alpha.0"}