mirror of
https://github.com/elastic/kibana.git
synced 2025-04-21 08:19:33 -04:00
# Backport This will backport the following commits from `main` to `8.6`: - [[Stack Monitoring] Filter CCR list by currently viewed cluster (#148018)](https://github.com/elastic/kibana/pull/148018) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marco Antonio Ghiani","email":"marcoantonio.ghiani01@gmail.com"},"sourceCommit":{"committedDate":"2023-01-04T07:16:28Z","message":"[Stack Monitoring] Filter CCR list by currently viewed cluster (#148018)\n\n## 📓 Summary\r\n\r\nCloses #147224 \r\n\r\nThe issue was caused by the missing usage of the `clusterUuid` parameter\r\nin the query used to retrieve the cluster followers and stats.\r\n\r\nAdding a `term` condition for the cluster_uuid now retrieves only the\r\nfollowers related to the interested cluster. In case a cluster has no\r\nfollowers, an empty list will be returned by the endpoint.\r\n\r\nThis PR also adds stronger typing against the data returned by the\r\nendpoint and adds some minor improvements.\r\n\r\n## 🧪 Testing\r\nTesting locally this PR requires some effort since is necessary to\r\ncreate a multi-cluster locally.\r\nFollowing [this\r\nguide](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md#multi-cluster-tests-for-ccrccs-or-listing)\r\nis possible to locally setup the 2 cluster and make one of them follow\r\nthe other.\r\nAlso, the new issue\r\n[oblt#3279](https://github.com/elastic/observability-test-environments/issues/3279)\r\nhas been opened to have an easier way to access a multi-cluster setup\r\nwith oblt clusters.\r\n\r\n### Before bugfix\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/209954682-b519fcd3-888b-472a-8a1d-acf57ff5de05.mov\r\n\r\n### After bugfix\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/209954718-5045c49e-f113-42e5-aabf-81d2c5f53556.mov\r\n\r\nCo-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"296025b1e7c7c29490bc7d8137c33375b83adb58","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Infra Monitoring UI","release_note:skip","Feature:Stack Monitoring","backport:prev-minor","v8.6.0","v8.7.0"],"number":148018,"url":"https://github.com/elastic/kibana/pull/148018","mergeCommit":{"message":"[Stack Monitoring] Filter CCR list by currently viewed cluster (#148018)\n\n## 📓 Summary\r\n\r\nCloses #147224 \r\n\r\nThe issue was caused by the missing usage of the `clusterUuid` parameter\r\nin the query used to retrieve the cluster followers and stats.\r\n\r\nAdding a `term` condition for the cluster_uuid now retrieves only the\r\nfollowers related to the interested cluster. In case a cluster has no\r\nfollowers, an empty list will be returned by the endpoint.\r\n\r\nThis PR also adds stronger typing against the data returned by the\r\nendpoint and adds some minor improvements.\r\n\r\n## 🧪 Testing\r\nTesting locally this PR requires some effort since is necessary to\r\ncreate a multi-cluster locally.\r\nFollowing [this\r\nguide](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md#multi-cluster-tests-for-ccrccs-or-listing)\r\nis possible to locally setup the 2 cluster and make one of them follow\r\nthe other.\r\nAlso, the new issue\r\n[oblt#3279](https://github.com/elastic/observability-test-environments/issues/3279)\r\nhas been opened to have an easier way to access a multi-cluster setup\r\nwith oblt clusters.\r\n\r\n### Before bugfix\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/209954682-b519fcd3-888b-472a-8a1d-acf57ff5de05.mov\r\n\r\n### After bugfix\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/209954718-5045c49e-f113-42e5-aabf-81d2c5f53556.mov\r\n\r\nCo-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"296025b1e7c7c29490bc7d8137c33375b83adb58"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148018","number":148018,"mergeCommit":{"message":"[Stack Monitoring] Filter CCR list by currently viewed cluster (#148018)\n\n## 📓 Summary\r\n\r\nCloses #147224 \r\n\r\nThe issue was caused by the missing usage of the `clusterUuid` parameter\r\nin the query used to retrieve the cluster followers and stats.\r\n\r\nAdding a `term` condition for the cluster_uuid now retrieves only the\r\nfollowers related to the interested cluster. In case a cluster has no\r\nfollowers, an empty list will be returned by the endpoint.\r\n\r\nThis PR also adds stronger typing against the data returned by the\r\nendpoint and adds some minor improvements.\r\n\r\n## 🧪 Testing\r\nTesting locally this PR requires some effort since is necessary to\r\ncreate a multi-cluster locally.\r\nFollowing [this\r\nguide](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md#multi-cluster-tests-for-ccrccs-or-listing)\r\nis possible to locally setup the 2 cluster and make one of them follow\r\nthe other.\r\nAlso, the new issue\r\n[oblt#3279](https://github.com/elastic/observability-test-environments/issues/3279)\r\nhas been opened to have an easier way to access a multi-cluster setup\r\nwith oblt clusters.\r\n\r\n### Before bugfix\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/209954682-b519fcd3-888b-472a-8a1d-acf57ff5de05.mov\r\n\r\n### After bugfix\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/209954718-5045c49e-f113-42e5-aabf-81d2c5f53556.mov\r\n\r\nCo-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"296025b1e7c7c29490bc7d8137c33375b83adb58"}}]}] BACKPORT--> |
||
---|---|---|
.. | ||
accessibility | ||
alerting_api_integration | ||
api_integration | ||
api_integration_basic | ||
apm_api_integration | ||
banners_functional | ||
cases_api_integration | ||
cloud_integration | ||
common | ||
detection_engine_api_integration | ||
encrypted_saved_objects_api_integration | ||
endpoint_api_integration_no_ingest | ||
examples | ||
fleet_api_integration | ||
fleet_cypress | ||
fleet_functional | ||
fleet_packages | ||
functional | ||
functional_basic | ||
functional_cors | ||
functional_embedded | ||
functional_enterprise_search | ||
functional_execution_context | ||
functional_with_es_ssl | ||
kubernetes_security | ||
licensing_plugin | ||
lists_api_integration | ||
load | ||
localization | ||
observability_api_integration | ||
observability_functional | ||
osquery_cypress | ||
plugin_api_integration | ||
plugin_api_perf | ||
plugin_functional | ||
reporting_api_integration | ||
reporting_functional | ||
rule_registry | ||
saved_object_api_integration | ||
saved_object_tagging | ||
saved_objects_field_count | ||
scalability | ||
screenshot_creation | ||
search_sessions_integration | ||
security_api_integration | ||
security_functional | ||
security_solution_cypress | ||
security_solution_endpoint | ||
security_solution_endpoint_api_int | ||
security_solution_ftr | ||
session_view | ||
spaces_api_integration | ||
stack_functional_integration | ||
threat_intelligence_cypress | ||
timeline | ||
ui_capabilities | ||
upgrade | ||
upgrade_assistant_integration | ||
usage_collection | ||
tsconfig.json |