* TS example for packages
* TS example for tracking
* Updated example for tracing with TypeScript
* upped the Prometheus version
* Initial fully working version of the TS getting started guide
* Updated separated guides for TS and JS
* Link to the TS guide
* Interlinked documents
* Interlinked documents fixed
* Interlinked documents fixed
* Interlinked documents fixed
* fixed initial links
* Style formatting
* Style formatting
* Style formatting
* Update getting-started/ts-example/README.md
Co-Authored-By: Mayur Kale <mayurkale@google.com>
* Update getting-started/ts-example/README.md
Co-Authored-By: Mayur Kale <mayurkale@google.com>
* Update getting-started/ts-example/README.md
Co-Authored-By: Mayur Kale <mayurkale@google.com>
* Pull review fixes
* Code cleanup
* Code cleanup
* Code cleanup
* Updated the package.json
* Typo fixes
* Typo fixes
* Added an example for Jaeger
* Code formatting
Co-authored-by: Mayur Kale <mayurkale@google.com>
* chore: add version script to all packages
* chore: remove hard coded version string
* chore: move version update script to root
* chore: add version:update to package.json
Co-authored-by: Mayur Kale <mayurkale@google.com>
* 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>
* feat: test-utils
* fix: add check,fix scripts
* feat: use test-utils package in pg pool plugin
* feat: include assertionUtils in test-utils package
And use for redis and pg
* fix: install required packages
* fix: gts
* ci: deploy documentation on releases
* ci: only deploy docs on x.x.0 updates
* fix: remove personal email from ci
* chore: add docs-deploy script
Co-authored-by: Mayur Kale <mayurkale@google.com>
* feat(xml-http-request): new plugin for auto instrumentation for xml-http-request
* chore: new example for xml-http-request and updated examples structure for web
* chore: updating readme
* chore: linting
* chore: fixing origin for tests
* chore: linting
* chore: updating to use b3 format from core
* chore: updates after reviews
* chore: wrong function call
* chore: updating attribute names
* chore: linting
* chore: adding preflight requests, fixing few other issues
* chore: adding image to examples, updating readme
* chore: forcing async to be true, but propagate rest params
* chore: fixing type for open and send function
* chore: fixing format for headers
* chore: reviews
* chore: decrement task count when span exists
* chore: changes after review
* chore: adding weakmap for keeping information connected with xhr
* chore: renaming config param
* chore: not needed cast
* chore: updating title
* chore: refactored xhr, removed tracing dependency, few other issues fixed
* chore: reviews
* chore: refactored for collecting timing resources
* chore: fixes after merging
* chore: reviews
* chore: reviews
Co-authored-by: Mayur Kale <mayurkale@google.com>
* feat: add OpenTracing example
* fix: review comments
- Combine `Tracer` and `.init` to one line
- Use `setTimeout` to be consistent with other example
- Remove unused dependency
- Add missing keywords
- Update README
- Add missing `"use strict";`
* fix: review comments
- Update README
- Separate shim to another file
* fix: remove unnecessary file
Transpile to es2017 to ensure compatiblity with Node.Js 8. Otherwise use of
e.g. the optional chaining operator ?. supported since typescript 3.7 results
in js not running on nodejs 8. Es2017 is the minimum to get native await support.
* fix: remove flush timer from jaeger exporter
* chore: remove deprecated flushInterval
* feat: force flush on each export
* chore: make export noop on empty span array
* chore: do not flush empty batch span processor
* chore(plugin-mongodb-core): add missing codecov script
* fix(mongodb-plugin): check currentSpan against undefined
* chore(scope-managers): return undefined if no scope is found (following #569)
* chore: linting
* feat(collector-exporter): new exporter for opentelemetry collector
* chore: updating readme
* chore: undo auto lint fix - which is wrong
* chore: updates after comments
* chore: renaming util to transform
* chore: renaming types, last comments from review
* chore: adding missing links
* chore: fixes after comments
* chore: fixes after comments
* chore: fixes after comments
* chore: updating jsdoc
* chore: enabling attributes
* chore: adding script to generate package version file
* chore: naming
* chore: adding todo
* chore: updating types for link
* chore: fixing typo
* chore: removing unnecessary typing
* chore: const for enum
* chore: adding missing interface for message event
* chore: adding timestamp example
* chore: changes after review
* chore: adding case when the exporter is shutdown but export is called
* chore: adding missing header for request to prevent instrumentation