* chore(lint): refactor Markdown linting to use markdownlint-cli2
- first commit is just config changes; lint updates will follow
* lint fixes
* fix markdownlint for rule MD045/no-alt-text
* lint config changes for prefering 'dash' style for rule MD004/ul-style
* lint:markdown:fix changes for MD004/ul-style
* manually apply this h3->h2 fix that Amir had in his #4703 PR
* mention markdown linting in the Linting section of the contributor guide
* add link to rules docs
---------
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* feat: add more scripts for release creation
* Update scripts/extract-latest-release-notes.js
* fix: replace console.log() with console.warn(), ensure get-version.js is a version by checking against a regex
* chore: add comment to describe the regex
* Add Trent to approvers (#4311)
* chore(renovate): require dashboard approval for lerna updates (#4276)
* chore(ci): install semver globally to speed up "peer-api" workflow (#4270)
Closes: #4242
* fix(ci): remove token setup via environment variable from .npmrc (#4329)
* fix(instrumentation-http): resume responses when there is no response listener
Fixes a memory leak where unhandled response bodies pile up in node 20
* feat: add script to update changelogs on release preparation (#4315)
* feat: add script to update changelogs on releases
* fix: address comments
* Apply suggestions from code review
Co-authored-by: Trent Mick <trentm@gmail.com>
* fix: apply suggestions from code review
* fix: use packageJson.version instead of version
---------
Co-authored-by: Trent Mick <trentm@gmail.com>
* Fix event name
* test: make rawRequest HTTP-compliant
* Add node 20 to test matrix
* Enable old hash functions on 20
* Fix esm handling for iitm node 20
* Use err.code to make test more reliable
* Changelog
* nit: single import
* Remove unused files
* Add v20 to supported runtimes
* ci: add npm cache in actions/setup-node (#4271)
* feat(sdk-logs): add droppedAttributesCount field to ReadableLogRecord (#4289)
* feat(sdk-logs): add droppedAttributesCount field to ReadableLogRecord
* chore: check droppedAttributesCount value in test case
* feat(otlp-transformer): make toLogRecord() use ReadableLogRecord.droppedAttributesCount
---------
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* fix(api-logs): allow passing in TimeInput for LogRecord (#4345)
* fix: allow passing in TimeInput for LogRecord
* chore: update changelog
* fix: programmatic url and headers take precedence in metric exporters… (#4334)
* fix: programmatic url and headers take precedence in metric exporters (#2370)
* chore: adjust grpc exporter metrics test
* chore(changelog): update changelog
* fix(instrumentation-http): do not mutate given headers object for outgoing http requests (#4346)
Fixes: https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1609
* chore(deps): update actions/stale action to v9 (#4353)
* fix(deps): update dependency import-in-the-middle to v1.6.0 (#4357)
* chore(deps): update all patch versions (#4306)
* chore(ci): use node 20 in lint workflow (#4359)
* chore(deps): update dependency linkinator to v6 (#4237)
* fix(otlp-exporter-base): decrease default concurrency limit to 30 (#4211)
* fix(otlp-exporter-base): decrease concurrency limit to 30
* fix(changelog): add changelog entry
* chore(deps): use actions/checkout >4 instead of 4.0.0 exactly (#4361)
---------
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
Co-authored-by: strivly <133362191+strivly@users.noreply.github.com>
Co-authored-by: Trent Mick <trentm@gmail.com>
Co-authored-by: lyzlisa <34400837+lyzlisa@users.noreply.github.com>
Co-authored-by: Hyun Oh <hyunnoh01@gmail.com>
Co-authored-by: Siim Kallas <siimkallas@gmail.com>
Co-authored-by: Vladimir Adamić <441333+Vunovati@users.noreply.github.com>
Co-authored-by: Mend Renovate <bot@renovateapp.com>
* 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>
* docs: fixed link to benchmark results (#4233)
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
* chore(deps): update all patch versions (#4215)
* fix: otlp json encoding (#4220)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* fix: remove duplicate export star from version.ts (#4225)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* docs: fix sdk-node config instructions (#4249)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* feat(api): publish api esnext target (#4231)
* chore: release API 1.7.0/Core 1.18.0/Experimental 0.45.0 (#4254)
* fix(sdk-metrics): hand-roll MetricAdvice type as older API versions do not include it (#4260)
* chore: prepare release 1.18.1/0.45.1 (#4261)
* chore: no need for 'packages' in "lerna.json" (#4264)
* Benchmark tests for trace OTLP transform and BatchSpanProcessor (#4218)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* chore: type reference on zone.js (#4257)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* docs: add docker-compose to run prometheus for the experimental example (#4268)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* fix(sdk-logs): avoid map attribute set when count limit exceeded (#4195)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
* chore(deps): update dependency chromedriver to v119 [security] (#4280)
* chore(deps): update actions/setup-node action to v4 (#4236)
* fix(sdk-trace-base): processor onStart called with a span having empty attributes (#4277)
Co-authored-by: artahmetaj <artahmetaj@yahoo.com>
* Update fetch instrumentation to be runtime agnostic (#4063)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
---------
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
Co-authored-by: Martin Kuba <martin@martinkuba.com>
Co-authored-by: Mend Renovate <bot@renovateapp.com>
Co-authored-by: Siim Kallas <siimkallas@gmail.com>
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
Co-authored-by: David Luna <david.luna@elastic.co>
Co-authored-by: Dinko Osrecki <dinko.osrecki@emarsys.com>
Co-authored-by: Trent Mick <trentm@gmail.com>
Co-authored-by: François <32224751+Lp-Francois@users.noreply.github.com>
Co-authored-by: Hyun Oh <hyunnoh01@gmail.com>
Co-authored-by: André Cruz <andremiguelcruz@msn.com>
Co-authored-by: artahmetaj <artahmetaj@yahoo.com>
Co-authored-by: drewcorlin1 <82601620+drewcorlin1@users.noreply.github.com>
* 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>