Skip to content
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

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Oct 8, 2024

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)

@stratoula stratoula changed the title [ES|QL] Display cluster details tab for CCS data sources [ES|QL][Inspector] Display cluster details tab for CCS data sources Oct 8, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
data 419.8KB 419.8KB +14.0B

@stratoula stratoula marked this pull request as ready for review October 8, 2024 12:15
@stratoula stratoula requested review from a team as code owners October 8, 2024 12:15
@stratoula stratoula added the Team:ESQL ES|QL related features in Kibana label Oct 8, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@stratoula stratoula added the backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) label Oct 8, 2024
Copy link
Member

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

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

LGTM

@stratoula stratoula enabled auto-merge (squash) October 10, 2024 11:23
@stratoula stratoula merged commit a6e22cf into elastic:main Oct 10, 2024
23 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 10, 2024
…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)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 10, 2024
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:ES|QL ES|QL related features in Kibana release_note:enhancement Team:ESQL ES|QL related features in Kibana v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants