Skip to content

Commit

Permalink
Register Infra datahandler with Exploratory View app
Browse files Browse the repository at this point in the history
  • Loading branch information
CoenWarmer committed Mar 24, 2023
1 parent 30f7b84 commit dd19d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/infra/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ export class Plugin implements InfraClientPluginClass {
fetchData: createMetricsFetchData(core.getStartServices),
});

pluginsSetup.observability.dashboard.register({
pluginsSetup.exploratoryView.register({
appName: 'infra_logs',
hasData: getLogsHasDataFetcher(core.getStartServices),
fetchData: getLogsOverviewDataFetcher(core.getStartServices),
});

pluginsSetup.observability.dashboard.register({
pluginsSetup.exploratoryView.register({
appName: 'infra_metrics',
hasData: createMetricsHasData(core.getStartServices),
fetchData: createMetricsFetchData(core.getStartServices),
Expand Down

0 comments on commit dd19d21

Please sign in to comment.