Commit Graph

3 Commits

Author SHA1 Message Date
Daniel Dyla 18c6aa4f19 Named Tracers / Tracer Registry (#582)
* feat: spike of named tracer registry

* chore: mysql/mongo tracer registry support

* fix: lint

* chore: add getTracer back

* chore: change default tracer name to empty string

* fix: lint

* chore: update examples for registry

* chore(tracer-registry): make name required

* chore: lint

* chore: update examples for required tracer name

* chore: remove unused tracer delegate

* chore: remove references to basic tracer

* chore: remove references to NodeTracer

* chore: update xhr for tracer registry

* chore: update tracer names to match package names

* chore: add version script to all packages

* chore: update plugins to use version script

* chore: add jsdoc to noop tracer registry

* chore: update ioredis for tracer registry

* chore: update pg pool for tracer registry

* fix: lint

* chore: fix tests

* chore: lint

* chore: lint

Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-01-09 08:29:38 -08:00
Daniel Dyla b4ab8a557c Jaeger no flush interval (#609)
* 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
2019-12-13 09:56:28 -08:00
Daniel Dyla 5a52eda984 feat: mysql support (#525)
* chore: set up mysql plugin

* feat: wip mysql plugin

* fix: lint

* feat(mysql-plugin): trace cluster pool queries

* chore: update attributes to match spec names

* feat(mysql): add query overloads

* test(mysql): add tests

* test(mysql): run tests in ci

* test(mysql): use environment for test params

* test(mysql): fix environment

* chore(mysql): set supported versions

* test(mysql): fix version number

* ci: fix build and add mysql to cache

* chore: pin @types/node to fix compile error

* ci: add mysql port to env

* test(mysql): increase coverage

* chore: add mysql to supported plugins list

* test: fix typo

* fix: reference to this module

rename plugin to thisPlugin to avoid confusion

* fix: lint

* test: add pool.getConnection tests

* Update examples/mysql/package.json

Co-Authored-By: Mayur Kale <mayurkale@google.com>

* docs: update mysql example

* chore: add redis to default plugins list

* chore: remove wip mysql plugin from defaults

* chore: add codecov script

* chore(mysql): add supported version to readme

* fix: lint

* chore: remove ts-ignore, set status ok

* chore: unwrap connections on next call after unwrap

* chore: updates from review comments

* ci: order envs

* chore: add mysql to default plugins

* chore: update README plugin list
2019-11-27 11:25:29 -08:00