Commit Graph

869 Commits

Author SHA1 Message Date
YangJH 4919fd1711
feat(exporter-metrics-otlp-proto): Support to protobuf in browser metrics (#5710) 2025-05-27 08:59:33 +00:00
Marc Pichler a9fc600f2b
chore(deps): update to msw@2.8.4 (#5709) 2025-05-23 17:53:44 +00:00
renovate[bot] 08afa47f6a
chore(deps): update dependency webpack to v5.99.9 (#5704)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-22 15:10:01 +00:00
Chengzhong Wu 7a9b04904c
chore: enable tsconfig isolatedModules (#5697) 2025-05-21 08:10:51 +00:00
Trent Mick 280cd5012b
test(instrumentation-fetch): pin msw dep to avoid breakage in msw@2.8 (#5702) 2025-05-20 20:59:09 +00:00
Łukasz Jernaś 85f1bcc256
chore(opentelemetry-instrumentation-http): Fix link to docs (#5699)
Signed-off-by: Łukasz Jernaś <lukasz.jernas@allegro.com>
2025-05-20 14:52:06 +00:00
renovate[bot] f0ba942c04
chore(deps): update dependency @babel/core to v7.27.1 (#5698)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-20 07:29:26 +00:00
renovate[bot] af9c024c04
chore(deps): update all patch versions (#5694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 16:49:18 +00:00
OpenTelemetry Bot 9dbd1e446b
chore: prepare next release (#5696) 2025-05-19 09:14:41 +00:00
Trent Mick 4e2703c3e0
fix(instrumentation): change `SemconvStability` export from `const enum` to `enum` (#5692) 2025-05-16 21:00:10 +00:00
Marc Pichler 4ce5bd1651
chore: prepare release 2.0.1/0.201.0 (#5683) 2025-05-15 17:59:44 +00:00
renovate[bot] 6803723f69
fix(deps): update all patch versions (#5685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 12:33:08 +00:00
Trent Mick d4d373217a
feat(instrumentation): export generic 'semconvStabilityFromStr()' utility, rather than namespace-specific ones (#5684) 2025-05-14 23:30:07 +00:00
Colin Ihrig 56610a0c6f
test: test Node.js 24 in CI (#5661)
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
2025-05-14 13:47:42 +00:00
Jamie Danielson 697e1d31bd
refactor(instrumentation-http): Add back support for http semconv (#5665)
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-05-12 20:18:25 +00:00
Trent Mick 0c21db4621
feat(instrumentation-xml-http-request): support migration to stable HTTP semconv, v1.23.1 (#5662) 2025-05-09 22:20:47 +00:00
Trent Mick 0665c854c8
refactor(sdk-node): update semconv usage to ATTR_ exports (#5668) 2025-05-09 20:39:16 +00:00
Trent Mick c2c9399740
refactor(exporter-prometheus): update semconv usage to ATTR_ exports (#5675) 2025-05-09 19:29:06 +00:00
Colin Ihrig 6033e66530
chore: add missing reference to changelog (#5660)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-05-09 16:39:35 +00:00
Trent Mick 5954fdeb90
feat(instrumentation-fetch): support migration to stable HTTP semconv, v1.23.1 (#5651) 2025-05-08 22:09:16 +00:00
Jamie Danielson e1ec4026ed
feat(instrumentation-grpc): support migration to stable HTTP semconv (#5653) 2025-05-08 21:20:13 +00:00
Trent Mick eb4ce206b7
feat(instrumentation): New utilities for semconv stability migration for instrumentations that produce 'http' and 'db' telemetry. (#5659)
Co-authored-by: Jamie Danielson <jamiedanielson@honeycomb.io>
2025-05-08 13:42:30 +00:00
Jackson Weber 7749d0a011
feat:(instrumentation-http) Capture Synthetic Source Type on Requests (#5488)
Co-authored-by: Trent Mick <trentm@gmail.com>
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-04-28 16:09:18 +00:00
Mend Renovate 0c452201aa
chore(deps): update dependency @bufbuild/buf to v1.53.0 (#5637) 2025-04-28 11:39:16 +00:00
Julian Tescher 826c2d90d4
fix(instrumentation-http): stable client metrics response code (#5625)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-04-28 11:36:07 +00:00
Mend Renovate 4061f81de7
chore(deps): update dependency webpack to v5.99.7 (#5635) 2025-04-28 10:55:46 +00:00
Marc Pichler a2fab71bae
fix(sdk-node): instantiate baggage processor when env var is set (#5634) 2025-04-28 10:15:26 +00:00
Marc Pichler 0b5736d4e1
deps(instrumentation): remove unused @types/semver dev-dependency (#5631) 2025-04-24 14:21:43 +00:00
Mend Renovate 0bbb966729
fix(deps): update all patch versions (#5609) 2025-04-23 15:40:08 +00:00
Svetlana Brennan 8efceed28c
feat(instrumentation-http)!: Remove legacy http span attributes and metrics (#5552)
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-04-22 17:01:41 +00:00
Colin Ihrig cf6dffeebc
refactor: replace assertRejects() with assert.rejects() (#5614) 2025-04-15 16:03:07 +00:00
Marc Pichler 37fe1e495b
fix(otlp-transformer): do not throw when deserializing empty JSON response (#5551) 2025-04-14 08:13:32 +00:00
Trent Mick 4f9b31b78a
docs: update from deprecated SEMRESATTRS_SERVICE_NAME to ATTR_SERVICE_NAME (#5604) 2025-04-10 07:35:26 +00:00
Michael Beemer 78f9260bd5
refactor(sdk-node): update node sdk to use env var util (#5582)
Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-04-09 20:28:59 +00:00
Sebastian Bejga e46bd39e8d
refactor(opentelemetry-sdk-node): use new get*FromEnv() function in NodeSDK's metrics setup (#5578)
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-04-09 20:07:39 +00:00
Asstra 0f6619e0cc
refactor(instrumentation): change tests to allow use of mocha context (#5591)
Signed-off-by: Adrien Raimbault <adrien.raimbault@etu.umontpellier.fr>
2025-04-09 13:10:27 +00:00
David Luna b018f15a00
test(instr-http): add test for removing auth in http.url and url.full semantic attributes (#5592) 2025-04-09 13:09:29 +00:00
Matéo Fernandez 0808373465
feat(@opentelemetry/sdk-logs): align LoggerProvider constructor options with Trace and Metrics SDK (#5588)
Signed-off-by: Matéo Fernandez <mateo.fernandez73@gmail.com>
2025-04-09 13:06:39 +00:00
Weyert de Boer 27eb7f12cf
refactor: use get*FromEnv() for logging setup (#5580)
Signed-off-by: Weyert de Boer <wdb@innerfuse.biz>
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-04-02 16:53:09 +00:00
Ole Kristian Pedersen a8583b82d3
fix(exporter-oltp-metrics-*): Remove forceFlush (#5579) 2025-04-02 16:43:17 +00:00
Martin Holman b322a24b4a
fix: npm links (#5553) 2025-03-24 12:45:28 +00:00
Mend Renovate c6ab2ba488
fix(deps): update all patch versions (#5530) 2025-03-20 08:47:42 +00:00
Daniel Dyla 378344a740
Do not log detected resource (#5546) 2025-03-19 09:02:34 +00:00
Marc Pichler 7fde94081e
chore: prepare release 2.0.0/0.200.0 (#5521) 2025-03-17 15:40:53 +00:00
Marc Pichler eaebf765d8
chore: prepare release 2.0.0-rc.1/0.200.0-rc.1 (#5534) 2025-03-12 15:16:07 +00:00
Mend Renovate e947bd93ae
chore(deps): update dependency babel-loader to v10 (#5518) 2025-03-10 12:49:37 +00:00
Mend Renovate 5e20647ffe
fix(deps): update dependency axios to v1.8.2 [security] (#5532) 2025-03-10 12:48:55 +00:00
Marc Pichler 92fde6aa77
chore: prepare 2.0.0-dev.1/0.200.0-dev.1 pre-release (#5512) 2025-03-05 16:50:06 +00:00
Trent Mick 04b32102f0
doc: upgrade/migration guide for SDK 2.0 (#5513)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
Co-authored-by: Jamie Danielson <jamiedanielson@honeycomb.io>
2025-03-05 07:00:44 +00:00
Marc Pichler 544c409847
feat(sdk-trace-base)!: remove BasicTracerProvider#register() to improve tree-shaking (#5503) 2025-02-24 16:27:52 +00:00
Mend Renovate 537eaf9fc0
fix(deps): update all patch versions (#5440) 2025-02-24 16:09:41 +00:00
Marc Pichler 2053f0d3a4
chore: prepare 2.0.0-dev.0/0.200.0-dev.0 release (#5498) 2025-02-21 12:04:54 +00:00
David Luna f2d4e54975
feat!: set compilation target to `es2022` for all packages but api and semantic-conventions (#5456)
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-02-21 08:16:15 +00:00
Marc Pichler 492ed355cb
deps: clean up dependencies (#5484) 2025-02-19 11:14:29 +00:00
Marc Pichler 5ccf3809b9
feat(resources): use functions over constants for default and empty resources (#5467) 2025-02-19 11:11:36 +00:00
Marc Pichler 0cdf9eea80
docs(resources): align documentation with current state (#5486) 2025-02-19 11:11:08 +00:00
Jackson Weber 1afa8ba514
feat(sdk-trace-base)!: Add parentSpanContext and remove parentSpanId (#5450)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-02-18 17:08:25 +00:00
Marc Pichler 1a5b57b7f3
feat(exporter-metrics-otlp-http)!: do not read environment variables from window (#5473)
Co-authored-by: David Luna <david.luna@elastic.co>
2025-02-17 10:19:49 +00:00
Marc Pichler 52d033171a
refactor(instrumentation-http): migrate away from getEnv() (#5469) 2025-02-17 10:10:38 +00:00
Marc Pichler 5c90aec9af
feat(sdk-logs)!: do not read environment variables from window (#5472) 2025-02-17 09:57:22 +00:00
Marc Pichler 5b988c892d
feat: migrate sdk-node away from getEnv(), introduce diagLogLevelFromString() util (#5475)
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-02-17 09:49:21 +00:00
Marius Müller 7a1e1b274f
feat(exporter-prometheus): add additional attributes option (#5317)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-02-13 18:57:50 +00:00
Daniel Dyla 4b8ae0c2bf
feat(resource)!: Remove resource class export in favor of functions and types only to aid in cross-version compatibility (#5421)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-02-13 11:12:44 +00:00
Patrick Lafrance 7438735af7
feat(opentelemetry-instrumentation-fetch): added a requestHook option (#5380)
Signed-off-by: patricklafrance <pa.lafrance@gmail.com>
2025-02-13 09:31:47 +00:00
Marc Pichler 4fb9c5aba9
refactor(web-common): add incubating semconv to package (#5446) 2025-02-11 13:53:04 +00:00
Trent Mick 824814f783
chore: unpin semantic-conventions package dep (#5439) 2025-02-11 12:22:27 +00:00
Marc Pichler 94059f7cf7
feat(core)!: remove unused/obsolete functions and types (#5444) 2025-02-11 09:18:58 +00:00
Godfrey Chan e744798957
refactor(instrumentation-xhr): fix eslint warnings (#5402) 2025-02-06 23:43:34 +00:00
OpenTelemetry Bot 6508845fa6
chore: prepare next release (#5431) 2025-02-06 20:40:30 +00:00
Jamie Danielson e9f84cbeef
fix(exporter-logs/trace-otlp-grpc): fix error for missing dependency otlp-exporter-base (#5412) 2025-02-06 10:31:10 +00:00
Trent Mick 241c046ccd
chore: remove obsolete comment (#5426) 2025-02-06 10:23:06 +00:00
Godfrey Chan 39e9a09694
refactor(otlp-exporter-base): fix eslint warnigns (#5391) 2025-02-05 18:28:29 +00:00
Godfrey Chan b5885e90e6
refactor(instrumentation-grpc): fix eslint warnings (#5408) 2025-02-05 18:08:11 +00:00
Daniel Dyla 595d0e9c0d
Converge sync and async resources (#5350) 2025-02-03 19:52:16 +00:00
Marc Pichler f9fda8baef
feat(sdk-trace-*):! drop unintentional/unnecessary exports (#5405) 2025-01-31 14:19:21 +00:00
Trent Mick 7332f3a863
chore!: bump min-supported node to ^18.19.0 || >=20.6.0 (#5397)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-01-31 09:18:27 +00:00
Godfrey Chan 29d0da559b
refactor(instrumentation-fetch): fix eslint warnings (#5401) 2025-01-30 16:40:10 +00:00
Mend Renovate 5903906d10
chore(deps): update dependency mocha to v11.1.0 (#5404) 2025-01-30 15:38:45 +00:00
Godfrey Chan bb212334c7
refactor(exporter-metrics-otlp-http): fix eslint warning (#5396) 2025-01-30 12:38:07 +00:00
Marc Pichler e265e47e98
feat(sdk-trace-base)!: drop ability to auto-instantiate propagators beyond defaults (#5355)
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-01-30 12:33:13 +00:00
Godfrey Chan a04284ccdc
refactor(exporter-*): remove `export * from ...` (#5399) 2025-01-30 12:32:18 +00:00
Godfrey Chan 27bdf71519
[instrumentation-fetch] Use `msw` for fetch instrumentation tests (#5282)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-01-30 12:01:02 +00:00
Godfrey Chan 3c040c4ef0
fix(inst-fetch,inst-xhr) Ignore network events with zero-timing (#5332) 2025-01-29 17:49:04 +00:00
Godfrey Chan a686b88bf5
refactor(browser-detector): fix eslint warning (#5384) 2025-01-29 11:54:56 +00:00
Marc Pichler 23adb2bdc5
docs(instrumenation-http): reword documentation about what is geneated (#5378) 2025-01-29 10:12:46 +00:00
Godfrey Chan d2812d2810
refactor(instrumentation): fix eslint warnings (#5389) 2025-01-29 10:08:18 +00:00
Serkan ÖZAL e42fbb985f
feat(opentelemetry-instrumentation): replace `semver` package with internal semantic versioning check implementation (#5305)
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-01-28 22:57:04 +00:00
Colin Ihrig 321c31f442
refactor(exporter-prometheus): remove unnecessary `isNaN()` check (#5377) 2025-01-27 16:10:04 +00:00
Colin Ihrig c43f17238c
feat(instrumentation-grpc): monitor error events with events.errorMonitor (#5369)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-01-27 16:00:02 +00:00
Colin Ihrig bdc0e3a34c
chore(instrumentation-grpc): remove unused `findIndex()` function (#5372)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-01-27 09:44:10 +00:00
Mend Renovate 2a26d08b2e
chore(deps): update all patch versions to v7.26.7 (#5375) 2025-01-27 09:19:35 +00:00
Colin Ihrig 3e013cfd8f
refactor(otlp-exporter-base): remove unnecessary `isNaN()` checks (#5374) 2025-01-27 09:12:34 +00:00
Godfrey Chan f927e82b1d
doc: migrate away from defunct `addMetricReader` in examples (#5349) 2025-01-24 09:09:31 +00:00
Colin Ihrig b4ae9ca61d
feat(sdk-node): lower diagnostic level (#5360)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-01-23 20:04:43 +00:00
Marc Pichler df49fb1893
feat(sdk-metrics)!: extract IMetricReader interface and use it over abstract class (#5311) 2025-01-23 16:00:39 +00:00
David Luna 34475825e8
chore: update `module` config in tsconfig.base.json (#5347)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-01-23 10:35:36 +00:00
Marc Pichler c00f36ee43
feat(sdk-trace)!: remove ability to have BasicTracerProvider instantiate exporters (#5239) 2025-01-21 12:41:10 +00:00
Connor Pearson 6c04a41443
feat(instrumentation): re-export initialize from import-in-the-middle (#5123)
Signed-off-by: Connor Pearson <connor.pearson@mailbox.org>
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-01-20 16:22:40 +00:00
Mend Renovate 95a190a5ac
chore(deps): update dependency ts-loader to v9.5.2 (#5335) 2025-01-13 14:27:55 +00:00
Marc Pichler 6f18ec24d2
test(instrumentation-http): remove tests for deprecated request package (#5328) 2025-01-13 14:21:32 +00:00