@opentelemetry/instrumentation-redis

v0.33.1
Automatic OpenTelemetry instrumentation for redis package version 2 and 3
instrumentation nodejs opentelemetry profiling redis tracing

tdd

npm run test -- --watch-extensions ts --watch

lint

eslint . --ext .ts

test

nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'

clean

rimraf build/*

compile

tsc -p .

prepare

npm run compile

lint:fix

eslint . --ext .ts --fix

prewatch

npm run precompile

precompile

tsc --version && lerna run version:update --scope @opentelemetry/instrumentation-redis --include-dependencies

test:debug

cross-env RUN_REDIS_TESTS_LOCAL=true ts-mocha --inspect-brk --no-timeouts -p tsconfig.json 'test/**/*.test.ts'

test:local

cross-env RUN_REDIS_TESTS_LOCAL=true npm run test

version:update

node ../../../scripts/version-update.js

test:docker:run

docker run --rm -d --name otel-redis -p 63790:6379 redis:alpine

compile:examples

cd examples && npm run compile

test:docker:stop

docker stop otel-redis

test-all-versions

tav

test-all-versions:local

cross-env RUN_REDIS_TESTS_LOCAL=true npm run test-all-versions
npm i @opentelemetry/[email protected]

Metadata

Downloads