Commit 974e497
# Backport
This will backport the following commits from `main` to `9.2`:
- [[Metrics][Discover] Disable Metrics Experience when ESQL query
contains WHERE command
(#239131)](#239131)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Miłosz
Marcinkowski","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-10-15T14:57:21Z","message":"[Metrics][Discover]
Disable Metrics Experience when ESQL query contains WHERE command
(#239131)\n\n## Summary\n\nCloses #239096\n\nDisable Metrics Experience
when ESQL query contains WHERE command.\n\nBefore:<img width=\"1728\"
height=\"971\" alt=\"Screenshot 2025-10-15 at 13\n57
46\"\nsrc=\"https://github.com/user-attachments/assets/6e888549-7522-43d2-be2d-b5d66dc06949\"\n/>\n\n\nAfter:
<img width=\"1728\" height=\"967\" alt=\"Screenshot 2025-10-15 at 13\n57
10\"\nsrc=\"https://github.com/user-attachments/assets/3ac32981-3d1c-492f-a2ff-f20095bb1c4d\"\n/>\n\n##
How to test\n- Clone
https://github.com/simianhacker/simian-forge/tree/main\n- Run ` ./forge
--dataset unique-metrics --count 50 --interval 30s`\n- Navigate to
Discover page, select ESQL mode and search for
metrics\nindex","sha":"c8b851534bffe80bd60008615fa5808368452fc8","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-infra_services","backport:version","v9.2.0","v9.3.0"],"title":"[Metrics][Discover]
Disable Metrics Experience when ESQL query contains WHERE
command","number":239131,"url":"https://github.com/elastic/kibana/pull/239131","mergeCommit":{"message":"[Metrics][Discover]
Disable Metrics Experience when ESQL query contains WHERE command
(#239131)\n\n## Summary\n\nCloses #239096\n\nDisable Metrics Experience
when ESQL query contains WHERE command.\n\nBefore:<img width=\"1728\"
height=\"971\" alt=\"Screenshot 2025-10-15 at 13\n57
46\"\nsrc=\"https://github.com/user-attachments/assets/6e888549-7522-43d2-be2d-b5d66dc06949\"\n/>\n\n\nAfter:
<img width=\"1728\" height=\"967\" alt=\"Screenshot 2025-10-15 at 13\n57
10\"\nsrc=\"https://github.com/user-attachments/assets/3ac32981-3d1c-492f-a2ff-f20095bb1c4d\"\n/>\n\n##
How to test\n- Clone
https://github.com/simianhacker/simian-forge/tree/main\n- Run ` ./forge
--dataset unique-metrics --count 50 --interval 30s`\n- Navigate to
Discover page, select ESQL mode and search for
metrics\nindex","sha":"c8b851534bffe80bd60008615fa5808368452fc8"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/239131","number":239131,"mergeCommit":{"message":"[Metrics][Discover]
Disable Metrics Experience when ESQL query contains WHERE command
(#239131)\n\n## Summary\n\nCloses #239096\n\nDisable Metrics Experience
when ESQL query contains WHERE command.\n\nBefore:<img width=\"1728\"
height=\"971\" alt=\"Screenshot 2025-10-15 at 13\n57
46\"\nsrc=\"https://github.com/user-attachments/assets/6e888549-7522-43d2-be2d-b5d66dc06949\"\n/>\n\n\nAfter:
<img width=\"1728\" height=\"967\" alt=\"Screenshot 2025-10-15 at 13\n57
10\"\nsrc=\"https://github.com/user-attachments/assets/3ac32981-3d1c-492f-a2ff-f20095bb1c4d\"\n/>\n\n##
How to test\n- Clone
https://github.com/simianhacker/simian-forge/tree/main\n- Run ` ./forge
--dataset unique-metrics --count 50 --interval 30s`\n- Navigate to
Discover page, select ESQL mode and search for
metrics\nindex","sha":"c8b851534bffe80bd60008615fa5808368452fc8"}}]}]
BACKPORT-->
Co-authored-by: Miłosz Marcinkowski <[email protected]>
1 parent 396abe3 commit 974e497
File tree
2 files changed
+9
-4
lines changed2 files changed
+9
-4
lines changedLines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
154 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
155 | 157 | | |
156 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
| 162 | + | |
158 | 163 | | |
159 | 164 | | |
160 | 165 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments