{"name":"apollo-tracing","version":"0.300.0-alpha.3","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.3","apollo-server-plugin-base":"^0.300.0-alpha.3"},"peerDependencies":{"graphql":"^15.3.0"},"gitHead":"15b90eec22523e32e00d97a51b28cbfba3f39c78","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.3","_nodeVersion":"10.22.0","_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","dist":{"integrity":"sha512-9x5rVAWHqRHPEfxsiVW5ryV9s4QAu7RqfyIF94abEEUV8HCVV4t8sTGGp7NPaEkCbCtscb7NAa4yYcQwzzDSoA==","shasum":"ed997f1fa1885650c00f35a57b593dd2f8ba9495","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.300.0-alpha.3.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\nwsFcBAEBCAAQBQJfNB+3CRA9TVsSAnZWagAASW8QAImMv6YFkf+T3Z6WCTA2\njjBpERqpRtBYHuf11Uj1D9YsMPyvwNQIppqIIy5QQZ9DAYoLm0CTmHrriJVc\ncTF8MAX5P5kKFQc6KB83uwPomt2R3j2N7z7ijBud8qukj4fnw6C2YcqHBbhd\nMfvmpKAYkCsM1k7/mobY3pbfQkHdJjlNRu8jDyeyh3q6mcShP+2Yv1zbpMKF\niXppb2iAiCE+gazN6W0xBcpNmDS35T36gzqzJJiU5NLNQ+RYwL4nnbhAI4jG\nHHbYM2cCh2QPCRaNh7U3dmhu6kjq5/ZJWd1XzET8B6g7nJPq9gc+wC34grVM\n6pBfaaqNlKuc6bLQRVnURgawbTWmEOYs5Mvv+pA8AOFEuggaB7rljYvpamx0\nSsUd6udcheGoRvpD3WwOfnlbkuh8FFWFE1MqaVHopuzdTibtSwBu2uED/z/z\nmLnV7P5f3MlGx7qe+uVaNzRUNn0xm+8lFt3XOT9hdRS1FF+gmlzeu3oHUnPP\nPgiEMbXjw2ztz/nP5MDiWWJs0X+A1Oc6SFsBkVjH8fmnF/ojA82yaYYnfiCC\nuXDzd0SYpkZ3K/iOdrAQvS1kYe7TmLHMbGYgmqSnKG3fa62ad3LMmvM28o9G\n6m0qmKaOSiFJ3q6H8LwkYFU67PE+PVi/DrmH5v3bhD+a+XOzQKVDj7+EHzCE\nhTPE\r\n=1L3T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHdjl7h5afXAY8nJW7c4CJDuu2JZ1ccHq/x0sncQ1ioRAiA/9MGjP5Q8vhQu7Y2mQA2tFUI82XXFaACuuQbCkXR7lw=="}],"size":4892,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.300.0-alpha.3.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.3_1597251511037_0.028405359190885493"},"_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":1597251511148,"_cnpm_publish_time":1597251511148,"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"}}