{"name":"apollo-tracing","version":"0.13.1-unified2.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":"Apollo","email":"opensource@apollographql.com"},"engines":{"node":">=4.0"},"dependencies":{"apollo-server-env":"^3.0.1-unified2.0","apollo-server-plugin-base":"^0.11.1-unified2.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"gitHead":"414d1839ae9203ec4d7ea04af4eeb6fe11aea19c","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.13.1-unified2.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-bLigUZ1MH05ngSc6nOkWXztW9JsOIzmWH+f6619OL8uyNlWsX1Hfrxqp+lI9BgH/DYCn+LlJB+Q4tGvdvgYroQ==","shasum":"fb6820cc0374bb383140c949a781f90e45e05ae6","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.13.1-unified2.1.tgz","fileCount":8,"unpackedSize":14392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiI1dCRA9TVsSAnZWagAAaf8P+walI1ccwsVFi/1yiYv2\nRKUC39A+JcB7AKPtpqDBshMOdSwhTkNooDIE4poBYe8hi9kU1nEJtwoZnVLD\nUQTV09YZRajb7K4lQkZ9lKtAE9yojzvy7x+4BE1Hy4dCf1EWee4LIWeRHjya\nPpLrQ3SiYbsfkdmrwj8tjlSVAg92iDNT9IoYhZEKbcKoR4RkF96uGyJ9/KIQ\nyzwkWqpIm2PVII8wIlrujCddcFC9Hi+99TwgCC31zdKt4vzGOBFOBBtp3mn3\nE0G13S0lwvTfLwxAiPAExdi5c/HYdxWLjAKkPokt1x9ln1GE+ZisnSpufinW\ncZplIx9Sx3vSyqlCPUhke7EZbSf5nyW4DcouROTIaD5NJc394L60gapkN2LV\nKasyNHB+Uf7lclsyfufNXCF5E0+leh6q67xw4US8vGXcANJYMRi8j/AiqLMW\nvQLD8aemjPOzyGAWaFIVRUCXwvhSvD0QA7mSPaN0uEJihEGYJsfrSsrZJClb\nIGCV3oNqcakVu5OgHg/MUPOQFXPt4GmrzAZ3uIej7hXcgnfmTXQrxshOxvhp\nPnmvy/eTQGXrZvPlC6EgRNDtX9wal2fBdf6oyhvgulvQKlwOoiO6RdQ+YWSB\nxkdU2g4RGAzY0p1bCkMMgKwRRa2KXfgsLonl8SH64wruYWBdE48bvcfGwtB7\nLkzt\r\n=f3wh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbEMAxrgU48jcvTn2xIBv3aoqlJf02kqBvVneUyiJsGwIhAIlMKpPymeoztAspuEeKGKFpl36zIDRrLhYJ0B2u8Xwg"}],"size":4925,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.13.1-unified2.1.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.13.1-unified2.1_1619561821512_0.31025784950571"},"_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":1619561821671,"_cnpm_publish_time":1619561821671,"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"}}