{"bugs":{"url":"https://github.com/apollographql/apollo-tracing-js/issues"},"dist":{"shasum":"5e4d8caee1beb1f5374a6039fe8118b54d7434b8","tarball":"https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.7.0-alpha.1.tgz","fileCount":8,"integrity":"sha512-OP7ji1Q61uK58NLLOkjjO6lqeUmc/XULir20CY/ACTvs14+0fYZRpEwfH00BFGN8WnOV8KIOql+9QxR6FNujHw==","signatures":[{"sig":"MEUCIQCdL9gWuOGRCy2mri3gydH0lFvy225+YiK0Rr2ulymGMAIgb6qGl8sUShx9TA+hVBy7VaOLA3LTaS/uZJycyEKym2Q=","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\nwsFcBAEBCAAQBQJc5ZYtCRA9TVsSAnZWagAAR2EP/1tI9D4uwXftXeEg3gcx\nOUDrqtAm902RTTq+HP+hFe9FT0I6vSEJzbrAgX8yuNn8l6Jhz8t6xSwE24El\nnRR3/4+cYR1Iodtc9NT077iGmRbqjlY3UNpsyYeFUHw/Tmg82MJsgu8Bbwfq\nMqzwyBlBrG7KnXY8knwbkGgw0J/He/wfh9jyp8j6wOZ/zuz1SsE1JtwNcbQ8\nr6Axl+tIDK0vh8hyGeoMtB+IZNsx8tHY+7T/Q3DNm1kiKNYBVas4aoz8hEzp\nm00WVMUqYpOG38Ptp2Cu/xY2DkmHgkwNyLJtn+VfVYf9zkZPt9gX/tjbLTPD\nvgLgooumhB5Gk9ZTOiWb0GQJvtX++TB3IUAMkWdy5JlM4FhjXzFwy6P2H0n9\nhNjc561teFSFAOikZ6I9JbDSdNxEIlYXD+sHKGOvrF4rGsxrl9KobqqT4SWl\nxGEOJ72OPREgXqSn1fEMvuaENa1ugg4XBJrH8rlxdBuVL0+HpnuPg7SBPeva\n+9cnuG+2pgwb22vWUyAGBD8w5iKd9Iyht4YeTqZAv3Ty43OBdY0BeeXOJdJW\nySNrP+UQcpST1eejs21QdZBvSqN66A+efbNumfQw1K3TnGFBmgqQNwkFWXLJ\nwAO/CFtuH1qCCok8WXhgr4d25eNomlrWIKWTc+Uy2xxA+9di0w4JMgXCoTsl\nUxkn\r\n=6WEi\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":"81282f920f901994544925ed27f5a2c77f8a7120","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@v10.15.1+x64 (darwin)","description":"Collect and expose trace data for GraphQL requests","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.15.1","dependencies":{"apollo-server-env":"2.3.0","graphql-extensions":"0.7.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-tracing_0.7.0-alpha.1_1558550060965_0.5816241816662342","host":"s3://npm-registry-packages"},"_id":"apollo-tracing@0.7.0-alpha.1","version":"0.7.0-alpha.1"}