-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ES|QL][Inspector] Display cluster details tab for CCS data sources #195373
Conversation
💚 Build Succeeded
Metrics [docs]Page load bundle
|
Pinging @elastic/kibana-esql (Team:ESQL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11273188939 |
…lastic#195373) ## Summary It displays correctly the cluster details if they come in the response. To test it you will need a CCS index as the `_clusters` property only comes for these indexes. Other than that it just works out of the bloom as the response is exactly the same as the search api. If we were sending the response correctly in the inspector (it wants: `rawResonse: {....}` and not just the response as we get it), it would have worked without any change from our side. ![image (63)](https://github.com/user-attachments/assets/c3a93616-4a6d-468c-8968-e1f1692cffc1) (cherry picked from commit a6e22cf)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…rces (#195373) (#195750) # Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL][Inspector] Display cluster details tab for CCS data sources (#195373)](#195373) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-10T11:33:41Z","message":"[ES|QL][Inspector] Display cluster details tab for CCS data sources (#195373)\n\n## Summary\r\n\r\nIt displays correctly the cluster details if they come in the response.\r\nTo test it you will need a CCS index as the `_clusters` property only\r\ncomes for these indexes.\r\n\r\nOther than that it just works out of the bloom as the response is\r\nexactly the same as the search api. If we were sending the response\r\ncorrectly in the inspector (it wants: `rawResonse: {....}` and not just\r\nthe response as we get it), it would have worked without any change from\r\nour side.\r\n\r\n![image\r\n(63)](https://github.com/user-attachments/assets/c3a93616-4a6d-468c-8968-e1f1692cffc1)","sha":"a6e22cf581975cab828b62926484dc2104a19432","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","backport:prev-minor","Feature:ES|QL","Team:ESQL","v8.16.0"],"title":"[ES|QL][Inspector] Display cluster details tab for CCS data sources","number":195373,"url":"https://github.com/elastic/kibana/pull/195373","mergeCommit":{"message":"[ES|QL][Inspector] Display cluster details tab for CCS data sources (#195373)\n\n## Summary\r\n\r\nIt displays correctly the cluster details if they come in the response.\r\nTo test it you will need a CCS index as the `_clusters` property only\r\ncomes for these indexes.\r\n\r\nOther than that it just works out of the bloom as the response is\r\nexactly the same as the search api. If we were sending the response\r\ncorrectly in the inspector (it wants: `rawResonse: {....}` and not just\r\nthe response as we get it), it would have worked without any change from\r\nour side.\r\n\r\n![image\r\n(63)](https://github.com/user-attachments/assets/c3a93616-4a6d-468c-8968-e1f1692cffc1)","sha":"a6e22cf581975cab828b62926484dc2104a19432"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195373","number":195373,"mergeCommit":{"message":"[ES|QL][Inspector] Display cluster details tab for CCS data sources (#195373)\n\n## Summary\r\n\r\nIt displays correctly the cluster details if they come in the response.\r\nTo test it you will need a CCS index as the `_clusters` property only\r\ncomes for these indexes.\r\n\r\nOther than that it just works out of the bloom as the response is\r\nexactly the same as the search api. If we were sending the response\r\ncorrectly in the inspector (it wants: `rawResonse: {....}` and not just\r\nthe response as we get it), it would have worked without any change from\r\nour side.\r\n\r\n![image\r\n(63)](https://github.com/user-attachments/assets/c3a93616-4a6d-468c-8968-e1f1692cffc1)","sha":"a6e22cf581975cab828b62926484dc2104a19432"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Stratoula Kalafateli <[email protected]>
Summary
It displays correctly the cluster details if they come in the response. To test it you will need a CCS index as the
_clusters
property only comes for these indexes.Other than that it just works out of the bloom as the response is exactly the same as the search api. If we were sending the response correctly in the inspector (it wants:
rawResonse: {....}
and not just the response as we get it), it would have worked without any change from our side.