mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Fix metric type for count - it's not a duration
GitOrigin-RevId: 29a8f62c232b153cb64adb06223350b0757014d2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4bd8bf5b50
commit
abe9ab7108
@@ -41,7 +41,7 @@ class SpanMetricsExtractor(private val telemetryJsonFile: Path = getDefaultPathT
|
||||
val attemptMinMetric = PerformanceMetrics.newDuration("${metricsPrefix}attempt.min.ms", attempts.minOfOrNull { it.value }!!.toLong())
|
||||
val attemptRangeMetric = PerformanceMetrics.newDuration("${metricsPrefix}attempt.range.ms", attempts.rangeValue())
|
||||
val attemptSumMetric = PerformanceMetrics.newDuration("${metricsPrefix}attempt.sum.ms", attempts.sumOf { it.value })
|
||||
val attemptCountMetric = PerformanceMetrics.newDuration("${metricsPrefix}attempt.count", attempts.size.toLong())
|
||||
val attemptCountMetric = PerformanceMetrics.newCounter("${metricsPrefix}attempt.count", attempts.size.toLong())
|
||||
val attemptStandardDeviationMetric = PerformanceMetrics.newDuration("${metricsPrefix}attempt.standard.deviation",
|
||||
attempts.standardDeviationValue())
|
||||
// "... the MAD is a robust statistic, being more resilient to outliers in a data set than the standard deviation."
|
||||
|
||||
Reference in New Issue
Block a user