Skip to content

Update OpenTelemetry modules (main)#250306

Closed
elastic-renovate-prod[bot] wants to merge 3 commits intomainfrom
renovate/main-opentelemetry-modules
Closed

Update OpenTelemetry modules (main)#250306
elastic-renovate-prod[bot] wants to merge 3 commits intomainfrom
renovate/main-opentelemetry-modules

Conversation

@elastic-renovate-prod
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change Pending
@opentelemetry/context-async-hooks (source) dependencies minor 2.2.0 -> 2.3.0 2.5.0 (+1)
@opentelemetry/exporter-metrics-otlp-grpc (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/exporter-metrics-otlp-http (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/exporter-metrics-otlp-proto (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/exporter-prometheus (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/exporter-trace-otlp-grpc (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/exporter-trace-otlp-http (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/exporter-trace-otlp-proto (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/instrumentation (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/instrumentation-http (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)
@opentelemetry/otlp-exporter-base (source) dependencies minor 0.208.0 -> 0.209.0 0.211.0 (+1)

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

open-telemetry/opentelemetry-js (@​opentelemetry/context-async-hooks)

v2.3.0

Compare Source

🚀 Features
  • feat(sdk-trace-base): implement on ending in span processor #​6024 @​majanjua-amzn
    • note: this feature is experimental and subject to change
🐛 Bug Fixes
🏠 Internal

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot added release_note:skip Skip the PR/issue when compiling release notes Team:AI Infra Platform AppEx AI Infrastructure Team t// Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// Team:Monitoring Stack Monitoring team Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// labels Jan 24, 2026
@elastic-renovate-prod elastic-renovate-prod bot requested review from a team and kc13greiner January 24, 2026 01:05
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/appex-ai-infra (Team:AI Infra)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-security (Team:Security)

@elastic-renovate-prod
Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@afharo
Copy link
Copy Markdown
Member

afharo commented Jan 26, 2026

/ci

Copy link
Copy Markdown
Member

@pickypg pickypg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGT Stack Monitoring (assuming it passes)

@TinaHeiligers TinaHeiligers added the backport:all-open Backport to all branches that could still receive a release label Jan 27, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jan 27, 2026

💔 Build Failed

Failed CI Steps

History

@TinaHeiligers
Copy link
Copy Markdown
Contributor

TinaHeiligers commented Jan 27, 2026

The errors' thrown with assert_path_length

│          at Object.run (assert_path_length.ts:42:13)

this PR includes updates to @elastic/opentelemetry-node and each exporter has its own copy of @opentelemetry/sdk-metrics and @opentelemetry/resources.

yarn why @opentelemetry/sdk-metrics outputs

=> Found "@opentelemetry/sdk-metrics@2.2.0"
info Has been hoisted to "@opentelemetry/sdk-metrics"
info Reasons this module exists
   - Hoisted from "@opentelemetry#otlp-transformer#@opentelemetry#sdk-metrics"
   - Hoisted from "@elastic#opentelemetry-node#@opentelemetry#sdk-node#@opentelemetry#sdk-metrics"
   - Hoisted from "@elastic#opentelemetry-node#@opentelemetry#sdk-node#@opentelemetry#exporter-metrics-otlp-grpc#@opentelemetry#sdk-metrics"
   - Hoisted from "@elastic#opentelemetry-node#@opentelemetry#sdk-node#@opentelemetry#exporter-metrics-otlp-http#@opentelemetry#sdk-metrics"
   - Hoisted from "@elastic#opentelemetry-node#@opentelemetry#sdk-node#@opentelemetry#exporter-metrics-otlp-proto#@opentelemetry#sdk-metrics"
   - Hoisted from "@elastic#opentelemetry-node#@opentelemetry#sdk-node#@opentelemetry#exporter-prometheus#@opentelemetry#sdk-metrics"
info Disk size without dependencies: "6.64MB"
info Disk size with unique dependencies: "9.67MB"
info Disk size with transitive dependencies: "20.39MB"
info Number of shared dependencies: 3

so we end up with paths like

node_modules/
  @elastic/opentelemetry-node/
    node_modules/
      @opentelemetry/exporter-metrics-otlp-grpc/
        node_modules/
          @opentelemetry/sdk-metrics/
            build/esnext/aggregator/exponential-histogram/mapping/ExponentMapping.js

that fail assert_path_length (

description: 'Checking Windows for paths > 200 characters',
) with a max of 200.

@TinaHeiligers
Copy link
Copy Markdown
Contributor

Looking through past issues with similar problems, the fix looks like deduplicate the dependency tree using Yarn resolutions seemed to work, at least on #207391

@afharo WDYT about trying the same thing here:
i.e. in package.json, resolutions:

{
  "resolutions": {
    "@opentelemetry/sdk-metrics": "X.Y.Z",
    "@opentelemetry/resources": "X.Y.Z",
    "@opentelemetry/api": "X.Y.Z"
  }
}

we'd need to pin down the versions though.

@afharo
Copy link
Copy Markdown
Member

afharo commented Jan 28, 2026

@TinaHeiligers That's an awesome solution! Do you mind taking over?

@TinaHeiligers
Copy link
Copy Markdown
Contributor

superceded by #250841.

TinaHeiligers added a commit that referenced this pull request Jan 30, 2026
Replaces #250306

This PR includes the changes from
#250306 and deduplicating the
dependency tree using yarn resolutions with pinned versions:

```
{
  "resolutions": {
    "**/@opentelemetry/api": "1.9.0",
    "**/@opentelemetry/resources": "2.2.0",
    "**/@opentelemetry/sdk-metrics": "2.2.0",
  }
}
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
hannahbrooks pushed a commit to hannahbrooks/kibana that referenced this pull request Jan 30, 2026
Replaces elastic#250306

This PR includes the changes from
elastic#250306 and deduplicating the
dependency tree using yarn resolutions with pinned versions:

```
{
  "resolutions": {
    "**/@opentelemetry/api": "1.9.0",
    "**/@opentelemetry/resources": "2.2.0",
    "**/@opentelemetry/sdk-metrics": "2.2.0",
  }
}
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:AI Infra Platform AppEx AI Infrastructure Team t// Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// Team:Monitoring Stack Monitoring team Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants