{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"d8e393fdbd16b0635b496ebb8438c0081397a961","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.6.0-alpha.0.tgz","fileCount":8,"integrity":"sha512-fec4S+Clpfj2zS1PyLSDh9LTYBc6eZzlNM4eA4NC0dNon51flEB1HeZkzFaAPSXbmnsc4mi7pv++sFxvxqFDyA==","signatures":[{"sig":"MEYCIQDztys44objSzRR+9PLi0XyV1m0lgbYoH29uvs9XtVwCAIhANPyCpTeyt8+kjbAgwkEUc1QPg9JzBVPNuw3xClW2OM8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclSoyCRA9TVsSAnZWagAANBAP/AgYcDU01IbJa42Om7LS\nFlb2MZOXJBhIOnEKeAjO9zhlnhOXT7OJ3v51XrFXJjOiiFNnKr72BJreP7Uy\n60FvbCuxy0jEd2yttfKabLatLptzdl4kxPshuY6tVv8IUf572yaAI0qiULel\nT5eKw9CZN6LNPs7vnutgAEEs0zJlX5gr0rkBfX4JKBH62ltUUC05hfshUZ/w\n14hsDp2sKzUF0KPH6ZIS5ML+njiKxf6KafseAGzNJ2fCUYQLjMPn1iZNzdOI\ncDwcBYtJ6eKEpC3F9kICndkQsyO0nQ1CdCmEQespTAQpA2RbNNn79gCSehyV\n65LMgzHxSbspYlKCqmPwHVqMKPqf6cQNu5BC/zYIBI9y+SqM9hPMcOZH77Id\nEr1nS44a0nZ5i8vKRJkz9uJInQ4t55drgXWJOgd3gjnmhCvhJWjKSBJa/QyW\n+/rrz3e1d8f48Zk6/9t6QGToDRjNqtBwvSAEXxyil+/1YQ8Ra77pV7RmpeyL\ngYZK8Fzy2zGBjwNms9FYOVadchcO8Ez8Vsdnqjvr1g4Sqg6E/qR5vO+bhw3A\nKFtBuj1jLwxsxRiydNDFlJ6Y0C99onifMOu2KcarQUH6/ccMgc7F52vx92SM\nYKcyb4b9/qPdDB0nyX5cfqsKmRcI8vOZCfP0CjW2sqM99ZCdkcZ/JaLeZQ5J\n4VZW\r\n=nZhf\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":"77192d647901443df54762544d2528eb8aab24ed","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.1/node@v11.11.0+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"11.11.0","dependencies":{"apollo-server-env":"2.3.0-alpha.0","graphql-extensions":"0.6.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"0.10.x - 14.1.x"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.6.0-alpha.0_1553279537920_0.009740594102064293","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.6.0-alpha.0","version":"0.6.0-alpha.0"}