{"name":"apollo-tracing","version":"0.5.1-rc.0","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.2.0","graphql-extensions":"0.5.2-rc.0"},"peerDependencies":{"graphql":"0.10.x - 14.1.x"},"gitHead":"f988a30e8c655a10d33cde26bdae1e4c265cdb60","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.5.1-rc.0","_nodeVersion":"8.15.0","_npmVersion":"lerna/3.11.1/node@v8.15.0+x64 (darwin)","dist":{"integrity":"sha512-JG21v4fHJmgmit8NaErw7UPmetRj2Uv/5B0ED1SHvmtzYsJxc/BcyRVE6Rnl5RHFLU9GFW/q4e0NmihD9j4AJw==","shasum":"a0c69b28fd6b86c33ed60975ee5d7252454be1ea","tarball":"http://registry-npm.ywwl.com/apollo-tracing/download/apollo-tracing-0.5.1-rc.0.tgz","fileCount":8,"unpackedSize":13627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZWpMCRA9TVsSAnZWagAA2nEP/1eMap6DSJ0BwTMvoWZX\nZcrDRa9oW1vTovZNIA/PNeMJMsz3b1Wgw0W6ev1jmcl1sOAm+pPrBAf+4Oxl\nJKWXrQAH68btaQtjl/2iDe0kDXr+3ZxQMZDbm0rDuxVLcdCcNaUo+hU3sFdX\nx1mZyKQQKdzjf1j0RyjUCwqAVjh9+qJz2kQqB9Bfa31s0ucer4DW2IHlRf3e\nU8+su2ahwMkdtb5XQllmLt92AbpsJHO1mfRAh/tnuKVJln6bXeKNhiy8/gLX\nfgjJYfvaJl7zjucY+MZqBLl2ovORG8fXU4aZp8Qg0cPo0WHCifWmbdCG45cj\ni6x80njfBambrUwIDWWYdV5vziVJevyj0Ph+N+fLq56qFxWbtyXa7twEopz2\niucd7YvmKzyUktnwxFiRn33VEp4LmI0aq719ZqfHMlyAqwnIDcqixjnowQwW\n+s+BVdMASg4V9f0fIza6FX349c2jnmc2j7DFwwaSyjC8e7g2utGAccnAOUkB\nsy3x+5jb+pLmoRB4t2owt1Bf2aqCzvLINNwQA+zrcLtM5egdRm2TpI88xQhg\nuQrBuqObtMGNECDyP3VriHbE+C05z7CblWzu0E8YQonxEthS+Ja+NGtz2BgM\n0S3eZGj9m96axsQKM2GsfOm/zMBV5S4YokVhXwztTLCyJ2bt19GDGzJUxIoX\nxOAg\r\n=rhPM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB7blu7m0No9WvvYBylFL4B1GMuXq3HYtJ6Qe/f0p9rwIhAPIqVl8mEhUYSe1SgKC2XcfcbJA3TVs0102ofm9VsTGD"}],"size":4752,"noattachment":false,"key":"/apollo-tracing/-/apollo-tracing-0.5.1-rc.0.tgz"},"maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"martijn@martijnwalraven.com","name":"martijnwalraven"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-tracing_0.5.1-rc.0_1550150219841_0.5910088094025476"},"_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":1550150220143,"_cnpm_publish_time":1550150220143,"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"}}