Commit Graph

9 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 b3332e34b5 chore: allow parent span to be null (#569)
* chore: allow parent span to be null

* chore: revert nullish operator

* chore: return undefined for missing span

* test: undefined spans

* test: undefined spans
2019-11-27 11:43:37 -08:00
Xiao 2bfa6c0283 chore(plugin): postgres-pool plugin skeleton (#473)
* feat(plugin): postgres-pool plugin skeleton

* fix: add packages in lerna.json

* fix: linting

* chore: upgrade versions
2019-11-05 15:18:16 -08:00