{"name":"apollo-tracing","version":"0.14.0-alpha.0","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":"Apollo","email":"opensource@apollographql.com"},"engines":{"node":">=4.0"},"dependencies":{"apollo-server-env":"^3.1.0-alpha.0","apollo-server-plugin-base":"^0.12.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"gitHead":"3415b0708fed87b393d9f34ef9df9340502d2b25","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 Studio](https://www.apollographql.com/docs/studio/) (previously, Apollo Engine and Apollo Graph Manager) 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 `ApolloServer` constructor options for your integration of choice. For example, for [`apollo-server-express`](https://npm.im/apollo-server-express):\n\n```javascript\nconst { ApolloServer } = require('apollo-server-express');\n\nconst server = new ApolloServer({\n  schema,\n  tracing: true,\n});\n```\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.14.0-alpha.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-BZSeZcdoL3tmmxJJmFHAUpSgB/FMtzgWhuM4ySuEk8unUKf/dzk39yyqGcrkWlkziG/Ate7DIdJJLlzhb6RAlA==","shasum":"3c10bae16010564fa2713b48e144c1eb376d7892","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.14.0-alpha.0.tgz","fileCount":8,"unpackedSize":14383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgic05CRA9TVsSAnZWagAAadsP/1P8DkIEwzpYU68di1zv\n3HIOsAZkhuNAqW8a8k07bmUKUcTZuVRmZQMHgBRA7wRRUJd/ym5TnbR1iHvy\nPPWxGTuw2BAv7COPkEQ75SxWJq1KC3mMUqjX2wHy+qI37j9lCr15ssgrnQGn\nuA6MfaC05ih+aQdMRCpUjYGYgcR8TDBY0ecfkYGYEXdyuuCJUv6ZT4WpvKkB\n61WZ4rR7cIr6wVAihaVkb8vcAz/tzQERnpfQh1iZfmjF1LgwzkSh0EkBuZZp\ndgp0rgXvm0s0TvNIKu+BkEkhNIppzh3MYjs2P86J2/GPyg5l8rE4tRcxgj0c\nZHNv2wKXIL2aFdW5tk4TqfevaRSfPBQ5R78Rjh9ageEjNX3mk0ohxzaYV31y\nFdz8dnVHJn+wYdd4h+A35bEttA/GY8NojAGYPjUwG2IcCX3on/QKF/hmwKE+\nfecxF3izIEkJrytM41n56FZHk86YUXf7rYcWQXIZHhQ6u4dV7uNEVJs0YK0p\niHXZx4guTANf3Wu2TYyywXIi+HCeAxPMtBQhSFMd4j8m8MnA+MCS/16FYx9T\nY/pKwjRQ1qezJx/zbTMNGSadgGyNoq3mQ3fUpq010YGICTRzJuAjEz2/wNJR\njNINeJiakR4vSk8CwffHRyxYOqDd7GD41JVjBU6cMAtyFOWxW14C9z9hYL/R\nBDGs\r\n=Nisp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdTS9dhaZ6CoHv23zue/9OewpY6deBdyInudQ9t5PPhgIhAKrQaM3yjZW92JNbyDhMNLUq8gB08s4rP0CtLsC0Ehuy"}],"size":4918,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.14.0-alpha.0.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-tracing_0.14.0-alpha.0_1619643705465_0.6523717164209049"},"_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":1619643705629,"_cnpm_publish_time":1619643705629,"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"}}