Skip to content

Commit

Permalink
Fix typecheck issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 committed Jul 9, 2020
1 parent 216cc9e commit 55f6d3f
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
jobCustomSettingsRT,
logEntryCategoriesJobTypes,
} from '../../../common/log_analysis';
import { startTracingSpan, TracingSpan } from '../../../common/performance_tracing';
import { startTracingSpan } from '../../../common/performance_tracing';
import { decodeOrThrow } from '../../../common/runtime_types';
import type { MlAnomalyDetectors, MlSystem } from '../../types';
import {
Expand All @@ -33,21 +33,13 @@ import {
createLogEntryCategoryHistogramsQuery,
logEntryCategoryHistogramsResponseRT,
} from './queries/log_entry_category_histograms';
import {
CompositeDatasetKey,
createLogEntryDatasetsQuery,
LogEntryDatasetBucket,
logEntryDatasetsResponseRT,
} from './queries/log_entry_data_sets';
import {
createTopLogEntryCategoriesQuery,
topLogEntryCategoriesResponseRT,
} from './queries/top_log_entry_categories';
import { InfraSource } from '../sources';
import { fetchMlJob, getLogEntryDatasets } from './common';

const COMPOSITE_AGGREGATION_BATCH_SIZE = 1000;

export async function getTopLogEntryCategories(
context: {
infra: {
Expand Down

0 comments on commit 55f6d3f

Please sign in to comment.