Commit Graph

62 Commits

Author SHA1 Message Date
Mend Renovate 4eddf51eb9
chore(deps): update all patch versions (#4255) 2023-11-15 15:32:57 -05:00
Marc Pichler 73b446688f
chore: release API 1.7.0/Core 1.18.0/Experimental 0.45.0 (#4254) 2023-11-07 11:25:24 +01:00
Chengzhong Wu 9fd1948e0d
feat(api): publish api esnext target (#4231) 2023-11-07 10:25:33 +01:00
Mend Renovate 586def466b
chore(deps): update all patch versions (#4215) 2023-11-06 11:27:06 +01:00
Chengzhong Wu e9328abb68
chore: track package-lock.json (#4238)
* chore: track package-lock.json

* Pin to old versions for node 14

* Use version range

* Remove unused cached directories

* Temporarily disable other tests

* Temporarily enable only api test

* Enable only some packages

* Test only api packages

* Test trace exporters

* Fix line ordering

* Test all packages except otlp exporters

* Add trace http exporter

* Add trace proto exporter

* Test all but grpc exporters

* chore: use npm workspaces and degrade lerna to v6

* chore: get rid of lerna bootstrap

* chore: use npx

* chore: allow install scripts to setup buf

* chore: fix w3c-integration-test cache key

* chore: fix cache key

* chore: disable resource compat test

* chore: fix node_modules assumptions

* chore: fix hoisted karma issue

* chore: fix markdown linter complaints

* chore: lock @grpc/grpc-js to v1.8.21

* Break caches

* chore: remove cache

* chore: fixup inline commands

---------

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-11-01 19:51:24 -04:00
Mend Renovate 00e78efd84
chore(deps): update all patch versions (#4194) 2023-10-17 12:36:24 +02:00
Chengzhong Wu b6e532bf52
feat(metrics): prototype experimental advice support (#3876)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2023-10-11 10:05:03 +02:00
Mend Renovate 5af865386a
chore(deps): update dependency @types/sinon to v10.0.18 (#4179) 2023-10-03 15:59:56 +02:00
Mend Renovate 6bf1b78653
chore(deps): update all patch versions (#4161) 2023-09-28 09:07:34 +02:00
Marc Pichler faf939c775
chore: release API 1.6.0/SDK 1.17.0/Experimental 0.43.0 (#4138) 2023-09-12 13:47:22 +02:00
Marc Pichler 27897d6c34
Revert "feat(api): add attributes argument to recordException API (#4071)" (#4137) 2023-09-11 17:36:09 +02:00
Marc Pichler 5fcd8cf136
chore: prepare release API 1.5.0, SDK 1.16.0/0.42.0 (#4122) 2023-09-11 14:01:30 +02:00
Dima Voytenko cd4998a4b5
feat(api): add attributes argument to recordException API (#4071)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2023-08-30 16:04:34 +02:00
Mend Renovate 8ac369f87e
chore(deps): update all patch versions (#4050) 2023-08-24 08:48:43 -04:00
Marc Pichler dfe9bdd32c
chore(deps): update prettier to v3 and prettier-plugin-eslint to v5 (#4075)
* chore(deps): update dependency prettier to v3

* chore: bump prettier-plugin-eslint and apply rules

---------

Co-authored-by: Mend Renovate <bot@renovateapp.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-08-23 14:36:11 -04:00
Mend Renovate b4cda7a9db
chore(deps): update all patch versions (#3997) 2023-08-02 12:49:36 +02:00
Marc Pichler 0755a5c076
fix(ci): don't collect coverage for eol tests (#4030) 2023-08-01 14:20:02 +02:00
Daniel Dyla 0f20b2a974
Revert tslib #3914 (#4011)
* Revert "feat(minification): Add noEmitHelpers, importHelpers and tslib as a dependency (#3914)"

This reverts commit 74393ac639.

* Changelog

* Update CHANGELOG.md
2023-07-21 09:41:09 -04:00
Mend Renovate 65483a4fe9
chore(deps): update all patch versions (#3984) 2023-07-13 15:49:25 +02:00
Mend Renovate cab31aadb1
chore(deps): update all patch versions (#3972) 2023-07-07 10:10:00 +02:00
Marc Pichler b34c39bf32
chore(deps): update dependency eslint to v8.43.0 (#3929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2023-07-06 15:14:56 +02:00
Marc Pichler 02c1d95608
chore: replace istanbul-instrumenter-loader with maintained component (#3918) 2023-07-06 15:06:00 +02:00
Mend Renovate b3d57bb295
chore(deps): update lerna monorepo to v7.1.1 (#3956) 2023-06-29 08:49:38 +02:00
Nev 74393ac639
feat(minification): Add noEmitHelpers, importHelpers and tslib as a dependency (#3914)
* feat(minification): Add noEmitHelpers, importHelpers and tslib as a dependency

* fix: Lint fixes

* Remove noEmitHelpers as not needed

---------

Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
2023-06-20 19:30:36 +08:00
Marc Pichler 67d4b80665
chore: bump lerna to 7.0.2, add @lerna/legacy-package-management (#3926) 2023-06-20 17:57:51 +08:00
Mend Renovate dfe6fe8272
chore(deps): update dependency lerna to v6.6.2 (#3885) 2023-06-16 12:51:35 +02:00
Marc Pichler e8f3432bde
chore: add lerna to devDependencies in all packages (#3909) 2023-06-16 12:37:29 +02:00
Mend Renovate 4b2d887cd5
chore(deps): update dependency karma to v6.4.2 (#3911) 2023-06-15 11:18:45 +02:00
Mend Renovate 5288753c21
chore(deps): update dependency sinon to v15.1.2 (#3900) 2023-06-14 09:06:07 +02:00
Mend Renovate 4bed3c92ff
chore(deps): update dependency dpdm to v3.13.1 (#3898) 2023-06-14 08:41:02 +02:00
Mend Renovate 95a5e0cada
chore(deps): update dependency unionfs to v4.5.1 (#3890) 2023-06-13 08:16:47 +02:00
Mend Renovate f606404cd7
chore(deps): update dependency memfs to v3.5.3 (#3888) 2023-06-13 07:27:15 +02:00
粒粒橙 4a7091f2b4
fix(npm-scripts): support windows platform using `cross-var` (#3857) 2023-06-11 01:22:09 +08:00
Mend Renovate 51dd6f2ddd
chore(deps): update all patch versions (#3874) 2023-06-08 12:45:34 +03:00
Mend Renovate a2ff4b677d
chore(deps): update dependency mocha to v10.2.0 (#3873) 2023-06-08 10:10:17 +08:00
Daniel Dyla 56e6b1bb89
chore: Release API 1.4.1, SDK 1.10.0, Experimental 0.36.0 (#3654)
* chore: Release API 1.4.1, SDK 1.10.0, Experimental 0.36.0

* Experimental changelog

* Fix API dependency
2023-03-13 11:12:25 -04:00
Mohit Karekar 48ecf229eb
feat(sdk-trace-base): add dropped attributes and events count on span (#3576)
* feat(sdk-trace-base): add dropped attributes and events count on span

* feat(sdk-trace-base): sync with main

* feat(sdk-trace-base): [revert] sync with main

* feat(sdk-trace-base): fix tests, make both counts truthy

* feat(sdk-trace-base): Update dropped counts type to number

* feat(sdk-trace-base): Use exposed counts on ReadableSpan in jaeger and zipkin exporters

* feat(sdk-trace-base): WIP - revert tsconfig, add new attribute limits

* feat(sdk-trace-base): Update attribute truncate method

* Fix bad conflict resolution

* Remove unused import

* chore: lint

* feat(sdk-trace-base): Remove dropped event attributes logic, add Jaeger field

* feat(sdk-trace-base): Undo formatting in changelog

* fix(changelog): Update experimental changelog

* Update packages/opentelemetry-sdk-trace-base/src/Span.ts

Co-authored-by: Gerhard Stöbich <deb2001-github@yahoo.de>

* Update packages/opentelemetry-sdk-trace-base/src/Span.ts

Co-authored-by: Gerhard Stöbich <deb2001-github@yahoo.de>

* fix(sdk-trace-base): Resolve review comments

* fix(sdk-trace-base): Fix failing tests

* fix(sdk-trace-base): make droppedAttributesCount on event optional

* fix(changelog): Update changelog files

---------

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Gerhard Stöbich <deb2001-github@yahoo.de>
2023-03-08 11:47:04 +08:00
Altinok Darici 6f3e96fd77
Export DiagLoggerOptions Type (#3639) 2023-03-02 13:45:58 +01:00
Altinok Darici 31dd7b7258
Rename Diag/LoggerOptions to DiagLoggerOptions (#3641)
* Rename LoggerOptions to DiagLoggerOptions

* Change log

---------

Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
Co-authored-by: Gerhard Stöbich <deb2001-github@yahoo.de>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-03-01 16:53:13 -05:00
John Bley 99524a10fb
chore: improve logging for api registration mismatches (#3629)
* chore: improve logging for api registration mismatches

* chore: Update api/src/internal/global-utils.ts

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>

---------

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-02-22 11:26:16 -05:00
Raphaël Thériault 65e83d4f0a
feat: support TraceState in SamplingResult (#3530)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Gerhard Stöbich <deb2001-github@yahoo.de>
2023-02-09 16:34:25 +08:00
Daniel Dyla 49c75b8c6d
Fix changelog link (#3536) 2023-01-13 16:15:46 -05:00
Daniel Dyla 07b14384a7
fix(metrics): export MetricsAPI type (#3535) 2023-01-13 11:33:10 -05:00
Daniel Dyla 08f597f3a3
chore: release API 1.4.0 / SDK 1.9.0 / 0.35.0 (#3516)
* chore: release SDK 1.9.0 / 0.35.0

* Update readme

* Move API changelog entries

* Add API to release

* API changelog

* Update additional api max version
2023-01-11 16:06:29 -05:00
Chengzhong Wu 93222fc65a
fix(api): declare this parameter type in observable callbacks (#3497)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-01-03 18:44:21 +08:00
Gerhard Stöbich 2fb80ebe19
fix(api): use active context as default in NoopTracer (#3476)
* fix(api): use active context as default in NoopTracer

To support the API without SDK use cast to forward a span context it's needed
to fetch active context via ContextManager also in NoopTracer. Otherwise only
direct passing of a context works but not if context.with() is used.

* update PR link

* fixup: correct link

* remove unneeded assert
2022-12-14 11:33:37 -05:00
Mend Renovate c24227e08d
chore(deps): update dependency sinon to v15 (#3462) 2022-12-07 17:52:17 +08:00
Chengzhong Wu 369b07e1c7
chore: enforce format with prettier (#3444) 2022-12-01 14:58:56 +08:00
Chengzhong Wu 897c1365e4
chore: automatically generate tsconfigs (#3432)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
2022-11-23 23:34:41 +08:00
Phillip Carter b9f5561d19
Add getActiveBaggage API (#3385)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
Resolves https://github.com/open-telemetry/opentelemetry-js/issues/3354
2022-11-20 16:50:16 +01:00