Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 27, 2025

Bumps @splunk/otel from 3.3.0 to 4.0.0.

Release notes

Sourced from @​splunk/otel's releases.

v4.0.0

Open Telemetry API Core Instrumentations
1.9.0 2.0.1 0.203.0

Changes

  • Upgrade to OpenTelemetry SDK 2.0. #1020.
    • Minimum Node.js version has been bumped to ^18.19.0 || >=20.6.0.
    • Refer to https://github.com/open-telemetry/opentelemetry-js/releases/tag/v2.0.0 and the upgrade guide for the complete list of breaking changes in OpenTelemetry JS.
    • Notable changes relevant to @splunk/otel:
      • Resource can no longer be created with new Resource({}), instead use resourceFromAttributes({}) when passing in a resource:
        import { start } from '@splunk/otel';
        import { resourceFromAttributes } from '@opentelemetry/resources';
        start({
        resource: (detectedResource) => {
        return detectedResource.merge(resourceFromAttributes({
        'my.attribute': 'foo',
        }));
        },
        })

      • Span no longer has a parentSpanId field, use parentSpanContext.spanId:
        import { start } from '@splunk/otel';
        import { Context } from '@opentelemetry/api';
        import { ReadableSpan, Span } from '@opentelemetry/sdk-trace-base';
        import { SpanProcessor } from '@opentelemetry/sdk-trace-base';
        class MySpanProcessor implements SpanProcessor {
        onStart(span: Span, _parentContext: Context): void {
        console.log(span.parentSpanContext?.spanId);
        }
        onEnd(span: ReadableSpan): void {
        console.log(span.parentSpanContext?.spanId);
        }
        forceFlush(): Promise<void> {
        return Promise.resolve();
        }
        shutdown(): Promise<void> {
        return Promise.resolve();
        }
        }
        start({

... (truncated)

Changelog

Sourced from @​splunk/otel's changelog.

4.0.0

  • Upgrade to OpenTelemetry SDK 2.0. #1020.
    • Minimum Node.js version has been bumped to ^18.19.0 || >=20.6.0.
    • Refer to https://github.com/open-telemetry/opentelemetry-js/releases/tag/v2.0.0 and the upgrade guide for the complete list of breaking changes in OpenTelemetry JS.
    • Notable changes relevant to @splunk/otel:
      • Resource can no longer be created with new Resource({}), instead use resourceFromAttributes({}) when passing in a resource:
        import { start } from '@splunk/otel';
        import { resourceFromAttributes } from '@opentelemetry/resources';
        start({
        resource: (detectedResource) => {
        return detectedResource.merge(resourceFromAttributes({
        'my.attribute': 'foo',
        }));
        },
        })

      • Span no longer has a parentSpanId field, use parentSpanContext.spanId:
        import { start } from '@splunk/otel';
        import { Context } from '@opentelemetry/api';
        import { ReadableSpan, Span } from '@opentelemetry/sdk-trace-base';
        import { SpanProcessor } from '@opentelemetry/sdk-trace-base';
        class MySpanProcessor implements SpanProcessor {
        onStart(span: Span, _parentContext: Context): void {
        console.log(span.parentSpanContext?.spanId);
        }
        onEnd(span: ReadableSpan): void {
        console.log(span.parentSpanContext?.spanId);
        }
        forceFlush(): Promise<void> {
        return Promise.resolve();
        }
        shutdown(): Promise<void> {
        return Promise.resolve();
        }
        }
        start({
        tracing: {
        spanProcessorFactory: (_opts) => [new MySpanProcessor()],
        },
        });

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [@splunk/otel](https://github.com/signalfx/splunk-otel-js) from 3.3.0 to 4.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@v3.3.0...v4.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 27, 2025
@dependabot dependabot bot requested review from a team as code owners August 27, 2025 18:59
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 27, 2025
@johnbley
Copy link
Collaborator

johnbley commented Oct 6, 2025

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 6, 2025

Looks like @splunk/otel is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Oct 6, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nodejs/splunk/otel-4.0.0 branch October 6, 2025 13:24
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 2025
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