Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed Jul 28, 2020
1 parent 72eb667 commit a86551b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ const traceListColumns: Array<ITableColumn<TransactionGroup>> = [
width: '40%',
sortable: true,
render: (_: string, { sample }: TransactionGroup) => (
<EuiToolTip
id="trace-transaction-link-tooltip"
content={sample.transaction.name}
>
<EuiToolTip content={sample.transaction.name}>
<StyledTransactionLink
serviceName={sample.service.name}
transactionId={sample.transaction.id}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type MetricsAggregationMap = Unionize<{
avg: AggregationOptionsByType['avg'];
}>;

type Aggs = Record<string, MetricsAggregationMap>;
type MetricAggs = Record<string, MetricsAggregationMap>;

export type GenericMetricsRequest = Overwrite<
ESSearchRequest,
Expand All @@ -34,9 +34,9 @@ export type GenericMetricsRequest = Overwrite<
aggs: {
timeseriesData: {
date_histogram: AggregationOptionsByType['date_histogram'];
aggs: Record<string, MetricsAggregationMap>;
aggs: MetricAggs;
};
} & Record<string, MetricsAggregationMap>;
} & MetricAggs;
};
}
>;
Expand All @@ -50,7 +50,7 @@ interface Filter {
};
}

export async function fetchAndTransformMetrics<T extends Aggs>({
export async function fetchAndTransformMetrics<T extends MetricAggs>({
setup,
serviceName,
serviceNodeName,
Expand Down

0 comments on commit a86551b

Please sign in to comment.