Skip to content

deduplicate otel dependencies#250841

Merged
TinaHeiligers merged 9 commits intoelastic:mainfrom
TinaHeiligers:deduplicate_otel_modules
Jan 30, 2026
Merged

deduplicate otel dependencies#250841
TinaHeiligers merged 9 commits intoelastic:mainfrom
TinaHeiligers:deduplicate_otel_modules

Conversation

@TinaHeiligers
Copy link
Copy Markdown
Contributor

@TinaHeiligers TinaHeiligers commented Jan 29, 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",
  }
}

@TinaHeiligers TinaHeiligers added Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// release_note:skip Skip the PR/issue when compiling release notes backport:all-open Backport to all branches that could still receive a release labels Jan 29, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@TinaHeiligers TinaHeiligers requested review from a team January 29, 2026 01:31
@TinaHeiligers TinaHeiligers self-assigned this Jan 29, 2026
@TinaHeiligers TinaHeiligers force-pushed the deduplicate_otel_modules branch from 1ca56e3 to b809629 Compare January 29, 2026 18:25
@TinaHeiligers TinaHeiligers requested a review from a team as a code owner January 29, 2026 18:25
Copy link
Copy Markdown
Contributor

@jbudz jbudz left a comment

Choose a reason for hiding this comment

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

packages/kbn-yarn-install-scripts/config.json LGTM

@TinaHeiligers TinaHeiligers requested a review from a team as a code owner January 30, 2026 01:14
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #39 / "before all" hook in "{root}"

Metrics [docs]

✅ unchanged

History

cc @TinaHeiligers

@rgodfrey-elastic rgodfrey-elastic removed the request for review from kc13greiner January 30, 2026 16:16
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

@TinaHeiligers TinaHeiligers merged commit 0faf546 into elastic:main Jan 30, 2026
17 checks passed
@TinaHeiligers TinaHeiligers deleted the deduplicate_otel_modules branch January 30, 2026 20:54
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.1, 9.2, 9.3

https://github.com/elastic/kibana/actions/runs/21530306738

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>
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.2:
- Update OpenTelemetry modules (main) (#250071)
- pin dependencies from yarn.lock to package.json (#244556)
9.3 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 250841

Questions ?

Please refer to the Backport tool documentation

mbondyra added a commit to mbondyra/kibana that referenced this pull request Feb 2, 2026
…iew_cps

* commit '32efd9b2fb078ade51073fd2d0068bc74c029d6b': (49 commits)
  [Security Solution] Rules exceptions subfeatures (elastic#245722)
  [BK] Upgrade axios (elastic#251150)
  Fix AI Connector form fields resetting to default value when cleared by user (elastic#251095)
  deduplicate otel dependencies (elastic#250841)
  Adds initial agents.md file (elastic#250833)
  [index management] Faster index list loading (elastic#246276)
  skip failing test suite (elastic#251086)
  skip failing test suite (elastic#251048)
  [Security Solutions] Trial Companion - adjust UX design (elastic#250910)
  [Traces][Discover] Prevent flyout remount when switching document types in Trace Waterfall (elastic#250406)
  [DOCS][Cases][9.4 & Serverless]: Doc new `Maximum amount of cases to open` setting for case action (elastic#250993)
  [Discover][Traces] Explore trace.id from logs in Discover (elastic#249632)
  Remove ! from SOs docs link (elastic#251097)
  [ML] Maps: Add telemetry events for file uploads (elastic#247543)
  [Fleet] Fix dupplicate ids when copying an integration policy or an agent policy (elastic#250971)
  [Dashboards as Code] Add snake case object keys util (elastic#250962)
  [Core] Remove URL Overflow & Deprecate `storeInSessionStorage` setting (elastic#242972)
  [One Workflow] fix: Fix Variable Retrieval in Workflow Execution Engine (elastic#250852)
  Rework Elastic Managed LLMs page (elastic#251069)
  [Lens powered by ES|QL] Update Switch to Query mode modal warning message (elastic#251051)
  ...
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 2, 2026
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 250841 locally
cc: @TinaHeiligers

1 similar comment
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 250841 locally
cc: @TinaHeiligers

@Ikuni17 Ikuni17 added reverted backport:skip This PR does not require backporting and removed backport missing Added to PRs automatically when the are determined to be missing a backport. backport:all-open Backport to all branches that could still receive a release labels Feb 4, 2026
Ikuni17 added a commit to Ikuni17/kibana that referenced this pull request Feb 4, 2026
Ikuni17 added a commit that referenced this pull request Feb 4, 2026
This reverts commit 0faf546.

## Summary

Reverts #250841 due to incompatibility with otel versions. See [Slack
thread](https://elastic.slack.com/archives/C0D8P2XK5/p1770116835509999)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes reverted Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants