Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Dyla 9a3fd7b560
Rename scope to context (#853) 2020-03-13 15:01:07 -04:00
Daniel Dyla ac2dbddc95
Rename api init methods to set (#839) 2020-03-10 11:00:17 -04:00
Daniel Dyla 3c60157e07
feat: use context-based tracing (#816)
* feat: use context-based tracing

* chore: use withSpan where possible

* chore: propagate context in tests

* chore: allow spanoptions to override parent from context
2020-03-02 13:47:35 -05:00
Daniel Dyla d2e96ba3f9
chore: rename registry to provider (#749)
* chore: rename registry to provider

* chore: revert changelog modification

* chore: remove examples and getting started from rename
2020-02-03 10:36:12 -08:00
Daniel Dyla 5d6c99d126
Api separation (#727)
* 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
2020-01-29 13:30:49 -08:00
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
Naseem 67d22567d4 feat: test-utils (#644)
* 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
2019-12-23 16:55:15 -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