{"name":"apollo-tracing","version":"0.7.5-alpha.13","description":"Collect and expose trace data for GraphQL requests","main":"./dist/index.js","types":"./dist/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-tracing-js.git"},"author":{"name":"Martijn Walraven","email":"martijn@martijnwalraven.com"},"engines":{"node":">=4.0"},"dependencies":{"apollo-server-env":"2.4.0","graphql-extensions":"0.8.0-alpha.13"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"gitHead":"b76ca731c7de2ebb4cd1cecff7e4d6c23f1f3b9f","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","readmeFilename":"README.md","bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","_id":"apollo-tracing@0.7.5-alpha.13","_nodeVersion":"8.15.1","_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","dist":{"integrity":"sha512-yOeCXJ9jj7Zp32MxxeE7DX37hXypPhglB55P1XzLEbdNh9+nbLNYnuvV58uYgahK3THuzxmMC4QjdViZT9GMEQ==","shasum":"94b0775db2d227941fb78434faacc30f4a3a7e81","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.7.5-alpha.13.tgz","fileCount":8,"unpackedSize":13649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLHSrCRA9TVsSAnZWagAAaVwP/iB3j2Sor519GrHfAMww\nSfexupRkrpdvNStIaly3OBzxqVD1CLGNUxTWPOZ/1wMxz/9g/zzHvpODD+TR\npIws785efAZio+aK3UeQrE0M86MyhPkIqk87GX40VnOk+xUJABAUNkl5/miz\nXDqwgcsH7I84KkQ+WvR9+rIdoelDPE7QU1VOMqIcy8kEwGlvitSq4nfXtO5r\nIJoqIH4lxVxS5F0XFZbWLrt7BfI4T/9JvHj6vX8M4+QOx14jXgoijcRqngb8\nlfmXyMZAjSt95S+Skj0HF6eDnRzi8ADKy17O0Hd94XGpBvGsCNJYjf7m1EIs\noUEPxPNyi17Gk8HTWcaQ6hb4xUMV3VcDGGifpb0X8VudDp2jE82wZzyamzez\na/1Kef3vH1/BZeH6sitP9xDmexqxPopOQaROcdUk2PAoDaC2as2KN184tde5\nTbng4IC1i1IvJVKAS6akLkrNtAmZkkV9coiEHMlCkt85O/fY1VlITJqzrSFx\nNTgVHabMnsGH9CZMp+znh0IpjLfrkFz6hKIjrxyhclTbDcl4EkrrixeDpoUc\nRlgSrJSdhQUPsyzyQQ2HJWAWcl3QNljMoKNEsTY+5dyLKnA8uGiajPAq8EuO\n68NMcLdaIvA/CPV8JFpM0mkCyHQa/9qxLri1/E8VQ5YVCqQ8S3sG6mawxfNu\nGPVn\r\n=y8dS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEC1GLimxyh11VCMqFbmaNlv9SEpJK5BXNQChQLYCe+xAiBz7AehEGKWrKYQP4YUvegcNxa1LgWaDXswbO/8GzuA1Q=="}],"size":4767,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.7.5-alpha.13.tgz"},"maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-tracing_0.7.5-alpha.13_1563194538337_0.40623041935197235"},"_hasShrinkwrap":false,"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","publish_time":1563194538583,"_cnpm_publish_time":1563194538583,"dist-tags":{"alpha":"0.15.0-alpha.0","latest":"0.16.0","next":"0.12.0-alpha.0","next-v3":"0.300.0-alpha.3","rc":"0.11.3-rc.0","unified":"0.13.1-unified2.1","v2":"0.16.0"}}