Commit Graph

101 Commits

Author SHA1 Message Date
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
Amir Blum e133f3f5c3
fix(api): deprecate MetricAttributes and MetricAttributeValue (#3406)
* docs: fix comment in metrics api refering to span

* fix(api): deprecate MetricsAttributes and MetricAttributeValue

* fix: typo in changelog

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2022-11-16 14:11:53 -05:00
Chengzhong Wu bd565475a9
fix(api): disable module concatenation in tree-shaking test (#3409)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2022-11-16 00:50:00 +08:00
Daniel Dyla d1621d2c8b
Update API readme and doc links (#3401)
* Update readme docs link to reflect new API location

* Update feature status

* Fix API doc links and readme
2022-11-10 17:09:03 -05:00
Daniel Dyla 27c4f76294
chore: release API 1.3.0 (#3399) 2022-11-09 13:32:23 -05:00
Simen Bekkhus baf0feea26
feat(api): Optionally suppress warning about logger being overwritten (#3366)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2022-11-08 14:51:58 -05:00
Chengzhong Wu 85c62ef617
docs(api): fix counter negative value wording (#3396) 2022-11-08 16:15:49 +08:00
Chengzhong Wu 1536a7cbb2
feat(api): merge api-metrics into api (#3374)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2022-11-03 14:53:54 -04:00
WhiteSource Renovate 40ee3825a4
chore(deps): update dependency @types/mocha to v10 (#3286) 2022-10-09 16:42:11 +08:00
Chengzhong Wu b934cbc486
docs: merge package api docs (#3255)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2022-10-07 16:21:18 +08:00
Daniel Dyla c268832689
chore: add api to monorepo (#3261)
* Add API to lerna

* Update todo

* Expect instead of ignore error

* Add webpack test context

* Block scope test variables

* Fix linting

* Fix lining path

* Fix lint

* Fix lint

* Update index-webpack.worker.ts

Co-authored-by: Nev <54870357+MSNev@users.noreply.github.com>
2022-09-22 17:29:00 +08:00
Daniel Dyla 6111ae0181
chore: remove repo specific files from api dir (#3260) 2022-09-19 15:31:18 -04:00
Daniel Dyla 0f178d1e2e
Merge api repository into main (#3245)
Co-authored-by: Mayur Kale <mayurkale@google.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Naseem <naseemkullah@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
Co-authored-by: Gerhard Stöbich <deb2001-github@yahoo.de>
Co-authored-by: shivkanya9146 <62445341+shivkanya9146@users.noreply.github.com>
Co-authored-by: legendecas <legendecas@gmail.com>
Co-authored-by: Mark Wolff <mark.wolff@microsoft.com>
Co-authored-by: Bryan Clement <bclement01@gmail.com>
Co-authored-by: dengliming <liming.d.pro@gmail.com>
Co-authored-by: srjames90 <srjames@lightstep.com>
Co-authored-by: Michael Goin <michaelgoin@users.noreply.github.com>
Co-authored-by: Mark <markseufert1@gmail.com>
Co-authored-by: Matthew Wear <matthew.wear@gmail.com>
Co-authored-by: Andrew <DrontXL@yandex.ru>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Paul Draper <paulddraper@gmail.com>
Co-authored-by: Amir Blum <amirgiraffe@gmail.com>
Co-authored-by: Nev <54870357+MSNev@users.noreply.github.com>
Co-authored-by: Taavo-Taur "t2t2" Tammur <taavot@gmail.com>
Co-authored-by: Rauno Viskus <Rauno56@users.noreply.github.com>
Co-authored-by: Karen Xu <karenyrxu@gmail.com>
Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com>
Co-authored-by: Trent Mick <trentm@gmail.com>
Co-authored-by: Severin Neumann <severin.neumann@altmuehlnet.de>
Co-authored-by: James <45812677+JamesJHPark@users.noreply.github.com>
Co-authored-by: Tyghe Vallard <vallardt@gmail.com>
Co-authored-by: Sam <samredmondtech@gmail.com>
Co-authored-by: Morgan Roderick <20321+mroderick@users.noreply.github.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
2022-09-12 14:10:48 -04:00