-
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
Disable log stream and settings pages #203996
Disable log stream and settings pages #203996
Conversation
@mdbirnstiehl do you have any suggestions for the release notes? |
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
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.
test/tsconfig.json
LGTM
@@ -415,12 +415,6 @@ function createNavTree({ streamsAvailable }: { streamsAvailable?: boolean }) { | |||
defaultMessage: 'Logs categories', | |||
}), | |||
}, | |||
{ |
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.
nit: I think we should also remove the log stream entry above here in the same file right?
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.
Good spot, removed here
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.
Overall looks good, thanks for this work 👏
Regarding the functional tests for the logs stream and settings page, should they be removed too or at least skipped since those features won't be registered behind any flag?
That's a good point, I skipped the functional tests here and added an item to the acceptance criteria of the follow-up issue to remove them. |
The same can possibly be done for API tests. |
Maybe something like this: Logs Stream and the logs settings page in Observability are removed. Use the Discover application, which now offers a contextual experience for logs, to explore your logs. |
@mdbirnstiehl thanks, updated the release notes section in the description and mentioned the log stream panel too, please feel free to update. |
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.
kibana-presentation changes LGTM - functional test changes only
Hi @gbamparop, Yes, thanks for the ping! |
}); | ||
|
||
it('ensure toolbar popover closes on add', async () => { | ||
await dashboard.navigateToApp(); | ||
await dashboard.clickNewDashboard(); | ||
await dashboard.switchToEditMode(); | ||
await dashboardAddPanel.clickEditorMenuButton(); | ||
await dashboardAddPanel.clickAddNewPanelFromUIActionLink('Log stream (deprecated)'); | ||
await dashboardAddPanel.clickAddNewPanelFromUIActionLink('Pattern analysis'); |
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.
Updated to test another panel as the log stream panel is removed
A huge number of translations were removed in one of the latest commits, including security translations, is that intentional? |
Not really, and the |
@elasticmachine merge upstream |
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.
Telemetry changes on UI Settings LGTM
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.
LGTM
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.
LGTM, only codeowners review
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.
LGTM.
Does it make sense to merge this #203620, now that we're removing the logs stream for v9.0?
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.
LGTM
@@ -412,12 +367,9 @@ const getLogsNavigationEntries = ({ | |||
} | |||
|
|||
// Display Stream nav entry when Logs Stream is enabled |
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.
nit: please remove comment associated with deleted line
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.
Good catch, removed in 8c5c37d
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.
codeowner changes lgtm
@crespocarlos there's no harm in merging it, the underlying code will be removed by #204115 |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
async chunk count
History
|
## Release note Logs Stream and the logs settings page in Observability are removed. Use the [Discover](https://www.elastic.co/guide/en/kibana/current/discover.html) application, which now offers a contextual experience for logs, to explore your logs. The logs stream panel in dashboards is removed, use Discover sessions instead. ## 📓 Summary The Logs Stream app in Observability and the log stream panel available in dashboards were hidden behind an advanced setting as part of elastic#194519 in `8.16.0`. At the same time, a link was added to the left navigation for the logs settings page. This PR which targets `9.0.0` disables these pages as well as the dashboard panel: - Removes the navigation item for the logs settings page and the corresponding route - Removes the `observability:enableLogsStream` setting and keeps the redirects to logs explorer. The locators will be updated to point to Discover as part of elastic#182229. Removing the code that renders the logs stream and the settings pages will be done in a [follow-up issue](elastic#204005). ### Left navigation #### Classic <img width="238" alt="image" src="https://github.com/user-attachments/assets/bc72c5ce-ed32-472e-91c1-8bd691dd2420" /> #### Solution <img width="275" alt="image" src="https://github.com/user-attachments/assets/3b21a2ae-5e82-478e-97bb-e12303178a24" /> ### Navigating to /app/logs/settings <img width="1722" alt="image" src="https://github.com/user-attachments/assets/07b4197c-6063-4a59-8194-a97ce2fa3cd7" /> Closes elastic/observability-dev#4156 --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Release note
Logs Stream and the logs settings page in Observability are removed. Use the Discover application, which now offers a contextual experience for logs, to explore your logs. The logs stream panel in dashboards is removed, use Discover sessions instead.
📓 Summary
The Logs Stream app in Observability and the log stream panel available in dashboards were hidden behind an advanced setting as part of #194519 in
8.16.0
. At the same time, a link was added to the left navigation for the logs settings page.This PR which targets
9.0.0
disables these pages as well as the dashboard panel:observability:enableLogsStream
setting and keeps the redirects to logs explorer. The locators will be updated to point to Discover as part of [Logs Explorer] Remove Logs Explorer #182229.Removing the code that renders the logs stream and the settings pages will be done in a follow-up issue.
Left navigation
Classic
Solution
Navigating to /app/logs/settings
Closes https://github.com/elastic/observability-dev/issues/4156