Commit Graph

46 Commits

Author SHA1 Message Date
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
Daniel Dyla 92b41bcf80
Separate context propagation (OTEP 66) (#769)
* feat: separate context propagation
2020-02-18 15:45:58 -05: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
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
Gerhard Stöbich 54879ab3d6 chore(plugin-https): sync https tests with http (#597)
* chore(plugin-https): sync https tests with http

* chore: use Http instead typeof http

* chore: review finding, improve https detection

* chore: fix node 8

* chore: fix path to test files
2019-12-10 11:21:27 -05:00
Gerhard Stöbich b57951cbe0 fix(plugin-http): adapt to current @types/node (#548) 2019-11-18 16:17:57 -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
Mayur Kale 7e1cdd5c45
chore: 0.2.0 release proposal (#479) 2019-11-04 12:07:59 -08: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 52d3dc32b6 fix(plugin-http): ensure no leaks (#398)
* fix(plugin-http): ensure no leaks

closes #397

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

* fix: add @Flarna recommandations

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2019-10-11 11:51:29 -07:00
Mayur Kale d60d3dc971
chore: add npm version badge (#414)
* chore: add npm version badge

* chore: add npm version badge
2019-10-09 10:45:11 -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
Olivier Albertini 8567061992 feat(plugin-https): patch https requests (#379)
* feat(plugin-https): patch https requests

closes #375
add tests

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

* docs(plugin-https): add jaeger image

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

* fix: add mayurkale22 recommendations

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

* fix: add markwolff recommendations

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

* fix: file name utils

* fix: add danielkhan and bg451 recommendations

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2019-10-03 14:43:09 -07:00
Daniel Khan 32572c6c5c Bump version to 0.1.0 (#388)
* fix(http-plugin): move node-sdk to dev deps

* chore: nump version of all packages to 0.1.0

* fix: update interdependencies and tests

* fix: styling
2019-10-03 09:41:31 -07:00
Mayur Kale 70aeaab47d chore: update dependency typescript to ^3.6.3 (#381) 2019-10-01 12:40:51 +02:00
Mayur Kale 9ebcb6434b chore: minor nit (#357) 2019-09-27 20:58:02 +02:00
Mayur Kale b07e91c18a chore: add language identifier to enable syntax highlighting (#346) 2019-09-27 12:05:51 +02:00
Mayur Kale a9dbb85f3d chore: add missing rimraf devDependency (#324) 2019-09-24 09:49:39 +02:00
Mayur Kale 7fc72dc2b0
chore: rename node-tracer to node-sdk (#266)
* chore: rename node-tracer to node-sdk

* fix: build
2019-09-18 23:28:46 -07:00
Olivier Albertini a774d78605 chore: set explicit naming convention (#262)
closes #165

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2019-09-17 09:56:13 -07:00
Mayur Kale 08f124f3d8
chore: add private: true for non ready packages (#265) 2019-09-17 08:25:51 -07:00
Mayur Kale b1255217a6
feat: tslint rules for license headers (#258) 2019-09-13 15:20:53 -07:00
Olivier Albertini ea2888765b chore: remove script posttest (#246)
closes #242

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2019-09-10 13:01:15 -07:00
Mayur Kale af5d88aef5 fix: ts-mocha allow recursively loading files (#233)
* fix: ts-mocha allow recursively loading files
2019-09-03 15:56:58 -04:00
Valentin Marchaud 9a6ac90be3 chore(plugin): setup https/http2/redis/mongodb plugin packages (#202) 2019-08-15 15:36:01 -07:00