{"name":"apollo-tracing","version":"0.300.0-alpha.2","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":">=12.0 <15.0"},"dependencies":{"apollo-server-env":"^3.0.0-alpha.2","apollo-server-plugin-base":"^0.300.0-alpha.2"},"peerDependencies":{"graphql":"^15.0.0"},"gitHead":"6f3711b589dca8079264969263266cd7b6010ed3","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 `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.300.0-alpha.2","_nodeVersion":"10.22.0","_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","dist":{"integrity":"sha512-t20y7/1jWHozWj6nFOvY6vStqCNO3GnwA/WlQ/rUNlOctWTRlmI/Ji7o0Mf8yiFRoMwsX17BN1/qXQt5pmZJPA==","shasum":"1318d2fb6b341299f9871a33299f447ce8c1b8c9","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.300.0-alpha.2.tgz","fileCount":8,"unpackedSize":14477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLGGFCRA9TVsSAnZWagAAkwsP/RsBQEH3D7WXOdBEjwYC\nrYVt18nlS9+G0KaDdcUhJ5TLauPXL43RUBnLS6P0wnfo17P1TsR9xD0xoEot\n2PcKhq1uv6CkA+I9cY3yeob6/zgHI5lIYA9Kq/BKaOLTkLdXqVPvUynzQ0Wh\nN1wtuHWtIgHJPkJVtaXCHaldR6ObT+dEr7TuJ1RMpqDm0BxbqzAHJjCTMLNz\nj1nPFp9Ylz3P3r0gQjvqU53yIUK1rzFiWaG2uB+P3TuSp5+q7rZsA3kOR/Oy\ngEuOEPxAOLu2ckOWoKHSG6maz9uKdtuvF+4M3WlxUpV/a3lH4e/KsDD5pI6T\nSa4f12t/2iJ3aqXvoDDKwv2SmONYpkLAk0Zg6VQ1NbkM7jvgZp5jR5ggklpB\n5/l870d8r6+WTvHoetvBO90LJ15MhzmR0/f8CimoE9+FrTcWmSOUHFiwicXz\nwuOuYYxb8YFgcVnPJfZjGxp6gpLrrW+f9cBbnB1KxX9/wLLDOuogsvFJ5fbh\nqv4vg/206xCIfXUhZZj8jt9Jmn1r33/dWirh8XgYMs+8qHR4DgYZPv7YRoka\ncYrwmc3AriCkt9rr9aeWQ9EgkEUjgjbyUOwkBg6z6GFPOsOChvGGOgPRLfX1\n6Rz7SV/6/on9l1X5aYANOeXSO9taeTQSMfnHDrnWxs6U1chz8EwywOyqY4it\n3Ev4\r\n=EKHA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4glVOsJ9OtcrcK2ZFr4L5RF2oesVm1UfcMN946lPQegIhALfcKNmdSr4jA5Amz9ParbHx4IjtgEaIr4e01fb5op4y"}],"size":4890,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.300.0-alpha.2.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.300.0-alpha.2_1596744069181_0.5430114644536437"},"_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":1596744069668,"_cnpm_publish_time":1596744069668,"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"}}