-
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
[Stack Monitoring] Remove 'observability' and 'observabilityShared' plugin dependencies #203492
[Stack Monitoring] Remove 'observability' and 'observabilityShared' plugin dependencies #203492
Conversation
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/ci |
/oblt-deploy |
/ci |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsasync chunk count
ESLint disabled line counts
References to deprecated APIs
Total ESLint disabled count
History
|
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.
Code review only, but these changes look correct.
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.
LGT Stack Monitoring
In the oblt test cluster deployed, I can see that:
- usage counters are being properly reported via
/api/ui_counters/_report
- there doesn't appear to be any UX changes
- the header menu appears unchanged
- the Discover link appears at the bottom of the logs list and when clicked properly redirects the user to the Discover view
Blocked by #203492 The monitoring plugin is currently marked as observability plugin because it's relying on the `infra` plugin. However, in practice, no functionality is actually used. This PR removes the dependency -it makes monitoring and logstash a `platform/private` plugin as well (logstash needs to go along with monitoring, but that should be fine because it's only required by monitoring). Some considerations left as comments in the code. --------- Co-authored-by: kibanamachine <[email protected]>
Blocked by elastic#203492 The monitoring plugin is currently marked as observability plugin because it's relying on the `infra` plugin. However, in practice, no functionality is actually used. This PR removes the dependency -it makes monitoring and logstash a `platform/private` plugin as well (logstash needs to go along with monitoring, but that should be fine because it's only required by monitoring). Some considerations left as comments in the code. --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit 59d3ac6)
…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]>
Blocked by elastic#203492 The monitoring plugin is currently marked as observability plugin because it's relying on the `infra` plugin. However, in practice, no functionality is actually used. This PR removes the dependency -it makes monitoring and logstash a `platform/private` plugin as well (logstash needs to go along with monitoring, but that should be fine because it's only required by monitoring). Some considerations left as comments in the code. --------- Co-authored-by: kibanamachine <[email protected]>
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…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-->
Blocked by elastic#203492 The monitoring plugin is currently marked as observability plugin because it's relying on the `infra` plugin. However, in practice, no functionality is actually used. This PR removes the dependency -it makes monitoring and logstash a `platform/private` plugin as well (logstash needs to go along with monitoring, but that should be fine because it's only required by monitoring). Some considerations left as comments in the code. --------- Co-authored-by: kibanamachine <[email protected]>
Summary
A recent bug 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
andobservabilityShared
plugin dependencies from themonitoring
plugin.Currently, the
monitoring
plugin is categorised as observability but when the dependency on theinfra
plugin is removed, it can be marked as aplatform
plugin.Notes for reviewers
observabilityShared
pluginTesting
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).