Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [TSVB] Remove
metrics:allowCheckingForFailedShards
Advanced S…
…etting (elastic#197227) (elastic#199639) # Backport This will backport the following commits from `main` to `8.x`: - [[TSVB] Remove `metrics:allowCheckingForFailedShards` Advanced Setting (elastic#197227)](elastic#197227) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marta Bondyra","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-11T12:40:25Z","message":"[TSVB] Remove `metrics:allowCheckingForFailedShards` Advanced Setting (elastic#197227)\n\n## Summary\r\n\r\nRemoves the `metrics:allowCheckingForFailedShards` and doesn't allow to\r\nsupress warnings about failed shards in TSVB.\r\n\r\nFixes https://github.com/elastic/kibana/issues/193685\r\n\r\n### How I tested it\r\n\r\n1. Create a TSVB visualization that includes 2024-10-22 day in the time\r\npicker, uses Kibana Ecommerce data view and uses a field\r\n`day_of_week_i`. (This data is only needed if you use the same test data\r\nin point 2)\r\n \r\n<img width=\"1499\" alt=\"Screenshot 2024-10-23 at 12 28 21\"\r\nsrc=\"https://github.com/user-attachments/assets/c341bf22-32d6-4ced-b42d-c4793563d827\">\r\n\r\n1. On a different tab, edit the `kibana_sample_data_ecommerce` data view\r\nto include all the indices that start from\r\n`kibana_sample_data_ecommerce` (so change the pattern to\r\n`kibana_sample_data_ecommerce*`.\r\n\r\n<img width=\"341\" alt=\"Screenshot 2024-10-23 at 12 24 24\"\r\nsrc=\"https://github.com/user-attachments/assets/6b718b8b-4f0c-4a9f-ba59-c0bf36727154\">\r\n\r\n3. Add a new index with a mismatched mapping of a number field to a\r\nstring in the dev console.\r\n\r\n```\r\nPOST /kibana_sample_data_ecommerce_2/_doc\r\n{\r\n \"order_date\": \"2024-10-22\",\r\n \"day_of_week_i\": \"Hello\" \r\n}\r\n```\r\n\r\nRefresh the tab with TSVB visualization:\r\n\r\n<img width=\"1341\" alt=\"Screenshot 2024-10-23 at 12 27 22\"\r\nsrc=\"https://github.com/user-attachments/assets/fbba8ce0-cdb4-4e59-a53a-6c6229a50a29\">","sha":"6fc010cf557af033cfbf5f904d75c8a493532dcb","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:deprecation","Feature:TSVB","Team:Visualizations","v9.0.0","backport:version","v8.17.0"],"title":"[TSVB] Remove `metrics:allowCheckingForFailedShards` Advanced Setting","number":197227,"url":"https://github.com/elastic/kibana/pull/197227","mergeCommit":{"message":"[TSVB] Remove `metrics:allowCheckingForFailedShards` Advanced Setting (elastic#197227)\n\n## Summary\r\n\r\nRemoves the `metrics:allowCheckingForFailedShards` and doesn't allow to\r\nsupress warnings about failed shards in TSVB.\r\n\r\nFixes https://github.com/elastic/kibana/issues/193685\r\n\r\n### How I tested it\r\n\r\n1. Create a TSVB visualization that includes 2024-10-22 day in the time\r\npicker, uses Kibana Ecommerce data view and uses a field\r\n`day_of_week_i`. (This data is only needed if you use the same test data\r\nin point 2)\r\n \r\n<img width=\"1499\" alt=\"Screenshot 2024-10-23 at 12 28 21\"\r\nsrc=\"https://github.com/user-attachments/assets/c341bf22-32d6-4ced-b42d-c4793563d827\">\r\n\r\n1. On a different tab, edit the `kibana_sample_data_ecommerce` data view\r\nto include all the indices that start from\r\n`kibana_sample_data_ecommerce` (so change the pattern to\r\n`kibana_sample_data_ecommerce*`.\r\n\r\n<img width=\"341\" alt=\"Screenshot 2024-10-23 at 12 24 24\"\r\nsrc=\"https://github.com/user-attachments/assets/6b718b8b-4f0c-4a9f-ba59-c0bf36727154\">\r\n\r\n3. Add a new index with a mismatched mapping of a number field to a\r\nstring in the dev console.\r\n\r\n```\r\nPOST /kibana_sample_data_ecommerce_2/_doc\r\n{\r\n \"order_date\": \"2024-10-22\",\r\n \"day_of_week_i\": \"Hello\" \r\n}\r\n```\r\n\r\nRefresh the tab with TSVB visualization:\r\n\r\n<img width=\"1341\" alt=\"Screenshot 2024-10-23 at 12 27 22\"\r\nsrc=\"https://github.com/user-attachments/assets/fbba8ce0-cdb4-4e59-a53a-6c6229a50a29\">","sha":"6fc010cf557af033cfbf5f904d75c8a493532dcb"}},"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/197227","number":197227,"mergeCommit":{"message":"[TSVB] Remove `metrics:allowCheckingForFailedShards` Advanced Setting (elastic#197227)\n\n## Summary\r\n\r\nRemoves the `metrics:allowCheckingForFailedShards` and doesn't allow to\r\nsupress warnings about failed shards in TSVB.\r\n\r\nFixes https://github.com/elastic/kibana/issues/193685\r\n\r\n### How I tested it\r\n\r\n1. Create a TSVB visualization that includes 2024-10-22 day in the time\r\npicker, uses Kibana Ecommerce data view and uses a field\r\n`day_of_week_i`. (This data is only needed if you use the same test data\r\nin point 2)\r\n \r\n<img width=\"1499\" alt=\"Screenshot 2024-10-23 at 12 28 21\"\r\nsrc=\"https://github.com/user-attachments/assets/c341bf22-32d6-4ced-b42d-c4793563d827\">\r\n\r\n1. On a different tab, edit the `kibana_sample_data_ecommerce` data view\r\nto include all the indices that start from\r\n`kibana_sample_data_ecommerce` (so change the pattern to\r\n`kibana_sample_data_ecommerce*`.\r\n\r\n<img width=\"341\" alt=\"Screenshot 2024-10-23 at 12 24 24\"\r\nsrc=\"https://github.com/user-attachments/assets/6b718b8b-4f0c-4a9f-ba59-c0bf36727154\">\r\n\r\n3. Add a new index with a mismatched mapping of a number field to a\r\nstring in the dev console.\r\n\r\n```\r\nPOST /kibana_sample_data_ecommerce_2/_doc\r\n{\r\n \"order_date\": \"2024-10-22\",\r\n \"day_of_week_i\": \"Hello\" \r\n}\r\n```\r\n\r\nRefresh the tab with TSVB visualization:\r\n\r\n<img width=\"1341\" alt=\"Screenshot 2024-10-23 at 12 27 22\"\r\nsrc=\"https://github.com/user-attachments/assets/fbba8ce0-cdb4-4e59-a53a-6c6229a50a29\">","sha":"6fc010cf557af033cfbf5f904d75c8a493532dcb"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Marta Bondyra <[email protected]>
- Loading branch information