Explore Metrics: Reverse the sorting of outliers (#95919)

reverse the sorting of outliers
This commit is contained in:
ismail simsek 2024-11-05 23:35:14 +01:00 committed by GitHub
parent 9a1e7de79d
commit c125ead121
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,7 @@ export const calculateOutlierValue = (series: DataFrame[], data: DataFrame): num
const index = series.indexOf(data);
if (outliers.seriesResults[index].isOutlier) {
return outliers.seriesResults[index].outlierIntervals.length;
return -outliers.seriesResults[index].outlierIntervals.length;
}
return 0;