Commit Graph

11 Commits

Author SHA1 Message Date
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
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
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
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
Mayur Kale 75a329776a
chore: rename opentelemetry-basic-tracer -> opentelemetry-tracer-basic (#380) 2019-10-01 10:27:11 -07: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
Valentin Marchaud 4ff14da8ed
tests: use node-tracer scope manager instead of creating one (#271) 2019-09-18 17:08:01 +02:00
Mayur Kale b1255217a6
feat: tslint rules for license headers (#258) 2019-09-13 15:20:53 -07:00
Olivier Albertini 260a5e6b1d refactor(http-plugin): use SpanProcessor for tests (#244)
* refactor(http-plugin): use SpanProcessor

Remove TracerTest
Remove SpanAuditProcessor
Closes #209

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

* refactor: add mayurkale22 recommendations

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2019-09-11 09:58:20 -07:00
Olivier Albertini 3f90bf97dc feat(plugin): add http plugin (#161)
* feat(plugin): add http plugin

Closes #157

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

* fix: integrate vmarchaud recommandations

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

* fix: wip revert - gts fix issue on all packages

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

* fix: integrate mayurkale22 recommendations

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

* ci: gts fix for ci build

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

* refactor: add mayurkale22 recommendations

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

* fix: integrate bg451 recommendations

test: increase coverage
fix: attributes requirements from the spec.

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

* fix: add missing header and revert scopeManager to private field

test: rename some tests
fix: copy/paste tests

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

* fix: add tests and improve attributes from spec

fix parentSpanId instead of parentId from rebase
add workaround with got and node12+ (real http call)
improve args passed to function (url, options, cb)

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

* fix: add mayurkale22 recommendations

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

* fix: rebase and remove/replace wrapEmitter to bind

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

* fix: add Flarna recommendations

fix: add Flarna recommendations
fix: tests
fix: OC bugs in OT only
test: add assertions
Allow options object as second argument

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

* refactor: simplify propagation usage

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

* fix: add Flarna recommandations

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

* refactor(test): use ReadableSpan

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

* feat: export class/enums for https module

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

* refactor: plugin.enable has logger param

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

* fix: add license header, rename enum files and refactoring

refactor: make integration tests mandatory for ci only
remove duplicate tests
remove dead comments

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2019-08-30 15:28:45 -07:00