-
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
Infra Server Migration #53955
Infra Server Migration #53955
Conversation
x-pack/plugins/infra/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts
Outdated
Show resolved
Hide resolved
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.
Changes look good for the most part 👍 , it just looks like the work from #52753 has gone missing.
indexPatterns: { | ||
indexPatternsServiceFactory: legacyServer.indexPatternsServiceFactory, | ||
// NP_TODO: How do we move this to new platform? | ||
legacyServer.addAppLinksToSampleDataset('logs', [ |
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.
I think something may have potentially gone wrong with a merge somewhere along the line, and the migration from legacyServer.addAppLinksToSampleDataset
to plugins.home.sampleData.addAppLinksToSampleDataset
in #52753.
We can remove legacyServer.addAppLinksToSampleDataset
(it doesn't exist in master
).
(This file is also throwing an exception as logsSampleDataLinkLabel
doesn't exist here).
|
||
plugins.features.registerFeature(METRICS_FEATURE); | ||
plugins.features.registerFeature(LOGS_FEATURE); | ||
|
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.
The call to the home
plugin doesn't exist here as it does within the new_platform_plugin.ts
file, e.g.:
plugins.home.sampleData.addAppLinksToSampleDataset('logs', [
{
path: `/app/${APP_ID}#/logs`,
label: logsSampleDataLinkLabel,
icon: 'logsApp',
},
]);
💔 Build FailedHistory
To update your PR or re-run it, just comment with: |
Closing in favour of #54583 |
WIP draft PR, may not be mergeable bc we moved a lot of files that others may be working on in other branches. Will need to heavily coordinate with @elastic/logs-metrics-ui team.
Probably easier to step through this commit by commit to see the changes.