forked from open-telemetry/opentelemetry-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'open-telemetry:main' into main
- Loading branch information
Showing
12 changed files
with
96 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ jobs: | |
run: | | ||
npm run lint | ||
npm run lint:examples | ||
npm run lint:markdown | ||
- name: Lint doc files | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Publish packages to NPM | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release-to-npm: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- run: npm ci | ||
|
||
- run: npm run compile | ||
|
||
- name: Publish to npm | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
NPM_CONFIG_PROVENANCE: true | ||
run: npx lerna publish --concurrency 1 from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,21 @@ All notable changes to experimental packages in this project will be documented | |
|
||
### :boom: Breaking Change | ||
|
||
* feat(exporter-*-otlp-*)!: rewrite exporter config logic for testability [#4971](https://github.com/open-telemetry/opentelemetry-js/pull/4971) @pichlermarc | ||
* (user-facing) `getDefaultUrl` was intended for internal use has been removed from all exporters | ||
* (user-facing) `getUrlFromConfig` was intended for internal use and has been removed from all exporters | ||
* (user-facing) `hostname` was intended for internal use and has been removed from all exporters | ||
* (user-facing) `url` was intended for internal use and has been removed from all exporters | ||
* (user-facing) `timeoutMillis` was intended for internal use and has been removed from all exporters | ||
* (user-facing) `onInit` was intended for internal use and has been removed from all exporters | ||
* feat(otlp-exporter-base)!: do not export functions that are intended for internal use [#4971](https://github.com/open-telemetry/opentelemetry-js/pull/4971) @pichlermarc | ||
* Drops the following functions and types that were intended for internal use from the package exports: | ||
* `parseHeaders` | ||
* `appendResourcePathToUrl` | ||
* `appendResourcePathToUrlIfNeeded` | ||
* `configureExporterTimeout` | ||
* `invalidTimeout` | ||
|
||
### :rocket: (Enhancement) | ||
|
||
* feat(api-logs): Add delegating no-op logger provider [#4861](https://github.com/open-telemetry/opentelemetry-js/pull/4861) @hectorhdzg | ||
|
@@ -22,13 +37,6 @@ All notable changes to experimental packages in this project will be documented | |
* fix(sdk-events): remove devDependencies to old `@opentelemetry/[email protected]`, `@opentelemetry/[email protected]` packages [#5013](https://github.com/open-telemetry/opentelemetry-js/pull/5013) @pichlermarc | ||
* fix(sdk-logs): remove devDependencies to old `@opentelemetry/[email protected]` [#5013](https://github.com/open-telemetry/opentelemetry-js/pull/5013) @pichlermarc | ||
* fix(sdk-logs): align LogRecord#setAttribute type with types from `@opentelemetry/[email protected]` [#5013](https://github.com/open-telemetry/opentelemetry-js/pull/5013) @pichlermarc | ||
* feat(exporter-*-otlp-*)!: rewrite exporter config logic for testability [#4971](https://github.com/open-telemetry/opentelemetry-js/pull/4971) @pichlermarc | ||
* (user-facing) `getDefaultUrl` was intended for internal use has been removed from all exporters | ||
* (user-facing) `getUrlFromConfig` was intended for internal use and has been removed from all exporters | ||
* (user-facing) `hostname` was intended for internal use and has been removed from all exporters | ||
* (user-facing) `url` was intended for internal use and has been removed from all exporters | ||
* (user-facing) `timeoutMillis` was intended for internal use and has been removed from all exporters | ||
* (user-facing) `onInit` was intended for internal use and has been removed from all exporters | ||
* fix(exporter-*-otlp-*): fixes a bug where signal-specific environment variables would not be applied and the trace-specific one was used instead [#4971](https://github.com/open-telemetry/opentelemetry-js/pull/4971) @pichlermarc | ||
* Fixes: | ||
* `OTEL_EXPORTER_OTLP_METRICS_COMPRESSION` | ||
|
@@ -39,14 +47,8 @@ All notable changes to experimental packages in this project will be documented | |
* `OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY` | ||
* `OTEL_EXPORTER_OTLP_METRICS_INSECURE` | ||
* `OTEL_EXPORTER_OTLP_LOGS_INSECURE` | ||
* feat(otlp-exporter-base)!: do not export functions that are intended for internal use [#4971](https://github.com/open-telemetry/opentelemetry-js/pull/4971) @pichlermarc | ||
* Drops the following functions and types that were intended for internal use from the package exports: | ||
* `parseHeaders` | ||
* `appendResourcePathToUrl` | ||
* `appendResourcePathToUrlIfNeeded` | ||
* `configureExporterTimeout` | ||
* `invalidTimeout` | ||
* fix(sdk-node): use warn instead of error on unknown OTEL_NODE_RESOURCE_DETECTORS values [#5034](https://github.com/open-telemetry/opentelemetry-js/pull/5034) | ||
* fix(exporter-logs-otlp-proto): Use correct config type in Node constructor | ||
|
||
### :books: (Refine Doc) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters