Bartlomiej Obecny
91612c4d5e
chore: moving plugin from api to core ( #1715 )
2020-12-08 14:27:02 +01:00
Daniel Dyla
86cbd6798f
chore: 0.13.0 proposal ( #1718 )
2020-12-04 16:14:05 -05:00
WhiteSource Renovate
b22ca638ff
chore(deps): update dependency ts-mocha to v8 ( #1639 )
...
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-12-02 11:50:12 -05:00
WhiteSource Renovate
6a55593cff
chore(deps): update all non-major dependencies ( #1451 )
2020-11-30 15:44:11 -05:00
Daniel Dyla
18b49af957
chore: remove explicit parent option ( #1612 )
2020-11-02 15:18:34 -05:00
Bartlomiej Obecny
3f72613a36
chore: 0.12.0 proposal ( #1592 )
...
* chore: 0.12.0 proposal
2020-10-19 14:39:09 +02:00
Valentin Marchaud
acaa074fb8
feat(api): propagate spanContext only using API #1456 ( #1527 )
...
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-10-01 15:11:41 -04:00
Valentin Marchaud
aac3f56fb5
feat(node-tracer): use AsyncLocalStorageContextManager by default starting Node 14.8 #1511 ( #1525 )
...
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-10-01 15:03:51 -04:00
WhiteSource Renovate
6eb157c669
chore(deps): update dependency ts-node to v9 ( #1473 )
2020-09-30 14:27:53 +02:00
Bartlomiej Obecny
c6c993bb16
Plugins refactoring - new instrumentation package for plugins ( #1540 )
...
* feat: add a new plugin base decoupled from the sdk
* chore: web and node version that supports patching more files
* chore: updating readme
* chore: lint
* chore: missing noop logger
* chore: linting
* chore: updating readme with info about many modules
* chore: supporting calling enable and disable multiple times for node plugins
* chore: simplifying readme example
* chore: reviews
* chore: moving interface Instrumentation to package instrumentation
* chore: adding function for safe executing in plugins
* chore: fixing typo
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-09-30 14:10:40 +02:00
Naseem
9b3ff1934a
feat: enable dns instrumentation by default ( #1543 )
...
also updates README to reflect the change, while adding links to hapi
and koa instrumentation that were missing
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-09-22 08:37:43 -04:00
Naseem
3309ea4d9d
fix: decrease level of non-supported-version logs to warn ( #1532 )
2020-09-15 13:27:27 -04:00
Bartlomiej Obecny
15174c6647
0.11.0 proposal ( #1481 )
2020-09-01 21:13:24 +02:00
Daniel Dyla
5c7753fe65
feat: tracers provided by the API become useable when provider registered ( #1448 )
2020-08-27 11:58:36 -04:00
dengliming
d8bff27a3a
refactor: rename HttpText to TextMap propagator ( #1458 )
...
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2020-08-25 09:26:25 -04:00
carolinee21
ddd84ff4a7
fix: add Hapi and Koa to default supported plugins ( #1440 )
...
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-08-19 11:28:59 -04:00
Matthew Wear
27e6c2da59
chore!: refer to resource labels as attributes ( #1419 )
...
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-08-14 15:03:48 -04:00
WhiteSource Renovate
f612922e8c
chore(deps): update all non-major dependencies ( #1424 )
2020-08-14 11:02:42 -04:00
WhiteSource Renovate
978506ce75
chore(deps): update all non-major dependencies ( #1402 )
2020-08-10 00:38:38 -07:00
Daniel Dyla
b247e69034
chore: 0.10.2 proposal ( #1382 )
2020-08-03 19:16:43 -04:00
WhiteSource Renovate
0cde542dc8
chore(deps): update all non-major dependencies ( #1371 )
2020-07-31 11:09:42 -04:00
Daniel Dyla
03981e4299
chore: 0.10.1 release proposal ( #1359 )
2020-07-28 11:07:22 -04:00
Daniel Dyla
ab62a4d69b
chore: 0.10.0 release proposal ( #1345 )
2020-07-27 16:48:06 -04:00
Daniel Dyla
54f1be57d5
Add nodejs sdk package ( #1187 )
...
Co-authored-by: Naseem <naseemkullah@gmail.com>
Co-authored-by: legendecas <legendecas@gmail.com>
Co-authored-by: Mark Wolff <mrw00010@gmail.com>
Co-authored-by: Matthew Wear <matthew.wear@gmail.com>
2020-07-27 13:56:32 -04:00
Aravin
1ec5991a5f
Removing default span attributes ( #1342 )
...
* refactor(opentelemetry-tracing): removing default span attributes
Signed-off-by: Aravin Sivakumar <aravinarjunn@gmail.com>
* refactor(opentelemetry-tracing): removing default span attributed from tracer object
Signed-off-by: Aravin Sivakumar <aravinarjunn@gmail.com>
* refactor(opentelemetry-tracing): removing accidental add to package.json
Signed-off-by: Aravin Sivakumar <aravinarjunn@gmail.com>
* refactor(opentelemetry-tracing): removing redundant test and fixing suggestions by Shawn and Daniel
Signed-off-by: Aravin Sivakumar <aravinarjunn@gmail.com>
2020-07-27 19:05:35 +02:00
WhiteSource Renovate
c14000bd85
chore(deps): update all non-major dependencies ( #1348 )
2020-07-24 11:01:39 -07:00
Mark Wolff
827cca3e0e
feat(grpc-js): enable autoinstrumentation by default ( #1343 )
2020-07-23 12:18:30 -04:00
WhiteSource Renovate
785442c500
chore(deps): update dependency @types/mocha to v8 ( #1324 )
...
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
2020-07-17 23:44:21 -07:00
WhiteSource Renovate
73fbbcb442
chore(deps): update all non-major dependencies ( #1323 )
2020-07-17 17:24:09 -04:00
WhiteSource Renovate
cb753b6f1e
chore(deps): update all non-major dependencies ( #1297 )
...
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-07-11 17:56:06 -07:00
legendecas
9b905a1187
feat: add ParentOrElseSampler ( #1279 )
...
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-07-10 15:01:02 -07:00
WhiteSource Renovate
643b97f9c4
chore(deps): update dependency @types/semver to v7.3.1 ( #1245 )
2020-06-25 17:07:38 -04:00
WhiteSource Renovate
bff0b66186
chore(deps): update dependency @types/node to v14.0.14 ( #1244 )
2020-06-25 15:02:04 -04:00
Mark Wolff
153169af7d
fix(package.json): publish source maps ( #1237 )
...
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-06-24 09:57:24 -07:00
Jonah Rosenblum
298b19ff17
fix: change default propagator to match spec ( #1218 )
...
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-06-19 11:26:04 -04:00
Mayur Kale
904245f767
chore: 0.9.0 release proposal ( #1208 )
2020-06-18 14:20:29 -07:00
Mark Wolff
8c56442e29
feat: add OPENTELEMETRY_NO_PATCH_MODULES ( #1153 )
...
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-06-12 09:58:38 -04:00
Mark Wolff
e9b2cf9aeb
refactor: remove copyright year from file headers ( #1150 )
2020-06-12 09:27:21 -04:00
Daniel Dyla
5ea7060d61
Combined dependency updates ( #1180 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 14:47:57 -04:00
WhiteSource Renovate
837322ff05
chore(deps): update dependency @types/semver to v7 ( #1163 )
2020-06-09 15:05:53 -07:00
Mark Wolff
1af5928996
chore(todo): add missing span sampling test ( #1151 )
...
* chore: add missing span sampling test
* chore: add additional sampling test
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-06-09 11:25:18 -07:00
WhiteSource Renovate
a576f3a812
Pin dependencies ( #1154 )
2020-06-09 13:52:36 -04:00
Shivkanya Andhare
478f074fb7
update nyc to 15.1.0 in all package.json file ( #1140 )
2020-06-03 13:35:23 -07:00
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
Naseem
f08b2a06d3
feat: merge user supplied and default plugin configs ( #980 )
...
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-05-26 22:49:42 -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
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
Mark Wolff
8461bdcf38
fix: pluginloader typo ( #998 )
2020-04-30 12:49:25 -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
Mayur Kale
f73f48e39f
chore: add express to default list of instrumented plugins ( #914 )
...
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2020-04-17 11:11:23 -07: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
shivkanya9146
de0e26e8b7
chore: replace @opentelemetry/opentelemetry-context-base with @opentelemetry/context-base ( #925 )
2020-04-03 11:54:07 -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
802882dda8
Fix path ( #921 )
...
* Updating out of date nyc packages
* Fix Require Path in README
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-04-01 12:18:20 -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
Mayur Kale
8934318080
chore: update module names and fix typo ( #875 )
...
* chore: update registry exporter link, update module names and fix typo
* revert list of exporters
2020-03-23 10:39:26 -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
02c1d66b76
chore: update examples to use register ( #848 )
2020-03-12 16:50:22 -04:00
Matthew Wear
abd191bef3
SDK Resource ( #846 )
...
* feat: add Resource.empty() method
* feat: add resource to BasicTracerProvider and assign to Spans
* feat: add Resource.createLibraryResource method
* refactor: rename LIBARY_RESOURCE -> TELEMETRY_SDK_RESOURCE
* feat: add resource to ReadableSpan interface
* feat: add Resource to NodeTracerProvider
* feat: add Resource to WebTracerProvider
* refactor: move resource-assertions
* feat: add Resource to instruments
* refactor: add SDK_INFO to core; simplify SDK resource creation
* chore: docs and cleanup
* docs: no need to update the copyright
* chore: move resources to devDependencies where applicable
* refactor: add resource to TraceConfig
* refactor: add resource to MeterConfig
* refactor: change resource visibility on Meter
* refactor: move resource-assertions to test/util
2020-03-11 13:41:22 -07:00
Daniel Dyla
ac2dbddc95
Rename api init methods to set ( #839 )
2020-03-10 11:00:17 -04:00
Daniel Dyla
5883e4e178
Simplify SDK registration ( #837 )
2020-03-10 08:39:05 -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
Mayur Kale
1b214641bb
chore: fix usage instructions from READMEs ( #836 )
2020-03-04 08:48:40 -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
Mayur Kale
a34d03a8f1
chore: remove binary propagator ( #804 )
...
* chore: remove binary format
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-02-27 09:56:31 -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
014b324f8d
Chore: minor fixes to API docs ( #779 )
...
* chore: fix API docs
* update WEB Readme: WebTracer => WebTracerProvider
2020-02-18 11:18:12 -05:00
Daniel Dyla
3d5879a124
change testing glob to be windows compatible ( #784 )
2020-02-18 10:39:41 -05:00
Valentin Marchaud
b1fe2c81b9
Prevent loading plugins for incorrect module #626 ( #653 )
...
* fix: do not load plugin when they patch a different module than defined in config #626
2020-02-12 09:01:32 -05:00
Valentin Marchaud
b6a2ccdf29
feat: warn user when a instrumented package was already required #636 ( #654 )
...
* feat: warn user when a instrumented package was already required #636
* chore: address PR comments
* chore: extract package name from require.cache
* chore: use find instead of some
* chore: use require.resolve to find already required modules
* chore: try/catch require.resolve
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-02-10 09:43:43 -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
c5bc4382ec
update examples and getting started for provider and api package ( #750 )
...
* chore: rename provider in examples and getting started
* chore: update examples, bench, and getting started for api
* chore: update examples for latest changes
* chore: lint examples
2020-02-05 10:44:05 -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
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
854256a9c0
feat: add pg-pool to default list of instrumented plugins ( #662 )
2020-01-06 10:07:14 -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
Valentin Marchaud
53c40c1201
feat: port mongodb-core plugin to mongodb #622 ( #652 )
...
* feat: port mongodb-core plugin to mongodb #622
* chore: address PR comments
2020-01-03 10:30:04 -08:00
Mayur Kale
6c98ab9fcf
chore: update default plugins list and fix npm badge ( #646 )
...
* chore: update default plugins list and fix npm badge
* fix: review comment
* chore: add ioredis to the list of default enabled plugins
2020-01-02 13:28:47 -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
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
Olivier Albertini
9a91434cfc
fix(plugin-dns): remove from default plugin list ( #613 )
...
closes #612
Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
2019-12-12 10:29:44 -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