From 10a32772477da676f06c5833da7bb33232c8336a Mon Sep 17 00:00:00 2001 From: Siim Kallas Date: Tue, 22 Nov 2022 21:12:26 +0200 Subject: [PATCH] chore: release v2.0.0 --- CHANGELOG.md | 22 +++++++++++++++++++--- package-lock.json | 4 ++-- package.json | 2 +- src/version.ts | 2 +- 4 files changed, 23 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46e98eab..68fd0824 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,32 @@ # Change Log - @splunk/otel -This log was last generated on Wed, 22 Sep 2022 09:24:01 GMT and should not be manually modified. +## 2.0.0 - +22nd of November, 2022 + +For a list of major changes and features in `2.0.0` see the notes for [`2.0.0-rc1`](CHANGELOG.md#200-rc1). + +Additional changes in this release: +- Upgrade to OpenTelemetry JS 1.8.0 / 0.34.0. [#612](https://github.com/signalfx/splunk-otel-js/pull/612) +- Remove `@opentelemetry/instrumentation-aws-lambda` from the bundled packages as there exists a separate [lambda instrumentation](https://github.com/signalfx/splunk-otel-lambda) and due to the package not being compatible with `@opentelemetry/instrumentation@0.34.0`. [#612](https://github.com/signalfx/splunk-otel-js/pull/612). +- `@opentelemetry/api` is now a peer dependency and the required version has been bumped to `1.3.0`. +- `OTEL_LOG_LEVEL` now also sets up the logging pipeline, thus diagnostic logging can now be enabled just by enabling it + via the environment variable. The supported log level values are `none`, `verbose`, `debug`, `info`, `warn`, `error`. + The logging pipeline can additionally be enabled by setting `logLevel` configuration option. [#605](https://github.com/signalfx/splunk-otel-js/pull/605). +- `process.command`, `process.command_line` and `process.runtime.description` resource attributes have been removed from the automatic process detection. [#613](https://github.com/signalfx/splunk-otel-js/pull/613) +- `OTEL_TRACES_EXPORTER` now only supports `otlp`, `console` or both (e.g. `OTEL_TRACES_EXPORTER=otlp,console`). + [#599](https://github.com/signalfx/splunk-otel-js/pull/599) +- Add support for `OTEL_EXPORTER_OTLP_PROTOCOL`, `OTEL_EXPORTER_OTLP_TRACES_PROTOCOL`, `OTEL_EXPORTER_OTLP_METRICS_PROTOCOL`. The supported values are `grpc` (the default) or `http/protobuf`. [#599](https://github.com/signalfx/splunk-otel-js/pull/599) [#614](https://github.com/signalfx/splunk-otel-js/pull/614) ## 2.0.0-rc2 +31st of October, 2022 + - Omit setting the default endpoint for metrics, as OpenTelemetry OTLP metrics exporters already have their own default configuration [#592](https://github.com/signalfx/splunk-otel-js/pull/592) ## 2.0.0-rc1 -Fri, 28 Oct 2022 08:48:00 GMT +28th of October, 2022 - ### Deprecate `startTracing`, `startMetrics`, `startProfiling` functions diff --git a/package-lock.json b/package-lock.json index 3119f43d..7a8bbc3e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@splunk/otel", - "version": "2.0.0-rc2", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@splunk/otel", - "version": "2.0.0-rc2", + "version": "2.0.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index 990e96e3..fff302b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@splunk/otel", - "version": "2.0.0-rc2", + "version": "2.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": "git@github.com:signalfx/splunk-otel-js.git", "author": "Splunk ", diff --git a/src/version.ts b/src/version.ts index 4f491f23..0109eebf 100644 --- a/src/version.ts +++ b/src/version.ts @@ -14,4 +14,4 @@ * limitations under the License. */ -export const VERSION = '2.0.0-rc2'; +export const VERSION = '2.0.0';