{"name":"apollo-tracing","version":"0.3.0-alpha.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":"Martijn Walraven","email":"martijn@martijnwalraven.com"},"engines":{"node":">=4.0"},"dependencies":{"apollo-server-env":"2.1.0-alpha.1","graphql-extensions":"0.3.0-alpha.1"},"peerDependencies":{"graphql":"0.10.x - 14.0.x"},"gitHead":"5b8388323325c14970601310d7864b86010cbebe","_resolved":"","_integrity":"","_from":"file:apollo-tracing-0.3.0-alpha.1.tgz","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","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.3.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"dist":{"integrity":"sha512-pRujhigDYA/dXbkMz716kHzlgd1eUwrXas2pJugF5QG566FWeNcqRqeNGdNWAG3Vh0t71sndMSNe1KhAJ5zbyg==","shasum":"950eee0d750cba5f718d39741c0959861135475a","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.3.0-alpha.1.tgz","fileCount":8,"unpackedSize":13641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb01z0CRA9TVsSAnZWagAAh6oP/R+uCK+pmt3yG+FN7f9T\n44S+Rmqd0mpiCHYEsB5sXdyxP/7FyGTZcezUK18F2nDS2jyBTVx4GvgN8yd1\nRnUY9d7mG64rCGwjCq/UxmopBN8AB4vQPtwrKTDsigmo35C9QQzb94Nwb+Fl\nZuBMR2HIS9PkTs0U23B90g9tmFhVoZuSDGNwAKmaVlZJb+787GEtg91ZKTTH\n8OD5lDWpEHQwR0ZkPhfKvrorK55oAnCzF9KfVMKLr3uf1jugUB7aVt3vTmRi\nUegqT8HxtTrAFZWSbi6mc06M91xBGg+6jrDh4mFxp1EIHkONA+wenZ/xPyK7\nV2DFjicrkrBv++rok7yFzlOwGt7sf7wzNlHGVLrkjWRPyavoAI30/1QVaqwt\neT7v14vs1nmEpZqOypkyKpxPs6+Q6z72wQr93s1l8a1IYZiFU8uhbaomwYMA\nyGXPLedaFd5OwY0e141jiNt5pszUrFRm2yrkUO7n8Mh3O/St7nibXUWOwYGY\nJ9X1TL6Z/xd6SA2QLW6DXqJU5QGu2VroCTiRn//t2hefwGuBYH5omSU4uzL0\nuxuRxJDRYwALat7IvBtCLiQnmgfg2cvGLg26ZjCl6uxuie0gCYKqqkldUgFC\nNuf6Vm98drB1PHA3BjD3TYQ7qNMpAOmZD0lDSEhbGoBlWZetKdXwsnG+LyrN\niqs6\r\n=r/nw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQ6DnklIfaC59USKoteHK0vjdr8c67x7h2hum+2UqOpAiBkMljX2Aa9gCHFeAxfxXF5loNNmXzjigcGKfRXyZFoig=="}],"size":4753,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.3.0-alpha.1.tgz"},"maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"martijn@martijnwalraven.com","name":"martijnwalraven"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-tracing_0.3.0-alpha.1_1540578547749_0.27484463565655437"},"_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":1540578547902,"_cnpm_publish_time":1540578547902,"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"}}