Skip to content

Commit

Permalink
[ML] AiOps: Fix Log Rate Analysis Embeddable Error on the Alerts Page (
Browse files Browse the repository at this point in the history
…elastic#203093)

## Summary

Fix for: [elastic#203067](elastic#203067)

(cherry picked from commit 73b7a90)
  • Loading branch information
rbrtj committed Dec 6, 2024
1 parent d2a78a9 commit f8df971
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { DatePickerContextProvider } from '@kbn/ml-date-picker';
import { UI_SETTINGS } from '@kbn/data-plugin/common';
import { LogRateAnalysisReduxProvider } from '@kbn/aiops-log-rate-analysis/state';

import { FilterQueryContextProvider } from '../../../hooks/use_filters_query';
import { timeSeriesDataViewWarning } from '../../../application/utils/time_series_dataview_check';
import { AiopsAppContext, type AiopsAppContextValue } from '../../../hooks/use_aiops_app_context';
import { DataSourceContext } from '../../../hooks/use_data_source';
Expand Down Expand Up @@ -95,12 +96,14 @@ export const LogRateAnalysisContentWrapper: FC<LogRateAnalysisContentWrapperProp
timeRange={timeRange}
esSearchQuery={esSearchQuery}
/>
<LogRateAnalysisContent
esSearchQuery={esSearchQuery}
barColorOverride={barColorOverride}
barHighlightColorOverride={barHighlightColorOverride}
onAnalysisCompleted={onAnalysisCompleted}
/>
<FilterQueryContextProvider>
<LogRateAnalysisContent
esSearchQuery={esSearchQuery}
barColorOverride={barColorOverride}
barHighlightColorOverride={barHighlightColorOverride}
onAnalysisCompleted={onAnalysisCompleted}
/>
</FilterQueryContextProvider>
</DatePickerContextProvider>
</StorageContextProvider>
</LogRateAnalysisReduxProvider>
Expand Down

0 comments on commit f8df971

Please sign in to comment.