Commit Graph

39 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
Bartlomiej Obecny 12570c9e02
chore: aligning names for npm linting scripts (#807)
* chore: aligning names for npm linting scripts

* chore: grouping lint scripts together
2020-02-21 11:24:35 -08:00
Mayur Kale 0d52bf5689
chore: 0.4.0 release proposal (#751)
* chore: 0.4.0 release proposal

* use api instead of types
2020-02-05 15:00:02 -08:00
Daniel Dyla 5c9ad85816
chore: fix build errors (#747)
* chore: switch from yarn to npm

* chore: ignore unpublished package
2020-02-04 16:21:57 -08: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
Xiao 8711f2b794 chore: add instruction for pg-pool plugin (#733)
* chore: add instruction for pg-pool plugin

* chore: update NodeTracer to NodeTracerRegistry

* chore: address comments

Co-authored-by: Valentin Marchaud <thisismac47@gmail.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-01-28 09:15:03 -05:00
Mayur Kale cb677c0539
chore: 0.3.3 release proposal (#683)
* chore: 0.3.3 release proposal

* chore: bump propagator-jaeger and exporter-stackdriver-trace version

* remove examples/ from lerna
2020-01-22 14:43:33 -08:00
Xiao 25d1028ab3 chore: fix pg-pool test env (#706) 2020-01-17 15:54:11 -05:00
Daniel Dyla 0d73dd7113
chore: fix compilation (#705) 2020-01-16 15:41:30 -05:00
Mayur Kale 49824c2120
chore: upgrade ts-node version to ^8.6.2 (#687)
* chore: upgrade ts-node version to fix the build

* chore: upgrade ts-node in test-utils package
2020-01-13 11:44:36 -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
Mayur Kale 854256a9c0
feat: add pg-pool to default list of instrumented plugins (#662) 2020-01-06 10:07:14 -08:00
Mayur Kale 7124f5f819
chore(plugin-pg-pool): fix codecov path (#657) 2020-01-04 13:22:03 -08:00
Mayur Kale 3669648ef4
chore: 0.3.2 (patch) release proposal (#659)
* chore: 0.3.2 release proposal

* chore: bump getting-started/ version

* chore: generate version.ts for mongodb plugin after merge
2020-01-03 12:27:10 -08:00
Daniel Dyla b158cbeb3e chore: add version script to all packages (#651)
* 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>
2020-01-02 10:46:57 -08:00
Mark Wolff 093a73826b chore(docs:postgres): add usage instructions (#539)
* chore(docs:postgres): add usage instructions

* docs: add pg-pool install

* docs: add pg-pool version

Co-authored-by: Valentin Marchaud <thisismac47@gmail.com>
2019-12-26 13:35:33 -05: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
Xiao 1a2d926e02 feat(plugin): pg-pool plugin implementation (#501)
* feat: pg-pool plugin implementation

* feat: pg-pool plugin implementation

* fix: linting

* fix: add attributes for span & add tests for pool.query()

* fix: add span.setStatus

* chore: address comments

* fix: linting

Co-authored-by: Mayur Kale <mayurkale@google.com>
2019-12-23 12:02:34 -08:00
Mayur Kale 38ce1c3eac
chore(plugin-pg): move dependencies to devDependencies (#645) 2019-12-23 11:46:23 -08:00
Mayur Kale d8c85096c4
chore: 0.3.1 (patch) release proposal (#639)
* chore: 0.3.1 release proposal

* chore: npm run bootstrap
2019-12-20 15:45:34 -08:00
Mayur Kale 517f6d5a6b
chore: 0.3.0 release proposal (#599)
* chore: 0.3.0 release proposal

* chore: bump examples version and generate version.ts
2019-12-13 11:10:59 -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
Mayur Kale 57925939f0
chore: update dependency gts and codecov (#517) 2019-11-12 13:23:12 -08:00
Mayur Kale 36496f63d0 chore: fix codecov path (#520) 2019-11-12 15:06:29 -05:00
Daniel Dyla f180a77dea ci: install minimal lint & doc deps (#508)
* ci: install minimal lint & doc deps

* fix: lint
2019-11-11 08:33:48 -08:00
Daniel Dyla 1f90ce20dd chore: bump typescript version to ^3.7.2 (#497) 2019-11-07 21:50:21 -08:00
Mark Wolff f62fe2810a chore(CircleCI): only run codecov on node12 (#496)
* chore: only run codecov on node12

* fix: log out node version info

* fix: remove unneeded echo

* fix: circle build error

* chore: add precompile tsc version to each package
2019-11-06 13:14:15 -08:00
Mayur Kale f0cfb96501
chore: upgrade typescript to 3.6.4 (#494) 2019-11-06 12:01:39 -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
Mayur Kale 7e1cdd5c45
chore: 0.2.0 release proposal (#479) 2019-11-04 12:07:59 -08:00
Mark Wolff 5c49c6c6ab feature(plugin): implement postgres plugin (#417)
* feat(pg): implement postgres plugin

* fix: linting

* fix: docker starting not locally

* fix: compile errors from merge

* fix: linting

* refactor: use helper functions for span building

* fix: add callback patching to end span

* fix: add required attributes, address comments

* fix: lint errors

* refactor: start named spans in query handlers

* fix: linting errors

* fix: circleci config, make pg helpers nonexported

* fix: linting

* docs: add supported versions

* fix: pass PG env to spawned container

* fix: remove hardcoded shouldTest

* test: add span tests for pg driver errors

* chore: remove hardcode shouldTest
2019-10-30 12:18:03 -07:00
Mayur Kale aab87a2e81
chore: post release update examples, README (#436)
* chore: post release update examples, README

* fix: update remaining files
2019-10-18 15:04:45 -07:00
Mayur Kale 4c0626c3bf
chore: add prepare script and bump the version (#431) 2019-10-15 16:37:47 -07:00
Olivier Albertini 1d672e0636 docs: fix broken links (#428)
closes #427

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2019-10-15 10:49:36 -07:00
Daniel Khan a411313cb3
Refactor: Consistent package naming and structure (#413)
* fix(http-plugin): move node-sdk to dev deps

* refactor: rename opentelemetry-sdk-base

* refactor: rename opentelemetry-tracer-basic

* refactor: rename opentelemetry-node-sdk

* docs: update readme

* docs: update readme

* refactor: rename opentelemetry-tracer-web

* fix: styling

* fix: doc consistency

* fix: sliiped in typo

* fix: postgres and doc
2019-10-08 22:01:47 +02:00
Mark Wolff 3b3030cbfb chore(pg): add postgres plugin skeleton (#411) 2019-10-08 09:56:13 -07:00