Skip to content

Commit add2068

Browse files
committed
fix latest not resetting on DNS / RTT metrics
1 parent b45cee2 commit add2068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/model/flow-query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ export const filterByHashId = (hashId: string): string => {
5959
};
6060

6161
export const isTimeMetric = (metricType: MetricType | undefined) => {
62-
return ['dnsLatencies', 'flowRtt'].includes(metricType || '');
62+
return ['DnsLatencyMs', 'TimeFlowRttNs'].includes(metricType || '');
6363
};

0 commit comments

Comments
 (0)