Skip to content

Commit

Permalink
addressing pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Dec 8, 2020
1 parent a6f4e28 commit 292d57b
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
*/

import { Logger } from 'kibana/server';
import { ESSearchResponse } from '../../../../../../../typings/elasticsearch';
import { PromiseReturnType } from '../../../../../../observability/typings/common';
import { Setup, SetupTimeRange } from '../../../helpers/setup_request';
import { ESSearchResponse } from '../../../../../../typings/elasticsearch';
import { PromiseReturnType } from '../../../../../observability/typings/common';
import { Setup, SetupTimeRange } from '../../helpers/setup_request';

export type ESResponse = Exclude<
PromiseReturnType<typeof anomalySeriesFetcher>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { Logger } from 'kibana/server';
import { Setup, SetupTimeRange } from '../../../helpers/setup_request';
import { Setup, SetupTimeRange } from '../../helpers/setup_request';

interface IOptions {
setup: Setup & SetupTimeRange;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
*/
import { Logger } from 'kibana/server';
import { isNumber } from 'lodash';
import { ENVIRONMENT_ALL } from '../../../../../common/environment_filter_values';
import { getBucketSize } from '../../../helpers/get_bucket_size';
import { Setup, SetupTimeRange } from '../../../helpers/setup_request';
import { ENVIRONMENT_ALL } from '../../../../common/environment_filter_values';
import { getBucketSize } from '../../helpers/get_bucket_size';
import { Setup, SetupTimeRange } from '../../helpers/setup_request';
import { anomalySeriesFetcher } from './fetcher';
import { getMlBucketSize } from './get_ml_bucket_size';
import { anomalySeriesTransform } from './transform';
import { getMLJobIds } from '../../../service_map/get_service_anomalies';
import { getMLJobIds } from '../../service_map/get_service_anomalies';

export async function getAnomalySeries({
serviceName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { first, last } from 'lodash';
import { Coordinate, RectCoordinate } from '../../../../../typings/timeseries';
import { Coordinate, RectCoordinate } from '../../../../typings/timeseries';
import { ESResponse } from './fetcher';

type IBucket = ReturnType<typeof getBucket>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import { getSearchAggregatedTransactions } from '../../lib/helpers/aggregated_tr
import { setupRequest } from '../../lib/helpers/setup_request';
import { getServiceTransactionGroups } from '../../lib/services/get_service_transaction_groups';
import { getTransactionBreakdown } from '../../lib/transactions/breakdown';
import { getAnomalySeries } from '../../lib/transactions/charts/get_anomaly_data';
import { getAnomalySeries } from '../../lib/transactions/get_anomaly_data';
import { getTransactionDistribution } from '../../lib/transactions/distribution';
import { getTransactionGroupList } from '../../lib/transaction_groups';
import { getErrorRate } from '../../lib/transaction_groups/get_error_rate';
import { createRoute } from '../create_route';
import { rangeRt, uiFiltersRt } from '../default_api_types';
import { getLatencyCharts } from './get_latency_charts';
import { getThroughputCharts } from './get_throughput_charts';
import { getLatencyCharts } from '../../lib/transactions/get_latency_charts';
import { getThroughputCharts } from '../../lib/transactions/get_throughput_charts';

/**
* Returns a list of transactions grouped by name
Expand Down

0 comments on commit 292d57b

Please sign in to comment.