From 1dd3dd24a27decf4e2737d19ad9bdb1b382e3605 Mon Sep 17 00:00:00 2001 From: Thomas Decaux Date: Tue, 10 Jun 2025 16:43:41 +0200 Subject: [PATCH] Alerting: Fix eval time unit in list view (#106488) promRule.evaluationTime is in milliseconds already. --- .../features/alerting/unified/components/rules/RuleDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/alerting/unified/components/rules/RuleDetails.tsx b/public/app/features/alerting/unified/components/rules/RuleDetails.tsx index f1c272cc3a4..f050919c331 100644 --- a/public/app/features/alerting/unified/components/rules/RuleDetails.tsx +++ b/public/app/features/alerting/unified/components/rules/RuleDetails.tsx @@ -142,7 +142,7 @@ const EvaluationBehaviorSummary = ({ rule }: EvaluationBehaviorSummaryProps) => content={`${lastEvaluationDuration}s`} theme="info" > - {Time({ timeInMs: lastEvaluationDuration * 1000, humanize: true })} + {Time({ timeInMs: lastEvaluationDuration, humanize: true })} )}