Skip to content
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

Remove links to Logs Explorer #203685

Merged
merged 42 commits into from
Jan 3, 2025
Merged

Conversation

thomheymann
Copy link
Contributor

@thomheymann thomheymann commented Dec 10, 2024

Resolves #182229

Release Note

Remove Logs Explorer

Summary

  • Removes the Discover/Logs Explorer tabs in the top nav
  • Changes all links to Logs Explorer in other applications to Discover
  • Removes all APIs exposed by Logs Explorer

Note: This does not remove Logs Explorer from the codebase. There will be a follow up for that work.

@thomheymann thomheymann changed the title remove logs explorer Remove links to Logs Explorer Dec 13, 2024
@thomheymann thomheymann requested review from a team as code owners December 20, 2024 16:51
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team labels Dec 20, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Member

@jbudz jbudz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.buildkite/ftr_oblt_stateful_configs.yml

Copy link
Contributor

@juliaElastic juliaElastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fleet change LGTM

Copy link
Contributor

@MiriamAparicio MiriamAparicio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review only, changes for @obs-ux-infra_services-team LGTM

Copy link
Member

@Bamieh Bamieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

telemetry schema changes LGTM

Copy link
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Data Discovery changes LGTM and it works as expected, no more Logs Explorer tab 👍

Comment on lines +505 to +507
* Contrary to its name, this property sets the index pattern of the data view. (e.g. `logs-*,metrics-*`)
*
* Use the `name` property instead to set a human readable name for the data view.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh legacy code... At one point this was both the pattern and display name, but that hasn't been the case in a long time. Makes sense to call it out explicitly.

@@ -39,13 +36,6 @@ export const DiscoverTopNavInline = ({
css={{ boxShadow: 'none', backgroundColor: euiThemeVars.euiPageBackgroundColor }}
data-test-subj="discoverTopNavInline"
>
{customizationContext.inlineTopNav.showLogsExplorerTabs && (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prop can likely be removed now that O11y no longer needs it, but we can handle that as a followup.

@Kerry350 Kerry350 self-requested a review January 3, 2025 10:00
Copy link
Contributor

@Kerry350 Kerry350 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pushing this through 🙌

@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 3, 2025

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: 63ad8d8
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-203685-63ad8d8cdbe8

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1910 1909 -1
dataQuality 67 66 -1
datasetQuality 273 267 -6
dataUsage 120 119 -1
discover 928 925 -3
infra 1282 1281 -1
inventory 238 237 -1
logsExplorer 571 567 -4
logsShared 379 377 -2
observability 1091 1090 -1
observabilityAIAssistantApp 418 417 -1
observabilityLogsExplorer 192 24 -168
observabilityOnboarding 236 232 -4
observabilityShared 239 238 -1
profiling 291 290 -1
unifiedDocViewer 217 216 -1
uptime 571 570 -1
ux 186 185 -1
total -199

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/deeplinks-observability 58 42 -16
discover 167 163 -4
logsExplorer 120 119 -1
logsShared 287 286 -1
observabilityLogsExplorer 19 3 -16
total -38

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 5.6MB 5.6MB +24.0B
datasetQuality 252.5KB 250.5KB -2.0KB
discover 782.3KB 778.0KB -4.3KB
fleet 1.7MB 1.7MB +68.0B
infra 1.3MB 1.3MB +228.0B
logsExplorer 223.1KB 223.2KB +19.0B
logsShared 291.1KB 281.2KB -9.9KB
observability 478.7KB 478.6KB -152.0B
observabilityLogsExplorer 142.1KB 906.0B -141.2KB
observabilityOnboarding 269.9KB 269.8KB -96.0B
total -157.3KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
logsExplorer 23 22 -1
logsShared 34 36 +2
observabilityLogsExplorer 1 0 -1
total -0

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
datasetQuality 18.9KB 18.8KB -49.0B
discover 45.2KB 44.9KB -263.0B
fleet 171.2KB 171.2KB -20.0B
infra 51.0KB 50.6KB -438.0B
logsExplorer 27.6KB 26.6KB -995.0B
logsShared 174.8KB 173.6KB -1.1KB
observability 102.2KB 102.1KB -168.0B
observabilityLogsExplorer 15.0KB 8.5KB -6.5KB
observabilityOnboarding 10.4KB 10.2KB -201.0B
serverlessObservability 29.0KB 28.9KB -132.0B
total -9.8KB
Unknown metric groups

API count

id before after diff
@kbn/deeplinks-observability 70 43 -27
discover 215 210 -5
logsExplorer 120 119 -1
logsShared 316 315 -1
observabilityLogsExplorer 19 3 -16
total -50

async chunk count

id before after diff
discover 28 27 -1
observabilityLogsExplorer 6 1 -5
total -6

ESLint disabled line counts

id before after diff
@kbn/deeplinks-observability 11 6 -5
discover 18 17 -1
logsExplorer 4 5 +1
observabilityLogsExplorer 2 3 +1
total -4

miscellaneous assets size

id before after diff
observabilityLogsExplorer 387.0KB 0.0B -387.0KB

Total ESLint disabled count

id before after diff
@kbn/deeplinks-observability 11 6 -5
discover 20 19 -1
logsExplorer 6 7 +1
observabilityLogsExplorer 2 3 +1
total -4

History

@thomheymann thomheymann added the backport:skip This commit does not require backporting label Jan 3, 2025
@thomheymann thomheymann merged commit 8902f70 into elastic:main Jan 3, 2025
10 checks passed
kowalczyk-krzysztof pushed a commit to kowalczyk-krzysztof/kibana that referenced this pull request Jan 7, 2025
Resolves elastic#182229

## Release Note

Remove Logs Explorer

## Summary

- Removes the Discover/Logs Explorer tabs in the top nav
- Changes all links to Logs Explorer in other applications to Discover
- Removes all APIs exposed by Logs Explorer

Note: This does not remove Logs Explorer from the codebase. There will
be a follow up for that work.

---------

Co-authored-by: kibanamachine <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Jan 13, 2025
Resolves elastic#182229

## Release Note

Remove Logs Explorer

## Summary

- Removes the Discover/Logs Explorer tabs in the top nav
- Changes all links to Logs Explorer in other applications to Discover
- Removes all APIs exposed by Logs Explorer

Note: This does not remove Logs Explorer from the codebase. There will
be a follow up for that work.

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting ci:project-deploy-observability Create an Observability project release_note:deprecation Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Logs Explorer] Remove Logs Explorer