{"name":"apollo-tracing","version":"0.300.0-alpha.4","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"},"dependencies":{"apollo-server-env":"^3.1.0-alpha.4","apollo-server-plugin-base":"^0.300.0-alpha.4"},"peerDependencies":{"graphql":"^15.3.0"},"gitHead":"97073f33d30f2d682655eb0e4dce1d7d43721807","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.300.0-alpha.4","_nodeVersion":"12.22.1","_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-GWk2fNV5SHqJuqaRnCd/rZ2ItafwnGhX+wp7g1Pk5mnxwQyAOuUxRZyMfaOUbeTy2dHUxE54sgS15wfJjdYUNg==","shasum":"4fb67715b36834c2055d343a818aa22d97a4801d","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.300.0-alpha.4.tgz","fileCount":8,"unpackedSize":14304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglFAcCRA9TVsSAnZWagAAqI4P/2JyZMMk/b3Uz82VTqqH\nIJF2MV9lyksghPkMsMThQ+qq6nBaPLM5d4AtLCyYYZN4v8WCdywW7Y3KliDO\nnytw0j+d0JF06Nt1vJyzyCP0L9DIZ9vYo4vTmb1vUnNqDzVNrf6usyvHWeQM\nEaHrht7s0wsd/PgU10p64AxLqRtIwS9rQk+NvouWOpDe/bKgo85dt6eVsL9g\nlGXyYhK2XxCw+tjqckLw6acAQCdpkLYT3zQzwT1GWloBT7R7RcZHmBPlS8V1\nvWEN9QANjmpQimIyDEtIOzWqpaiwg6w8HKKQIeswdqLn/Mycals2E41D0//W\n+I1WIsPlSeqfGdCXbF7/YEOo8kQbi73OPc+FWaXGNq7IaDiZyLOqSPeYxOne\npT62PAsiADyrw1g4UATtJzszJFfI3ASUoZEawdSJZJaAeqEB1zIzGYkTc+Nq\nPpma8R0Mo8UZYkXulrUDKbLD4srR74qXsx2I6ArJ65Nq9Do+E29w7NNFQEZs\nq/+klTgFICw0rTNtQhtRaTS/6RKinSyzSZFvNEh+wCxOOb7BQ00dBkqH1vkA\nLnoXbyBPSdmxKXIt8BieLhiw94sbze98MuU/H/qyrJZuWs+OsMxRzcv4de/9\nSbSHD4mK+NCK9igKZjWppVoTEJLD+c8Z7F8c1Kv7Lu3qf/IBvl2Oom+YBgD2\nh6jd\r\n=fdRS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGE43LxJwBDaCy4HeEMjpMKXRTflC1QdUyRBSePSevqLAiAMTQl068AUzWWdlGD1SIwM7CuPJktADKHlOTd7IMxb0g=="}],"size":4885,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.300.0-alpha.4.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.300.0-alpha.4_1620332572121_0.8070880014146646"},"_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":1620332572267,"_cnpm_publish_time":1620332572267,"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"}}