├── .eslintrc.yml ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── example ├── server-pg.js ├── server1.js └── server2.js ├── images ├── distributed_tracing.png └── http_timings.png ├── package.json ├── src ├── cls.js ├── cls.spec.js ├── index.js ├── instrument.js ├── instrument.spec.js └── instrumentation │ ├── express.js │ ├── express.spec.js │ ├── expressError.js │ ├── expressError.spec.js │ ├── httpClient.js │ ├── httpClient.spec.js │ ├── index.js │ ├── mongodbCore.js │ ├── mongodbCore.spec.js │ ├── mysql.js │ ├── mysql.spec.js │ ├── pg.js │ ├── pg.spec.js │ ├── redis.js │ ├── redis.spec.js │ ├── restify.js │ └── restify.spec.js └── test └── setup.js /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | .nyc_output 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/README.md -------------------------------------------------------------------------------- /example/server-pg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/example/server-pg.js -------------------------------------------------------------------------------- /example/server1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/example/server1.js -------------------------------------------------------------------------------- /example/server2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/example/server2.js -------------------------------------------------------------------------------- /images/distributed_tracing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/images/distributed_tracing.png -------------------------------------------------------------------------------- /images/http_timings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/images/http_timings.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/package.json -------------------------------------------------------------------------------- /src/cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/cls.js -------------------------------------------------------------------------------- /src/cls.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/cls.spec.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./instrument') 4 | -------------------------------------------------------------------------------- /src/instrument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrument.js -------------------------------------------------------------------------------- /src/instrument.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrument.spec.js -------------------------------------------------------------------------------- /src/instrumentation/express.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/express.js -------------------------------------------------------------------------------- /src/instrumentation/express.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/express.spec.js -------------------------------------------------------------------------------- /src/instrumentation/expressError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/expressError.js -------------------------------------------------------------------------------- /src/instrumentation/expressError.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/expressError.spec.js -------------------------------------------------------------------------------- /src/instrumentation/httpClient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/httpClient.js -------------------------------------------------------------------------------- /src/instrumentation/httpClient.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/httpClient.spec.js -------------------------------------------------------------------------------- /src/instrumentation/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/index.js -------------------------------------------------------------------------------- /src/instrumentation/mongodbCore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/mongodbCore.js -------------------------------------------------------------------------------- /src/instrumentation/mongodbCore.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/mongodbCore.spec.js -------------------------------------------------------------------------------- /src/instrumentation/mysql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/mysql.js -------------------------------------------------------------------------------- /src/instrumentation/mysql.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/mysql.spec.js -------------------------------------------------------------------------------- /src/instrumentation/pg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/pg.js -------------------------------------------------------------------------------- /src/instrumentation/pg.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/pg.spec.js -------------------------------------------------------------------------------- /src/instrumentation/redis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/redis.js -------------------------------------------------------------------------------- /src/instrumentation/redis.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/redis.spec.js -------------------------------------------------------------------------------- /src/instrumentation/restify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/restify.js -------------------------------------------------------------------------------- /src/instrumentation/restify.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/src/instrumentation/restify.spec.js -------------------------------------------------------------------------------- /test/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/opentracing-auto/HEAD/test/setup.js --------------------------------------------------------------------------------