{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"9f07f81f051ba8527caacbe9358147c74e46258d","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.3-alpha.0.tgz","fileCount":8,"integrity":"sha512-eCOGlmmfPJmTjbS3BBvaiJNCp413DYH1ezc5Ya/4gcseC/vKj0RaYkKXPeveRAPt05KJNs6dK5iyyIdqc7SI9A==","signatures":[{"sig":"MEUCIQCB+1fxlzvlifHJG0wNih7PtaiqU37/63euk6s2hLSlaAIgR1xhWt56XBdNyMhvmOabBHIVxZiYYFgj0hZifGCB5Mk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDQr5CRA9TVsSAnZWagAA3E8QAKUVfoLbVQ5qpintGYSo\na8PKw5mOcPF5+SDYaYE6hhOrUNr+Mr+e9C8/+yNhXWD8luz2S1LNRHtUQsXw\nNtcgB5W2ll5CiiY6KCUwwkBgIzZG2eFeUDAK504eeya21KQbsR82iUDRLhMd\nRBkI3orbNdr4VZFsdFfatPBQJC+LLDb0zc4bnYcI2UYoKSq7vKL0eIkTaswo\nZQRO2rZuYeg1tQ2TIURy5YdhqyWJf99mGApaqfLMD5GvgE9Fvc7mXlqdz1Xh\nW8jkdCeoPKaa9WgFk7ckap5tREDnisxKcNPvW2sihzusWHlVr+kbPKnxKyYM\ngIy9JI3simGPUgVUfduyz6TkgM1GLLs4WbUH3Cr9slIZMT0gaym4gMnxO28P\n1g44BjfOc5ObK/sc7JFnbW9nGtEOvnbp7LVgCdx6ZH0M06Sq1UA0+DwY4iZ8\n0L9OVzzeqoH3kogZV0Zp6frV2AtTiUBkQYT4yr4Vae/ZwSd/Jhkr0HGLWXaP\nczhnKs5edi1pY3JM5rABYMwhBezcsIF+5lGIEN+8QCaepbH91e9tNLzv/SUN\nblBqUmMA9/IhqcBXs5xXV5VzwEyd3/D/YmOsdGM8LQ1yexQwZUYAr8ZUjeSh\nqdprkolmQMN5lHIjtWPUKTXSaIenetPRVsr9Wrn/+j2wgNga0/A4tBcN5IxT\n2CA5\r\n=Spf6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"apollo-tracing","types":"./dist/index.d.ts","author":{"name":"Martijn Walraven","email":"martijn@martijnwalraven.com"},"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 Engine](https://www.apollographql.com/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 Apollo Server middleware function for your framework of choice. For example, for Express:\n\n```javascript\napp.use('/graphql', bodyParser.json(), graphqlExpress({\n  schema,\n  context: {},\n  tracing: true,\n}));\n```\n\n> If you are using `express-graphql`, we recommend you switch to Apollo Server. Both `express-graphql` and Apollo Server are based on the [`graphql-js`](https://github.com/graphql/graphql-js) reference implementation, and switching should only require changing a few lines of code.\n","engines":{"node":">=4.0"},"gitHead":"ec329472a9c779331132a0ec4ebec9ab9709ff8d","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-tracing-js#readme","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","repository":{"url":"git+https://github.com/apollographql/apollo-tracing-js.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"11.14.0","dependencies":{"apollo-server-env":"2.4.0","graphql-extensions":"0.7.4-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.7.3-alpha.0_1561135864610_0.8023766645243504","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.3-alpha.0","version":"0.7.3-alpha.0"}