├── .editorconfig ├── .eslintignore ├── .eslintrc.yml ├── .github └── issue_template.md ├── .gitignore ├── .istanbul.yml ├── .npmignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── circle.yml ├── example ├── app.js ├── config │ └── trace.config.js └── package.json ├── lib ├── agent │ ├── agent.js │ ├── api │ │ ├── FakeStream.mock.js │ │ ├── bufferStream.js │ │ ├── index.js │ │ └── index.spec.js │ ├── control │ │ ├── control.js │ │ ├── control.spec.js │ │ └── index.js │ ├── healthcheck │ │ ├── index.js │ │ └── index.spec.js │ ├── index.js │ ├── metrics │ │ ├── apm │ │ │ ├── index.js │ │ │ └── index.spec.js │ │ ├── custom │ │ │ ├── index.js │ │ │ └── index.spec.js │ │ ├── externalEdge │ │ │ ├── index.js │ │ │ └── index.spec.js │ │ ├── incomingEdge │ │ │ ├── index.js │ │ │ └── index.spec.js │ │ ├── index.js │ │ └── rpm │ │ │ ├── index.js │ │ │ └── index.spec.js │ ├── profiler │ │ ├── cpu │ │ │ ├── index.js │ │ │ └── index.spec.js │ │ ├── index.js │ │ └── memory │ │ │ ├── index.js │ │ │ └── index.spec.js │ ├── security │ │ ├── index.js │ │ ├── security.js │ │ └── security.spec.js │ ├── storage.js │ ├── timer.js │ ├── timer.spec.js │ ├── tracer │ │ ├── cache.js │ │ ├── cache.spec.js │ │ ├── collector.js │ │ ├── collector.spec.js │ │ ├── event.js │ │ ├── event.spec.js │ │ ├── index.js │ │ ├── severity.js │ │ ├── tracer.js │ │ └── tracer.spec.js │ └── util │ │ ├── maintainedClock.js │ │ ├── maintainedClock.spec.js │ │ └── samplers │ │ ├── reservoir.js │ │ └── reservoir.spec.js ├── config.js ├── consts.js ├── index.js ├── instrumentations │ ├── index.js │ ├── trace-instrumentation-amqplib.js │ ├── trace-instrumentation-express.js │ ├── trace-instrumentation-express.spec.js │ ├── trace-instrumentation-http │ │ ├── index.js │ │ ├── request.js │ │ ├── request.spec.js │ │ ├── server.js │ │ ├── server.spec.js │ │ ├── util.js │ │ └── util.spec.js │ ├── trace-instrumentation-https │ │ └── index.js │ ├── trace-instrumentation-ioredis.js │ ├── trace-instrumentation-koa.js │ ├── trace-instrumentation-koa.spec.js │ ├── trace-instrumentation-mongodb.js │ ├── trace-instrumentation-mongodb.spec.js │ ├── trace-instrumentation-mongoose.js │ ├── trace-instrumentation-mysql.js │ ├── trace-instrumentation-mysql.spec.js │ ├── trace-instrumentation-pg.js │ ├── trace-instrumentation-pg.spec.js │ ├── trace-instrumentation-redis.js │ ├── trace-instrumentation-redis.spec.js │ └── utils │ │ ├── index.js │ │ ├── redisTools.js │ │ ├── tryParseSql.js │ │ ├── wrapQuery.js │ │ └── wrapQuery.spec.js ├── optionalDependencies │ └── @risingstack │ │ ├── event-loop-stats.js │ │ ├── gc-stats.js │ │ ├── microtime.js │ │ └── v8-profiler.js ├── test-setup.spec.js ├── trace.js ├── trace.spec.js └── utils │ ├── configReader.js │ ├── configReader.spec.js │ ├── debug.js │ ├── shimmer.js │ └── shimmer.spec.js ├── package.json ├── scripts ├── distribute-tasks.py ├── env.sh ├── install ├── lint ├── node-matrix ├── semantic-release ├── test ├── test-e2e └── test-instrumentations └── test ├── e2e ├── .gitignore ├── .npmrc ├── apiCalls.spec.js ├── clientUnreachable.spec.js ├── crash │ ├── index.spec.js │ └── testee.js ├── initialization.spec.js ├── package.json ├── publicApi.spec.js ├── run.sh └── utils │ ├── serviceMocks.js │ └── test.js └── instrumentations ├── .eslintrc.yml ├── Makefile ├── amqplib ├── amqplib.mk ├── amqplib.spec.js └── verify.js ├── bookshelf └── bookshelf.spec.cls.js ├── cassandra └── cassandra.spec.cls.js ├── distribute-tasks.py ├── ioredis ├── ioredis.spec.cls.js └── ioredis.spec.js ├── knex └── knex.spec.cls.js ├── koa ├── koa.mk └── koa.spec.js ├── memcached └── memcached.spec.cls.js ├── mongodb ├── dbVerify.js ├── mongodb.mk └── mongodb.spec.js ├── mongoose └── mongoose.spec.cls.js ├── mysql ├── dbVerify.js ├── mysql.mk ├── mysql.spec.cls.js └── mysql.spec.js ├── package.json ├── pg ├── create_user.sql ├── dbVerify.js ├── pg.mk ├── pg.spec.cls.js └── pg.spec.js ├── promises ├── bluebird.mk ├── bluebird.spec.js ├── es6.mk ├── es6.spec.js ├── testPromise.js ├── when.mk └── when.spec.js ├── redis ├── dbVerify.js ├── redis.mk ├── redis.spec.cls.js └── redis.spec.js └── test-setup.spec.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.github/issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/.github/issue_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/.gitignore -------------------------------------------------------------------------------- /.istanbul.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/.istanbul.yml -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/.npmignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/README.md -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/circle.yml -------------------------------------------------------------------------------- /example/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/example/app.js -------------------------------------------------------------------------------- /example/config/trace.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/example/config/trace.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/example/package.json -------------------------------------------------------------------------------- /lib/agent/agent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/agent.js -------------------------------------------------------------------------------- /lib/agent/api/FakeStream.mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/api/FakeStream.mock.js -------------------------------------------------------------------------------- /lib/agent/api/bufferStream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/api/bufferStream.js -------------------------------------------------------------------------------- /lib/agent/api/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/api/index.js -------------------------------------------------------------------------------- /lib/agent/api/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/api/index.spec.js -------------------------------------------------------------------------------- /lib/agent/control/control.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/control/control.js -------------------------------------------------------------------------------- /lib/agent/control/control.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/control/control.spec.js -------------------------------------------------------------------------------- /lib/agent/control/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = require('./control') 3 | -------------------------------------------------------------------------------- /lib/agent/healthcheck/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/healthcheck/index.js -------------------------------------------------------------------------------- /lib/agent/healthcheck/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/healthcheck/index.spec.js -------------------------------------------------------------------------------- /lib/agent/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/index.js -------------------------------------------------------------------------------- /lib/agent/metrics/apm/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/apm/index.js -------------------------------------------------------------------------------- /lib/agent/metrics/apm/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/apm/index.spec.js -------------------------------------------------------------------------------- /lib/agent/metrics/custom/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/custom/index.js -------------------------------------------------------------------------------- /lib/agent/metrics/custom/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/custom/index.spec.js -------------------------------------------------------------------------------- /lib/agent/metrics/externalEdge/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/externalEdge/index.js -------------------------------------------------------------------------------- /lib/agent/metrics/externalEdge/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/externalEdge/index.spec.js -------------------------------------------------------------------------------- /lib/agent/metrics/incomingEdge/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/incomingEdge/index.js -------------------------------------------------------------------------------- /lib/agent/metrics/incomingEdge/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/incomingEdge/index.spec.js -------------------------------------------------------------------------------- /lib/agent/metrics/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/index.js -------------------------------------------------------------------------------- /lib/agent/metrics/rpm/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/rpm/index.js -------------------------------------------------------------------------------- /lib/agent/metrics/rpm/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/metrics/rpm/index.spec.js -------------------------------------------------------------------------------- /lib/agent/profiler/cpu/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/profiler/cpu/index.js -------------------------------------------------------------------------------- /lib/agent/profiler/cpu/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/profiler/cpu/index.spec.js -------------------------------------------------------------------------------- /lib/agent/profiler/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/profiler/index.js -------------------------------------------------------------------------------- /lib/agent/profiler/memory/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/profiler/memory/index.js -------------------------------------------------------------------------------- /lib/agent/profiler/memory/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/profiler/memory/index.spec.js -------------------------------------------------------------------------------- /lib/agent/security/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = require('./security') 3 | -------------------------------------------------------------------------------- /lib/agent/security/security.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/security/security.js -------------------------------------------------------------------------------- /lib/agent/security/security.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/security/security.spec.js -------------------------------------------------------------------------------- /lib/agent/storage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/storage.js -------------------------------------------------------------------------------- /lib/agent/timer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/timer.js -------------------------------------------------------------------------------- /lib/agent/timer.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/timer.spec.js -------------------------------------------------------------------------------- /lib/agent/tracer/cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/cache.js -------------------------------------------------------------------------------- /lib/agent/tracer/cache.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/cache.spec.js -------------------------------------------------------------------------------- /lib/agent/tracer/collector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/collector.js -------------------------------------------------------------------------------- /lib/agent/tracer/collector.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/collector.spec.js -------------------------------------------------------------------------------- /lib/agent/tracer/event.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/event.js -------------------------------------------------------------------------------- /lib/agent/tracer/event.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/event.spec.js -------------------------------------------------------------------------------- /lib/agent/tracer/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/index.js -------------------------------------------------------------------------------- /lib/agent/tracer/severity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/severity.js -------------------------------------------------------------------------------- /lib/agent/tracer/tracer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/tracer.js -------------------------------------------------------------------------------- /lib/agent/tracer/tracer.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/tracer/tracer.spec.js -------------------------------------------------------------------------------- /lib/agent/util/maintainedClock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/util/maintainedClock.js -------------------------------------------------------------------------------- /lib/agent/util/maintainedClock.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/util/maintainedClock.spec.js -------------------------------------------------------------------------------- /lib/agent/util/samplers/reservoir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/util/samplers/reservoir.js -------------------------------------------------------------------------------- /lib/agent/util/samplers/reservoir.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/agent/util/samplers/reservoir.spec.js -------------------------------------------------------------------------------- /lib/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/config.js -------------------------------------------------------------------------------- /lib/consts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/consts.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/instrumentations/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/index.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-amqplib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-amqplib.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-express.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-express.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-express.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-express.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-http/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-http/index.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-http/request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-http/request.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-http/request.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-http/request.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-http/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-http/server.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-http/server.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-http/server.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-http/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-http/util.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-http/util.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-http/util.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-https/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-https/index.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-ioredis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-ioredis.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-koa.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-koa.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-koa.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-koa.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-mongodb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-mongodb.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-mongodb.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-mongodb.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-mongoose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-mongoose.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-mysql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-mysql.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-mysql.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-mysql.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-pg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-pg.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-pg.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-pg.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-redis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-redis.js -------------------------------------------------------------------------------- /lib/instrumentations/trace-instrumentation-redis.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/trace-instrumentation-redis.spec.js -------------------------------------------------------------------------------- /lib/instrumentations/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/utils/index.js -------------------------------------------------------------------------------- /lib/instrumentations/utils/redisTools.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/utils/redisTools.js -------------------------------------------------------------------------------- /lib/instrumentations/utils/tryParseSql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/utils/tryParseSql.js -------------------------------------------------------------------------------- /lib/instrumentations/utils/wrapQuery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/utils/wrapQuery.js -------------------------------------------------------------------------------- /lib/instrumentations/utils/wrapQuery.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/instrumentations/utils/wrapQuery.spec.js -------------------------------------------------------------------------------- /lib/optionalDependencies/@risingstack/event-loop-stats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/optionalDependencies/@risingstack/event-loop-stats.js -------------------------------------------------------------------------------- /lib/optionalDependencies/@risingstack/gc-stats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/optionalDependencies/@risingstack/gc-stats.js -------------------------------------------------------------------------------- /lib/optionalDependencies/@risingstack/microtime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/optionalDependencies/@risingstack/microtime.js -------------------------------------------------------------------------------- /lib/optionalDependencies/@risingstack/v8-profiler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/optionalDependencies/@risingstack/v8-profiler.js -------------------------------------------------------------------------------- /lib/test-setup.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/test-setup.spec.js -------------------------------------------------------------------------------- /lib/trace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/trace.js -------------------------------------------------------------------------------- /lib/trace.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/trace.spec.js -------------------------------------------------------------------------------- /lib/utils/configReader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/utils/configReader.js -------------------------------------------------------------------------------- /lib/utils/configReader.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/utils/configReader.spec.js -------------------------------------------------------------------------------- /lib/utils/debug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/utils/debug.js -------------------------------------------------------------------------------- /lib/utils/shimmer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/utils/shimmer.js -------------------------------------------------------------------------------- /lib/utils/shimmer.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/lib/utils/shimmer.spec.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/package.json -------------------------------------------------------------------------------- /scripts/distribute-tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/distribute-tasks.py -------------------------------------------------------------------------------- /scripts/env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/env.sh -------------------------------------------------------------------------------- /scripts/install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/install -------------------------------------------------------------------------------- /scripts/lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/lint -------------------------------------------------------------------------------- /scripts/node-matrix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/node-matrix -------------------------------------------------------------------------------- /scripts/semantic-release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/semantic-release -------------------------------------------------------------------------------- /scripts/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/test -------------------------------------------------------------------------------- /scripts/test-e2e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/test-e2e -------------------------------------------------------------------------------- /scripts/test-instrumentations: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/scripts/test-instrumentations -------------------------------------------------------------------------------- /test/e2e/.gitignore: -------------------------------------------------------------------------------- 1 | !.npmrc 2 | -------------------------------------------------------------------------------- /test/e2e/.npmrc: -------------------------------------------------------------------------------- 1 | loglevel=silent 2 | -------------------------------------------------------------------------------- /test/e2e/apiCalls.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/apiCalls.spec.js -------------------------------------------------------------------------------- /test/e2e/clientUnreachable.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/clientUnreachable.spec.js -------------------------------------------------------------------------------- /test/e2e/crash/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/crash/index.spec.js -------------------------------------------------------------------------------- /test/e2e/crash/testee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/crash/testee.js -------------------------------------------------------------------------------- /test/e2e/initialization.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/initialization.spec.js -------------------------------------------------------------------------------- /test/e2e/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/package.json -------------------------------------------------------------------------------- /test/e2e/publicApi.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/publicApi.spec.js -------------------------------------------------------------------------------- /test/e2e/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/run.sh -------------------------------------------------------------------------------- /test/e2e/utils/serviceMocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/utils/serviceMocks.js -------------------------------------------------------------------------------- /test/e2e/utils/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/e2e/utils/test.js -------------------------------------------------------------------------------- /test/instrumentations/.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/.eslintrc.yml -------------------------------------------------------------------------------- /test/instrumentations/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/Makefile -------------------------------------------------------------------------------- /test/instrumentations/amqplib/amqplib.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/amqplib/amqplib.mk -------------------------------------------------------------------------------- /test/instrumentations/amqplib/amqplib.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/amqplib/amqplib.spec.js -------------------------------------------------------------------------------- /test/instrumentations/amqplib/verify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/amqplib/verify.js -------------------------------------------------------------------------------- /test/instrumentations/bookshelf/bookshelf.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/bookshelf/bookshelf.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/cassandra/cassandra.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/cassandra/cassandra.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/distribute-tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/distribute-tasks.py -------------------------------------------------------------------------------- /test/instrumentations/ioredis/ioredis.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/ioredis/ioredis.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/ioredis/ioredis.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/ioredis/ioredis.spec.js -------------------------------------------------------------------------------- /test/instrumentations/knex/knex.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/knex/knex.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/koa/koa.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/koa/koa.mk -------------------------------------------------------------------------------- /test/instrumentations/koa/koa.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/koa/koa.spec.js -------------------------------------------------------------------------------- /test/instrumentations/memcached/memcached.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/memcached/memcached.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/mongodb/dbVerify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/mongodb/dbVerify.js -------------------------------------------------------------------------------- /test/instrumentations/mongodb/mongodb.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/mongodb/mongodb.mk -------------------------------------------------------------------------------- /test/instrumentations/mongodb/mongodb.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/mongodb/mongodb.spec.js -------------------------------------------------------------------------------- /test/instrumentations/mongoose/mongoose.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/mongoose/mongoose.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/mysql/dbVerify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/mysql/dbVerify.js -------------------------------------------------------------------------------- /test/instrumentations/mysql/mysql.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/mysql/mysql.mk -------------------------------------------------------------------------------- /test/instrumentations/mysql/mysql.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/mysql/mysql.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/mysql/mysql.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/mysql/mysql.spec.js -------------------------------------------------------------------------------- /test/instrumentations/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/package.json -------------------------------------------------------------------------------- /test/instrumentations/pg/create_user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/pg/create_user.sql -------------------------------------------------------------------------------- /test/instrumentations/pg/dbVerify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/pg/dbVerify.js -------------------------------------------------------------------------------- /test/instrumentations/pg/pg.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/pg/pg.mk -------------------------------------------------------------------------------- /test/instrumentations/pg/pg.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/pg/pg.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/pg/pg.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/pg/pg.spec.js -------------------------------------------------------------------------------- /test/instrumentations/promises/bluebird.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/promises/bluebird.mk -------------------------------------------------------------------------------- /test/instrumentations/promises/bluebird.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/promises/bluebird.spec.js -------------------------------------------------------------------------------- /test/instrumentations/promises/es6.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/promises/es6.mk -------------------------------------------------------------------------------- /test/instrumentations/promises/es6.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/promises/es6.spec.js -------------------------------------------------------------------------------- /test/instrumentations/promises/testPromise.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/promises/testPromise.js -------------------------------------------------------------------------------- /test/instrumentations/promises/when.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/promises/when.mk -------------------------------------------------------------------------------- /test/instrumentations/promises/when.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/promises/when.spec.js -------------------------------------------------------------------------------- /test/instrumentations/redis/dbVerify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/redis/dbVerify.js -------------------------------------------------------------------------------- /test/instrumentations/redis/redis.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/redis/redis.mk -------------------------------------------------------------------------------- /test/instrumentations/redis/redis.spec.cls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/redis/redis.spec.cls.js -------------------------------------------------------------------------------- /test/instrumentations/redis/redis.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/redis/redis.spec.js -------------------------------------------------------------------------------- /test/instrumentations/test-setup.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/trace-nodejs/HEAD/test/instrumentations/test-setup.spec.js --------------------------------------------------------------------------------