Commit Graph

99 Commits

Author SHA1 Message Date
Daniel Dyla 65b5ba2d04
chore: 0.8.3 release proposal (#1122) 2020-05-28 16:13:08 -04:00
Daniel Dyla 3dd522322b
chore: update @types/node (#1110) 2020-05-27 12:22:26 -07:00
Bartlomiej Obecny cfcf38e452
chore: test build (#1107)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-05-26 16:45:56 -04:00
Daniel Dyla 7233a03a50
chore: 0.8.2 release proposal (#1092) 2020-05-21 15:18:17 -04:00
Olivier Albertini 05e7bb9c8f
fix(lint): move tslint to eslint (#892) 2020-05-20 20:42:17 -07:00
Daniel Dyla d808ea72e3
chore: 0.8.1 release proposal (#1054) 2020-05-18 15:24:09 -04:00
Amir Blum 637f982b7e
fix(http-plugin): don't modify user's headers object in plugin (#1060) 2020-05-18 09:05:00 -04:00
Amir Blum 6b2a9b731f
feat(plugin-http): add plugin hooks before processing req and res (#963) 2020-05-13 09:26:14 -07:00
shivkanya9146 6aa8ed4f98
chore(deps): update dependency mocha and ts-mocha to v7 (#1047) 2020-05-12 13:27:25 -07:00
Mayur Kale 94f7c4f780
chore: 0.8.0 release proposal (#1046) 2020-05-12 09:33:34 -07:00
Valentin Marchaud 35cda77238
fix(http-plugin): strip otel custom http header #983 (#984) 2020-05-11 10:40:44 -07:00
legendecas 45ea74aeb7
fix(tracing): span processor should receive a readable span as parameters (#1037) 2020-05-08 10:38:23 -07:00
Valentin Marchaud e5a31d75f8
feat(http-plugin): add options to disable new spans if no parent #931 (#948) 2020-05-06 14:33:29 -04:00
Daniel Dyla e4e71b8b49
Use global API instances (#943) 2020-04-28 20:21:51 -04:00
Mayur Kale b28bed4791
chore: 0.7.0 release proposal (#973)
* chore: 0.7.0 release proposal

* chore: update CHANGELOG.md

* chore: update CHANGELOG
2020-04-24 11:09:37 -07:00
Naseem 1959930f77
[http] fix: use url.URL (#960)
url.URL from the standard library should be used instead of the global URL which comes from the dom lib.

Signed-off-by: Naseem <naseem@transit.app>
2020-04-16 11:14:50 -07:00
shivkanya9146 ff5865236c
Removing @types/nock from all package.json files (#957)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-04-09 15:58:20 -04:00
Daniel Dyla c5ed47d413
chore: 0.6.1 release proposal (#951) 2020-04-08 14:24:15 -04:00
shivkanya9146 c061699335
Updating out of date @types/mocha packages (#939)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-04-07 20:43:38 -07:00
Daniel Dyla b43ac51469
chore: remove bad null check (#946)
typeof null is 'object'
2020-04-07 20:32:54 -07:00
Mayur Kale 5ea46ebf89
chore: 0.6.0 release proposal (#922)
* chore: 0.6.0 release proposal

* chore: update getting-started version
2020-04-02 10:19:33 -07:00
shivkanya9146 0d1c82c8f1
Updating out of date nyc packages (#917) 2020-03-31 12:13:58 -07:00
Daniel Dyla f695e40a96
chore: 0.5.2 release proposal (#907) 2020-03-27 10:58:34 -07:00
Daniel Dyla 20aaa4a5a1
chore: 0.5.1 release proposal (#883)
* chore: 0.5.1 release proposal

* chore: update changelog to match previous
2020-03-19 17:31:29 -07:00
Mayur Kale c013f3a45d
chore: 0.5.0 release proposal (#861) 2020-03-16 14:59:50 -07:00
Daniel Dyla 9a3fd7b560
Rename scope to context (#853) 2020-03-13 15:01:07 -04:00
Mayur Kale 6b9d3afff9
chore: update out-of-date dependencies (#858) 2020-03-13 11:32:05 -07:00
Daniel Dyla 11be782e10
Rename formatter to propagator (#851)
* chore: rename formatter to propagator

* chore: lint

* chore: last few formatter renames

* chore: remove test of removed function

* chore: remove unused imports
2020-03-13 09:22:59 -07:00
Daniel Dyla ac2dbddc95
Rename api init methods to set (#839) 2020-03-10 11:00:17 -04:00
Gerhard Stöbich 3c41f564a8
fix: change SpanContext.traceFlags to mandatory (#818)
* fix: change SpanContext.traceFlags to mandatory

According to spec SpanContext represents the W3C tracestate which
includes traceId, spanId and traceFlags.

As a side effect a new LinkContext types was added as links don't
have traceFlags according to spec.

* chore: review findings, rename TraceFlags.UNSAMPLED to NONE

* fix: build

* fix: tests

* fix: correct merge

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-03-06 08:40:13 -08: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
Valentin Marchaud 5e0d2c9749
feat: add express plugin #666 (#685)
* feat: add express plugin #666

* feat: set http.route attribute on http server span if possible

* feat: add config to ignore express layers

* chore: add documentation about express layer store
2020-02-20 09:14:57 -05:00
Daniel Dyla 92b41bcf80
Separate context propagation (OTEP 66) (#769)
* feat: separate context propagation
2020-02-18 15:45:58 -05:00
Daniel Dyla 4faac48f88
chore: add typing to propagator carrier (#772) 2020-02-07 10:25:33 -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
Olivier Albertini 53dda64823 feat(plugin-http): sync. specs for statuscode (#719)
test: fix and add tests
closes #642

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2020-01-27 19:13:07 -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
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 1ef341070c
Code cleanup (#664)
* chore: remove unused MetricProducerManager & MetricProducer

* fix: typos
2020-01-07 09:46:34 -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
Olivier Albertini 3d9b8228b5 feat(plugin-http): add/modify attributes (#643)
* feat(plugin-http): add/modify attributes

closes #373, #394

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>

* fix: change remotePort to localPort

refactor: remove useless checks
test: add assertions

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>

* test(plugin-https): sync with http plugin

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>

Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-01-01 23:07:39 -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