[Metrics][Discover] Discover input$ observable emission lost fix#241092
Merged
crespocarlos merged 1 commit intoelastic:mainfrom Oct 29, 2025
Merged
Conversation
Contributor
|
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
...platform/packages/shared/kbn-unified-metrics-grid/src/components/metrics_experience_grid.tsx
Show resolved
Hide resolved
miloszmarcinkowski
approved these changes
Oct 29, 2025
Contributor
miloszmarcinkowski
left a comment
There was a problem hiding this comment.
Code review only, LGTM!
jennypavlova
approved these changes
Oct 29, 2025
Member
jennypavlova
left a comment
There was a problem hiding this comment.
LGTM 🚀 I wasn't able to reproduce the issue connecting to edge edot 🎉
Thanks for fixing that!
Contributor
|
Starting backport for target branches: 9.2 https://github.com/elastic/kibana/actions/runs/18907163096 |
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
tkajtoch
pushed a commit
to tkajtoch/kibana
that referenced
this pull request
Oct 29, 2025
…stic#241092) fixes [240429](elastic#240429) ## Summary This PR fixes a bug where the Discover `input$` observable emissions were not always captured by the Metrics Experience, depending on the interval between the observable emission and the subscription in the `use_lens_props` hook. ### Before  ### After  ## How to test - Start a local Kibana instance and point it to an oblt cluster - the bug is more likely to occur when the performance is worse ```yml feature_flags.overrides: metricsExperienceEnabled: true ``` - Navigate to Discover and Switch to ESQL mode - Change the date picker to a range with no metrics data, then change it again to a range where metrics data is available.
Contributor
Author
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
crespocarlos
added a commit
to crespocarlos/kibana
that referenced
this pull request
Oct 29, 2025
…stic#241092) fixes [240429](elastic#240429) ## Summary This PR fixes a bug where the Discover `input$` observable emissions were not always captured by the Metrics Experience, depending on the interval between the observable emission and the subscription in the `use_lens_props` hook. ### Before  ### After  ## How to test - Start a local Kibana instance and point it to an oblt cluster - the bug is more likely to occur when the performance is worse ```yml feature_flags.overrides: metricsExperienceEnabled: true ``` - Navigate to Discover and Switch to ESQL mode - Change the date picker to a range with no metrics data, then change it again to a range where metrics data is available. (cherry picked from commit 2ad7f51) # Conflicts: # src/platform/packages/shared/kbn-unified-metrics-grid/src/components/metrics_experience_grid.tsx
crespocarlos
added a commit
that referenced
this pull request
Oct 29, 2025
#241092) (#241129) # Backport This will backport the following commits from `main` to `9.2`: - [[Metrics][Discover] Discover input$ observable emission lost fix (#241092)](#241092) <!--- Backport version: 10.1.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Carlos Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-10-29T12:01:59Z","message":"[Metrics][Discover] Discover input$ observable emission lost fix (#241092)\n\nfixes [240429](https://github.com/elastic/kibana/issues/240429)\n\n## Summary\n\nThis PR fixes a bug where the Discover `input# Backport This will backport the following commits from `main` to `9.2`: {{{{raw}}}} - [[Metrics][Discover] Discover input$ observable emission lost fix (#241092)](https://github.com/elastic/kibana/pull/241092){{{{/raw}}}}
qn895
pushed a commit
to qn895/kibana
that referenced
this pull request
Oct 30, 2025
…stic#241092) fixes [240429](elastic#240429) ## Summary This PR fixes a bug where the Discover `input$` observable emissions were not always captured by the Metrics Experience, depending on the interval between the observable emission and the subscription in the `use_lens_props` hook. ### Before  ### After  ## How to test - Start a local Kibana instance and point it to an oblt cluster - the bug is more likely to occur when the performance is worse ```yml feature_flags.overrides: metricsExperienceEnabled: true ``` - Navigate to Discover and Switch to ESQL mode - Change the date picker to a range with no metrics data, then change it again to a range where metrics data is available.
ana-davydova
pushed a commit
to ana-davydova/kibana
that referenced
this pull request
Nov 3, 2025
…stic#241092) fixes [240429](elastic#240429) ## Summary This PR fixes a bug where the Discover `input$` observable emissions were not always captured by the Metrics Experience, depending on the interval between the observable emission and the subscription in the `use_lens_props` hook. ### Before  ### After  ## How to test - Start a local Kibana instance and point it to an oblt cluster - the bug is more likely to occur when the performance is worse ```yml feature_flags.overrides: metricsExperienceEnabled: true ``` - Navigate to Discover and Switch to ESQL mode - Change the date picker to a range with no metrics data, then change it again to a range where metrics data is available.
albertoblaz
pushed a commit
to albertoblaz/kibana
that referenced
this pull request
Nov 4, 2025
…stic#241092) fixes [240429](elastic#240429) ## Summary This PR fixes a bug where the Discover `input$` observable emissions were not always captured by the Metrics Experience, depending on the interval between the observable emission and the subscription in the `use_lens_props` hook. ### Before  ### After  ## How to test - Start a local Kibana instance and point it to an oblt cluster - the bug is more likely to occur when the performance is worse ```yml feature_flags.overrides: metricsExperienceEnabled: true ``` - Navigate to Discover and Switch to ESQL mode - Change the date picker to a range with no metrics data, then change it again to a range where metrics data is available.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes 240429
Summary
This PR fixes a bug where the Discover
input$observable emissions were not always captured by the Metrics Experience, depending on the interval between the observable emission and the subscription in theuse_lens_propshook.Before
After
How to test