* feat: use context-based tracing
* chore: use withSpan where possible
* chore: propagate context in tests
* chore: allow spanoptions to override parent from context
* feat: create an api package
* chore: update circle for new api package
* chore: bring back getTracer
* chore: add wrongly removed dev dependency
* chore: review comments
* chore: review comments
* chore: lint
* chore: export all noop implementations
* chore: update API README
* chore: ignore known working links that are not yet published
* chore: add jsdoc for getInstance calls
* chore: add jsdoc for private constructors
* chore: review comments
* chore: fix readme npm url
* chore: fix old readmes without registry
* chore: update api calling convention
* Add ioredis
* remove unused util
* Console error when callback cannot be found in command object
* fix
* There never seems to be a this.address
* err can be made non-optional here since it is currently always passed in
* No address property
* Update packages
* Adjust value of DB_STATEMENT
* Add DB_TYPE attribute
* Handle async/await ioredis commands that have no cb
* Fix promise handling and adjust attributes
* Use template literal
* Add same comments as pg plugin for promise handling
* Use endSpan function
* fix: combine 2 lines into 1
* chore: update modules
* fix: tests
* style: rename error
* docs: update min version
* fix: nullish coalescing
* Revert "fix: nullish coalescing"
This reverts commit 16a1f40244.
* fix: make DB_TYPE a const
* fix: update links
* fix: move ioredis to dependencies, update @types/ioredis
* fix: add a comment about nullish coalescing
* fix: move done from try/catch to finally
* fix: gts fix
* fix: callback type
* style: move cb tests up
* fix: gts
* fix: remove unused code
* fix: update ts-node
* fix: nested cb for cb style call tests
* fix: prevent span leaking with better if statement, add else
* fix: remove unneeded || undefined
* fix: ioredis as dev dependency
* fix: do not return a new promise, end span in .then handler
* fix: if statement
* fix: guard against args not being an array
* fix: tests
* Update packages/opentelemetry-plugin-ioredis/README.md
Reword sentence to read better
Co-Authored-By: Daniel Dyla <dyladan@users.noreply.github.com>
* docs: remove sentence from Usage section
* fix: remove unecessary check, rename functions
* fix: rename functions
* fix: port type is number
* docs: add link to available options
* fix: always convert string port to number
* fix: improve inherit options type from ioredis types
* fix: options always exists
* fix: options is always there and all we need
* test: streamify scanning
* test: lua
* test: cb tests were flawed
* fix: trace cb invocations properly
* refactor: same code handles cb and promise style invocations
* fix: update packages
* fix: db statement format
* test: add pipeline test
* fix: allow arguments to be greater than 1
* fix: gts
* test: trace client connection/disconnection
* feat: trace connection
* test: pubsub
* fix: quit instead of disconnect
* fix: update packages
* feat: use test-utils package
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Olivier Albertini <olivier.albertini@montreal.ca>