Skip to content

Commit

Permalink
chore: release v3.0.0 (#1001)
Browse files Browse the repository at this point in the history
* chore: release v3.0.0

* improve changelog

* improve changelog

* improve changelog

* typo
  • Loading branch information
seemk authored Jan 10, 2025
1 parent 11b18c1 commit 48a6b5e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
17 changes: 12 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Change Log - @splunk/otel

## 3.0.0-rc1
## 3.0.0

> [!WARNING]
>### Breaking changes
>- Raise the minimum required Node.js version to 18. If Node <18 is a requirement, [2.x](https://github.com/signalfx/splunk-otel-js/tree/2.x) is still maintained and package versions 2.x can be used.
>- Change the default OTLP protocol from `grpc` to `http/protobuf`. The default exporting endpoint has been changed from `http://localhost:4317` to `http://localhost:4318`. Signal specific URL paths are automatically added when choosing the endpoint, e.g. when `endpoint` is set to `http://collector:4318`, `/v1/traces` is added for traces.
>- Change the default sampler from `parentbased_always_on` to `always_on`.
>- Profiling configuration: `resource: Resource` field has been changed to `resourceFactory: (resource: Resource) => Resource` to bring it in line with tracing and metrics configuration.
- Raise the minimum required Node.js version to 18. If Node <18 is a requirement, [2.x](https://github.com/signalfx/splunk-otel-js/tree/2.x) is still maintained and package versions 2.x can be used..
- Change the default OTLP protocol from `grpc` to `http/protobuf`. The default exporting endpoint has been changed from `http://localhost:4317` to `http://localhost:4318`. Signal specific URL paths are automatically added when choosing the endpoint, e.g. when `endpoint` is set to `http://collector:4318`, `/v1/traces` is added for traces.
- Change the default sampler from `parentbased_always_on` to `always_on`.
- Improve the start API to avoid duplicating parameters in the signal specific configuration.
* Add `resource` field - a function which can be used to overwrite or add additional parameters to the resource detected from the environment.

Expand Down Expand Up @@ -35,13 +39,16 @@
```

Signal specific options can still be used and take preference over the shared configuration options.
- Profiling configuration: `resource: Resource` field has been changed to `resourceFactory: (resource: Resource) => Resource` to bring it in line with tracing and metrics configuration.
- `splunk.distro.version` (automatically added resource attribute) has been removed and is replaced with `telemetry.distro.version` and `telemetry.distro.name`.
- `SPLUNK_METRICS_ENDPOINT` environment variable has been removed. Use the OpenTelemetry specific `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT` instead.
- Fix logging of `service.name` attribute not set from each signal, when the service name is not set.
- Add prebuilt binaries for Node.js 22 and 23.
- Upgrade to OpenTelemetry `1.30.0` / `0.57.0`.

## 3.0.0-rc1

- Changes moved to 3.0.0.

## 2.15.0

- Upgrade to OpenTelemetry `1.28.0` / `0.55.0`. [#987](https://github.com/signalfx/splunk-otel-js/pull/987)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splunk/otel",
"version": "3.0.0-rc1",
"version": "3.0.0",
"description": "The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.",
"repository": "[email protected]:signalfx/splunk-otel-js.git",
"author": "Splunk <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
* limitations under the License.
*/

export const VERSION = '3.0.0-rc1';
export const VERSION = '3.0.0';

0 comments on commit 48a6b5e

Please sign in to comment.