{"name":"apollo-tracing","version":"0.9.1-alpha.1","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.3","graphql-extensions":"^0.11.1-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"gitHead":"7422d70e19576f7e34aa289c535325552881a17f","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","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.9.1-alpha.1","_nodeVersion":"10.19.0","_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","dist":{"integrity":"sha512-C54RUHM3SNTcs6OLODHhBAqqM6vFJM/7VgkWOEGHuBrzx5sOgxQ7Nr4dcFemPzcd/a+m9HJfeYOfxOcoJUTpuQ==","shasum":"289122c1126903b5450b8542120b5ad30e62f3fb","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.9.1-alpha.1.tgz","fileCount":8,"unpackedSize":13708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecmOoCRA9TVsSAnZWagAAO2AP/R1/3+RbmYTdpEDihL0t\nq73pEzNM3P73YwvnJppaKf1tq3mHWNH+K3uyX6h5+P5S9k11q/XLAtGFaKvu\nXWF3ZmLDBkN0JJlQhd8AfkMQeUEKgTkRKoKtQdXLx6WCsbV4wL0ohzyh1toJ\nInAudV6VdIulpMGYxEOQkCWPLJpQTSo74XZ1TYonyE7sekxkQoFzpaknTFrV\nnu/+GDQc1lll5mG1XF6yvapjvppTpC79EHdFmvwDXMsup5cP5htesThDO+GJ\najo1+CFtMm2NmAoSAy6cqsNHpwNGpB03/FpMGIcfDgUr1tN4IGmcbPbIJ8ft\ngE2/OFa9SCOmbFMsG+Sb+gX1sI/lzgMG3YXqw3wIXARoywz2cADD6v3CN08l\nh37VJJbEHcfvgg6ywH0d/znltESXu15VUcNNswIDI3/6RDV8gknIFWoNC3oR\n7nAF6qfRMHw99l00l7SmmPBoI72v+1c1iejIrAmkmFIkndDQ9nubI4Pyvxzp\nPV31J49kIegRlkwGI9um+N+ME/31YtV3M/mr/YjfmKYnpQ4IhNMjVo1+YGLj\nXbfFlT2/HfLbno3p+26xLfXK/lJY8gu6nIjA6Gu3oYYhc146Pzu2xI0RbkgU\nnJaI+Xb3sH5bXj/3XNv+GH5MgrDKkhJOsR/JNYNzAEzHRsVEy6dvoj1DebLd\n6T7O\r\n=rS7e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWdBAYf/p/QyaCgMjKg7NV4AJ8fDc/hogsGrvglaSzcAiEAr+ngjpNVsERmONf6N2kQQjSgJjaatugsa2SSozFZt3c="}],"size":4813,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.9.1-alpha.1.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.9.1-alpha.1_1584554920257_0.5791588007069584"},"_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":1584554920348,"_cnpm_publish_time":1584554920348,"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"}}