-
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
8.16.0 Stack Monitoring unable to load pages for Elasticsearch with logsLocator element #199902
Comments
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
Looks like this was caused by a recent refactoring here: https://github.com/elastic/kibana/pull/190835/files#diff-ad4e42fbe4d2a7a99ec5d52fbf127ded12f0efe02a10e3afa0409b40be1f4bcfR383 The
This happened because this file is still JS, so type-checking doesn't work. |
Thanks @flash1293 for digging this one out, but this seems to only happen if the Observability / Logs feature is enabled, which doesn't seem to be the default when spinning up a cluster and picking the "Search" onboarding flow. |
@consulthys For cloud that's right, it is the default for on-prem though because on-prem is using the classic nav which enables the log stream app by default. |
@flash1293 but if I'm not mistaken, that feature can be disabled both in cloud and on-prem. |
@consulthys Absolutely right on all counts, just highlighting that it's broken by default on on-prem for sufficiently privileged users. |
Just want to validate something regarding log views and the fix for this. Ideally what we want to do is use Currently Stack Monitoring relies on a log view called Log Views are being deprecated soon (along with the log stream etc). The centralised log sources advanced setting has taken it's place. The default for this setting does contain Are we okay using the logs locator as it stands right now? (so, by default this wouldn't include the CCS prefix, but users could update their setting). We do also have a locator that can use a Data View ID, but this would have to be persisted in some way (plugin setup etc). |
@Kerry350 Can't we link to Discover using an ad-hoc data view with |
Fresh version of #199995 Known issues of 8.16.0 - #199902 - #199892 - #199891 FYI @paulb-elastic, @consulthys, @vinaychandrasekhar Paul suggested to involve @lcawl & @colleenmcginnis I would invite the owners of those issues to expand/edit the proposed text and add workarounds if any --------- Co-authored-by: Luca Belluccini <[email protected]>
Fresh version of elastic#199995 Known issues of 8.16.0 - elastic#199902 - elastic#199892 - elastic#199891 FYI @paulb-elastic, @consulthys, @vinaychandrasekhar Paul suggested to involve @lcawl & @colleenmcginnis I would invite the owners of those issues to expand/edit the proposed text and add workarounds if any --------- Co-authored-by: Luca Belluccini <[email protected]> (cherry picked from commit 20e023b)
Fresh version of elastic#199995 Known issues of 8.16.0 - elastic#199902 - elastic#199892 - elastic#199891 FYI @paulb-elastic, @consulthys, @vinaychandrasekhar Paul suggested to involve @lcawl & @colleenmcginnis I would invite the owners of those issues to expand/edit the proposed text and add workarounds if any --------- Co-authored-by: Luca Belluccini <[email protected]> (cherry picked from commit 20e023b)
## Summary Fixes #199902 (comment). This was missed in #190835 due to Stack Monitoring's lack of type checking in certain files. `infra` no longer exposes `logsLocators`. This uses `getLogsLocatorsFromUrlService`, technically we could go to Discover now knowing that Logs Explorer will be deprecated in the future. But it will make more sense to convert `getLogsLocatorsFromUrlService` over to using the Discover locators in one when that happens. This puts us on the same page as #190835. This link should now work, and have the correct filters applied. ![Screenshot 2024-11-13 at 16 09 15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec) --------- Co-authored-by: mohamedhamed-ahmed <[email protected]>
…0043) ## Summary Fixes elastic#199902 (comment). This was missed in elastic#190835 due to Stack Monitoring's lack of type checking in certain files. `infra` no longer exposes `logsLocators`. This uses `getLogsLocatorsFromUrlService`, technically we could go to Discover now knowing that Logs Explorer will be deprecated in the future. But it will make more sense to convert `getLogsLocatorsFromUrlService` over to using the Discover locators in one when that happens. This puts us on the same page as elastic#190835. This link should now work, and have the correct filters applied. ![Screenshot 2024-11-13 at 16 09 15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec) --------- Co-authored-by: mohamedhamed-ahmed <[email protected]> (cherry picked from commit 4e852ea)
…0043) ## Summary Fixes elastic#199902 (comment). This was missed in elastic#190835 due to Stack Monitoring's lack of type checking in certain files. `infra` no longer exposes `logsLocators`. This uses `getLogsLocatorsFromUrlService`, technically we could go to Discover now knowing that Logs Explorer will be deprecated in the future. But it will make more sense to convert `getLogsLocatorsFromUrlService` over to using the Discover locators in one when that happens. This puts us on the same page as elastic#190835. This link should now work, and have the correct filters applied. ![Screenshot 2024-11-13 at 16 09 15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec) --------- Co-authored-by: mohamedhamed-ahmed <[email protected]> (cherry picked from commit 4e852ea) # Conflicts: # x-pack/plugins/monitoring/kibana.jsonc
) (#200227) # Backport This will backport the following commits from `main` to `8.x`: - [[Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043)](#200043) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kerry Gallagher","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-14T17:26:24Z","message":"[Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043)\n\n## Summary\r\n\r\nFixes\r\nhttps://github.com//issues/199902#issuecomment-2474040264.\r\n\r\nThis was missed in #190835 due to\r\nStack Monitoring's lack of type checking in certain files. `infra` no\r\nlonger exposes `logsLocators`.\r\n\r\nThis uses `getLogsLocatorsFromUrlService`, technically we could go to\r\nDiscover now knowing that Logs Explorer will be deprecated in the\r\nfuture. But it will make more sense to convert\r\n`getLogsLocatorsFromUrlService` over to using the Discover locators in\r\none when that happens. This puts us on the same page as\r\nhttps://github.com//pull/190835.\r\n\r\nThis link should now work, and have the correct filters applied.\r\n\r\n![Screenshot 2024-11-13 at 16 09\r\n15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec)\r\n\r\n---------\r\n\r\nCo-authored-by: mohamedhamed-ahmed <[email protected]>","sha":"4e852ea041b63e3e3ad918ceee1bc3861dd1e519","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:cloud-deploy","Team:obs-ux-logs","backport:version","v8.17.0","v8.16.1"],"title":"[Stack Monitoring / Logs] Fix Stack Monitoring logs links","number":200043,"url":"https://github.com/elastic/kibana/pull/200043","mergeCommit":{"message":"[Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043)\n\n## Summary\r\n\r\nFixes\r\nhttps://github.com//issues/199902#issuecomment-2474040264.\r\n\r\nThis was missed in #190835 due to\r\nStack Monitoring's lack of type checking in certain files. `infra` no\r\nlonger exposes `logsLocators`.\r\n\r\nThis uses `getLogsLocatorsFromUrlService`, technically we could go to\r\nDiscover now knowing that Logs Explorer will be deprecated in the\r\nfuture. But it will make more sense to convert\r\n`getLogsLocatorsFromUrlService` over to using the Discover locators in\r\none when that happens. This puts us on the same page as\r\nhttps://github.com//pull/190835.\r\n\r\nThis link should now work, and have the correct filters applied.\r\n\r\n![Screenshot 2024-11-13 at 16 09\r\n15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec)\r\n\r\n---------\r\n\r\nCo-authored-by: mohamedhamed-ahmed <[email protected]>","sha":"4e852ea041b63e3e3ad918ceee1bc3861dd1e519"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200043","number":200043,"mergeCommit":{"message":"[Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043)\n\n## Summary\r\n\r\nFixes\r\nhttps://github.com//issues/199902#issuecomment-2474040264.\r\n\r\nThis was missed in #190835 due to\r\nStack Monitoring's lack of type checking in certain files. `infra` no\r\nlonger exposes `logsLocators`.\r\n\r\nThis uses `getLogsLocatorsFromUrlService`, technically we could go to\r\nDiscover now knowing that Logs Explorer will be deprecated in the\r\nfuture. But it will make more sense to convert\r\n`getLogsLocatorsFromUrlService` over to using the Discover locators in\r\none when that happens. This puts us on the same page as\r\nhttps://github.com//pull/190835.\r\n\r\nThis link should now work, and have the correct filters applied.\r\n\r\n![Screenshot 2024-11-13 at 16 09\r\n15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec)\r\n\r\n---------\r\n\r\nCo-authored-by: mohamedhamed-ahmed <[email protected]>","sha":"4e852ea041b63e3e3ad918ceee1bc3861dd1e519"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Kerry Gallagher <[email protected]>
…0043) (#200231) # Backport This will backport the following commits from `main` to `8.16`: - [[Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043)](#200043) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kerry Gallagher","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-14T17:26:24Z","message":"[Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043)\n\n## Summary\r\n\r\nFixes\r\nhttps://github.com//issues/199902#issuecomment-2474040264.\r\n\r\nThis was missed in #190835 due to\r\nStack Monitoring's lack of type checking in certain files. `infra` no\r\nlonger exposes `logsLocators`.\r\n\r\nThis uses `getLogsLocatorsFromUrlService`, technically we could go to\r\nDiscover now knowing that Logs Explorer will be deprecated in the\r\nfuture. But it will make more sense to convert\r\n`getLogsLocatorsFromUrlService` over to using the Discover locators in\r\none when that happens. This puts us on the same page as\r\nhttps://github.com//pull/190835.\r\n\r\nThis link should now work, and have the correct filters applied.\r\n\r\n![Screenshot 2024-11-13 at 16 09\r\n15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec)\r\n\r\n---------\r\n\r\nCo-authored-by: mohamedhamed-ahmed <[email protected]>","sha":"4e852ea041b63e3e3ad918ceee1bc3861dd1e519","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:cloud-deploy","Team:obs-ux-logs","backport:version","v8.17.0","v8.16.1"],"number":200043,"url":"https://github.com/elastic/kibana/pull/200043","mergeCommit":{"message":"[Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043)\n\n## Summary\r\n\r\nFixes\r\nhttps://github.com//issues/199902#issuecomment-2474040264.\r\n\r\nThis was missed in #190835 due to\r\nStack Monitoring's lack of type checking in certain files. `infra` no\r\nlonger exposes `logsLocators`.\r\n\r\nThis uses `getLogsLocatorsFromUrlService`, technically we could go to\r\nDiscover now knowing that Logs Explorer will be deprecated in the\r\nfuture. But it will make more sense to convert\r\n`getLogsLocatorsFromUrlService` over to using the Discover locators in\r\none when that happens. This puts us on the same page as\r\nhttps://github.com//pull/190835.\r\n\r\nThis link should now work, and have the correct filters applied.\r\n\r\n![Screenshot 2024-11-13 at 16 09\r\n15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec)\r\n\r\n---------\r\n\r\nCo-authored-by: mohamedhamed-ahmed <[email protected]>","sha":"4e852ea041b63e3e3ad918ceee1bc3861dd1e519"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200043","number":200043,"mergeCommit":{"message":"[Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043)\n\n## Summary\r\n\r\nFixes\r\nhttps://github.com//issues/199902#issuecomment-2474040264.\r\n\r\nThis was missed in #190835 due to\r\nStack Monitoring's lack of type checking in certain files. `infra` no\r\nlonger exposes `logsLocators`.\r\n\r\nThis uses `getLogsLocatorsFromUrlService`, technically we could go to\r\nDiscover now knowing that Logs Explorer will be deprecated in the\r\nfuture. But it will make more sense to convert\r\n`getLogsLocatorsFromUrlService` over to using the Discover locators in\r\none when that happens. This puts us on the same page as\r\nhttps://github.com//pull/190835.\r\n\r\nThis link should now work, and have the correct filters applied.\r\n\r\n![Screenshot 2024-11-13 at 16 09\r\n15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec)\r\n\r\n---------\r\n\r\nCo-authored-by: mohamedhamed-ahmed <[email protected]>","sha":"4e852ea041b63e3e3ad918ceee1bc3861dd1e519"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/200227","number":200227,"state":"OPEN"},{"branch":"8.16","label":"v8.16.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Kerry Gallagher <[email protected]>
Fresh version of elastic#199995 Known issues of 8.16.0 - elastic#199902 - elastic#199892 - elastic#199891 FYI @paulb-elastic, @consulthys, @vinaychandrasekhar Paul suggested to involve @lcawl & @colleenmcginnis I would invite the owners of those issues to expand/edit the proposed text and add workarounds if any --------- Co-authored-by: Luca Belluccini <[email protected]>
…0043) ## Summary Fixes elastic#199902 (comment). This was missed in elastic#190835 due to Stack Monitoring's lack of type checking in certain files. `infra` no longer exposes `logsLocators`. This uses `getLogsLocatorsFromUrlService`, technically we could go to Discover now knowing that Logs Explorer will be deprecated in the future. But it will make more sense to convert `getLogsLocatorsFromUrlService` over to using the Discover locators in one when that happens. This puts us on the same page as elastic#190835. This link should now work, and have the correct filters applied. ![Screenshot 2024-11-13 at 16 09 15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec) --------- Co-authored-by: mohamedhamed-ahmed <[email protected]>
Fresh version of elastic#199995 Known issues of 8.16.0 - elastic#199902 - elastic#199892 - elastic#199891 FYI @paulb-elastic, @consulthys, @vinaychandrasekhar Paul suggested to involve @lcawl & @colleenmcginnis I would invite the owners of those issues to expand/edit the proposed text and add workarounds if any --------- Co-authored-by: Luca Belluccini <[email protected]>
…0043) ## Summary Fixes elastic#199902 (comment). This was missed in elastic#190835 due to Stack Monitoring's lack of type checking in certain files. `infra` no longer exposes `logsLocators`. This uses `getLogsLocatorsFromUrlService`, technically we could go to Discover now knowing that Logs Explorer will be deprecated in the future. But it will make more sense to convert `getLogsLocatorsFromUrlService` over to using the Discover locators in one when that happens. This puts us on the same page as elastic#190835. This link should now work, and have the correct filters applied. ![Screenshot 2024-11-13 at 16 09 15](https://github.com/user-attachments/assets/e1f8fd18-ac73-4179-af4c-1727a2afeeec) --------- Co-authored-by: mohamedhamed-ahmed <[email protected]>
…lugin dependencies (#203492) ### Summary A recent [bug](#199902) that affected some of the pages in Stack Monitoring was caused by changes related to the locators of the logs-related apps. The goal of this PR is to reduce the number of Observability dependencies that could potentially cause issues in the app by removing the `observability` and `observabilityShared` plugin dependencies from the `monitoring` plugin. Currently, the `monitoring` plugin is [categorised as observability](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/kibana.jsonc#L7) but when the dependency on the `infra` plugin is removed, it can be marked as a `platform` plugin. ### Notes for reviewers - The components used to render the header menu as well as the [use_track_metric](https://github.com/elastic/kibana/pull/203492/files#diff-7e39fc60ca80ee551d824ca97f9f879e3364a368a5736cf9178b5943a12ca7a7) hook were copied from the `observabilityShared` plugin - There should be no UX and functionality changes in the stack monitoring header - Usage collection could be verified by searching for UI counters sent by the cluster created for this PR, once telemetry has been sent ### Testing The stateful environment deployed by this PR includes logs and metrics for stack monitoring. Please make sure to select a larger time range (e.g. last 14 days). --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
…lugin dependencies (elastic#203492) ### Summary A recent [bug](elastic#199902) that affected some of the pages in Stack Monitoring was caused by changes related to the locators of the logs-related apps. The goal of this PR is to reduce the number of Observability dependencies that could potentially cause issues in the app by removing the `observability` and `observabilityShared` plugin dependencies from the `monitoring` plugin. Currently, the `monitoring` plugin is [categorised as observability](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/kibana.jsonc#L7) but when the dependency on the `infra` plugin is removed, it can be marked as a `platform` plugin. ### Notes for reviewers - The components used to render the header menu as well as the [use_track_metric](https://github.com/elastic/kibana/pull/203492/files#diff-7e39fc60ca80ee551d824ca97f9f879e3364a368a5736cf9178b5943a12ca7a7) hook were copied from the `observabilityShared` plugin - There should be no UX and functionality changes in the stack monitoring header - Usage collection could be verified by searching for UI counters sent by the cluster created for this PR, once telemetry has been sent ### Testing The stateful environment deployed by this PR includes logs and metrics for stack monitoring. Please make sure to select a larger time range (e.g. last 14 days). --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
…3536) ## Summary A recent [bug](#199902) that affected some of the pages in Stack Monitoring was caused by changes related to the locators of the logs-related apps. The issue wasn't caught by type checks as the affected area in the monitoring plugin was written in JavaScript. The goal of this PR is to migrate the logs-related components to TypeScript. ### Testing The stateful environment deployed by this PR includes logs and metrics for stack monitoring. Please make sure to select a larger time range (e.g. last 14 days).
…stic#203536) A recent [bug](elastic#199902) that affected some of the pages in Stack Monitoring was caused by changes related to the locators of the logs-related apps. The issue wasn't caught by type checks as the affected area in the monitoring plugin was written in JavaScript. The goal of this PR is to migrate the logs-related components to TypeScript. The stateful environment deployed by this PR includes logs and metrics for stack monitoring. Please make sure to select a larger time range (e.g. last 14 days).
…lugin dependencies (elastic#203492) ### Summary A recent [bug](elastic#199902) that affected some of the pages in Stack Monitoring was caused by changes related to the locators of the logs-related apps. The goal of this PR is to reduce the number of Observability dependencies that could potentially cause issues in the app by removing the `observability` and `observabilityShared` plugin dependencies from the `monitoring` plugin. Currently, the `monitoring` plugin is [categorised as observability](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/kibana.jsonc#L7) but when the dependency on the `infra` plugin is removed, it can be marked as a `platform` plugin. ### Notes for reviewers - The components used to render the header menu as well as the [use_track_metric](https://github.com/elastic/kibana/pull/203492/files#diff-7e39fc60ca80ee551d824ca97f9f879e3364a368a5736cf9178b5943a12ca7a7) hook were copied from the `observabilityShared` plugin - There should be no UX and functionality changes in the stack monitoring header - Usage collection could be verified by searching for UI counters sent by the cluster created for this PR, once telemetry has been sent ### Testing The stateful environment deployed by this PR includes logs and metrics for stack monitoring. Please make sure to select a larger time range (e.g. last 14 days). --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit 7e2f67e)
…red' plugin dependencies (#203492) (#204912) # Backport This will backport the following commits from `main` to `8.x`: - [[Stack Monitoring] Remove 'observability' and 'observabilityShared' plugin dependencies (#203492)](#203492) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Giorgos Bamparopoulos","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T16:43:49Z","message":"[Stack Monitoring] Remove 'observability' and 'observabilityShared' plugin dependencies (#203492)\n\n### Summary\r\nA recent [bug](#199902) that\r\naffected some of the pages in Stack Monitoring was caused by changes\r\nrelated to the locators of the logs-related apps.\r\n\r\nThe goal of this PR is to reduce the number of Observability\r\ndependencies that could potentially cause issues in the app by removing\r\nthe `observability` and `observabilityShared` plugin dependencies from\r\nthe `monitoring` plugin.\r\n\r\nCurrently, the `monitoring` plugin is [categorised as\r\nobservability](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/kibana.jsonc#L7)\r\nbut when the dependency on the `infra` plugin is removed, it can be\r\nmarked as a `platform` plugin.\r\n\r\n### Notes for reviewers\r\n- The components used to render the header menu as well as the\r\n[use_track_metric](https://github.com/elastic/kibana/pull/203492/files#diff-7e39fc60ca80ee551d824ca97f9f879e3364a368a5736cf9178b5943a12ca7a7)\r\nhook were copied from the `observabilityShared` plugin\r\n- There should be no UX and functionality changes in the stack\r\nmonitoring header\r\n- Usage collection could be verified by searching for UI counters sent\r\nby the cluster created for this PR, once telemetry has been sent\r\n\r\n### Testing\r\nThe stateful environment deployed by this PR includes logs and metrics\r\nfor stack monitoring. Please make sure to select a larger time range\r\n(e.g. last 14 days).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"7e2f67ebc550167f8b9d678312c69eda1abc921b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-management"],"number":203492,"url":"https://github.com/elastic/kibana/pull/203492","mergeCommit":{"message":"[Stack Monitoring] Remove 'observability' and 'observabilityShared' plugin dependencies (#203492)\n\n### Summary\r\nA recent [bug](#199902) that\r\naffected some of the pages in Stack Monitoring was caused by changes\r\nrelated to the locators of the logs-related apps.\r\n\r\nThe goal of this PR is to reduce the number of Observability\r\ndependencies that could potentially cause issues in the app by removing\r\nthe `observability` and `observabilityShared` plugin dependencies from\r\nthe `monitoring` plugin.\r\n\r\nCurrently, the `monitoring` plugin is [categorised as\r\nobservability](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/kibana.jsonc#L7)\r\nbut when the dependency on the `infra` plugin is removed, it can be\r\nmarked as a `platform` plugin.\r\n\r\n### Notes for reviewers\r\n- The components used to render the header menu as well as the\r\n[use_track_metric](https://github.com/elastic/kibana/pull/203492/files#diff-7e39fc60ca80ee551d824ca97f9f879e3364a368a5736cf9178b5943a12ca7a7)\r\nhook were copied from the `observabilityShared` plugin\r\n- There should be no UX and functionality changes in the stack\r\nmonitoring header\r\n- Usage collection could be verified by searching for UI counters sent\r\nby the cluster created for this PR, once telemetry has been sent\r\n\r\n### Testing\r\nThe stateful environment deployed by this PR includes logs and metrics\r\nfor stack monitoring. Please make sure to select a larger time range\r\n(e.g. last 14 days).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"7e2f67ebc550167f8b9d678312c69eda1abc921b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203492","number":203492,"mergeCommit":{"message":"[Stack Monitoring] Remove 'observability' and 'observabilityShared' plugin dependencies (#203492)\n\n### Summary\r\nA recent [bug](#199902) that\r\naffected some of the pages in Stack Monitoring was caused by changes\r\nrelated to the locators of the logs-related apps.\r\n\r\nThe goal of this PR is to reduce the number of Observability\r\ndependencies that could potentially cause issues in the app by removing\r\nthe `observability` and `observabilityShared` plugin dependencies from\r\nthe `monitoring` plugin.\r\n\r\nCurrently, the `monitoring` plugin is [categorised as\r\nobservability](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/kibana.jsonc#L7)\r\nbut when the dependency on the `infra` plugin is removed, it can be\r\nmarked as a `platform` plugin.\r\n\r\n### Notes for reviewers\r\n- The components used to render the header menu as well as the\r\n[use_track_metric](https://github.com/elastic/kibana/pull/203492/files#diff-7e39fc60ca80ee551d824ca97f9f879e3364a368a5736cf9178b5943a12ca7a7)\r\nhook were copied from the `observabilityShared` plugin\r\n- There should be no UX and functionality changes in the stack\r\nmonitoring header\r\n- Usage collection could be verified by searching for UI counters sent\r\nby the cluster created for this PR, once telemetry has been sent\r\n\r\n### Testing\r\nThe stateful environment deployed by this PR includes logs and metrics\r\nfor stack monitoring. Please make sure to select a larger time range\r\n(e.g. last 14 days).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"7e2f67ebc550167f8b9d678312c69eda1abc921b"}}]}] BACKPORT-->
Kibana version:
8.16.0
Elasticsearch version:
8.16.0
Original install method (e.g. download page, yum, from source, etc.):
Elastic Cloud
Describe the bug:
Stack monitoring UI errors when attempting to view Elasticsearch metrics
Kibana and Integrations Server are unaffected
Steps to reproduce:
Screenshots (if relevant):
Errors in browser console (if relevant):
Full Error text
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: