Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @splunk/otel from 2.15.0 to 3.0.0 in /nodejs #343

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 13, 2025

Bumps @splunk/otel from 2.15.0 to 3.0.0.

Release notes

Sourced from @​splunk/otel's releases.

v3.0.0

Open Telemetry API Core Instrumentations
1.8.0 1.30.0 0.57.0

Changes

[!WARNING]

Breaking changes

  • Raise the minimum required Node.js version to 18. If Node <18 is a requirement, 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.
  • 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.

      import { start } from '@splunk/otel';
      import { Resource } from '@opentelemetry/resources';
      start({
      serviceName: 'example',
      resource: (detectedResource) => {
      return detectedResource.merge(new Resource({ 'service.version': '0.2.0' }));
      },
      });

    • Add realm field. When set passes the access token and realm to signals.

      import { start } from '@splunk/otel';
      start({
      serviceName: 'example',
      realm: 'us0',
      accessToken: '<token>'
      });
      // Traces and metrics are now sent to the us0 backend.

    Signal specific options can still be used and take preference over the shared configuration options.

  • 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.

... (truncated)

Changelog

Sourced from @​splunk/otel's changelog.

3.0.0

[!WARNING]

Breaking changes

  • Raise the minimum required Node.js version to 18. If Node <18 is a requirement, 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.
  • 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.

      import { start } from '@splunk/otel';
      import { Resource } from '@opentelemetry/resources';
      start({
      serviceName: 'example',
      resource: (detectedResource) => {
      return detectedResource.merge(new Resource({ 'service.version': '0.2.0' }));
      },
      });

    • Add realm field. When set passes the access token and realm to signals.

      import { start } from '@splunk/otel';
      start({
      serviceName: 'example',
      realm: 'us0',
      accessToken: '<token>'
      });
      // Traces and metrics are now sent to the us0 backend.

    Signal specific options can still be used and take preference over the shared configuration options.

  • 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.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@splunk/otel](https://github.com/signalfx/splunk-otel-js) from 2.15.0 to 3.0.0.
- [Release notes](https://github.com/signalfx/splunk-otel-js/releases)
- [Changelog](https://github.com/signalfx/splunk-otel-js/blob/main/CHANGELOG.md)
- [Commits](signalfx/splunk-otel-js@v2.15.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@splunk/otel"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner January 13, 2025 11:30
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 13, 2025
@dependabot dependabot bot requested a review from a team as a code owner January 13, 2025 11:30
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 14, 2025

Superseded by #345.

@dependabot dependabot bot closed this Jan 14, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nodejs/splunk/otel-3.0.0 branch January 14, 2025 11:42
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2025
@johnbley
Copy link
Collaborator

Superseded by #345.

... superseded by updating to 2.1.6? Hopefully this release ordering didn't break something...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant