From 386e322050d80498bc884f635982db7a0a375fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Fri, 18 Jul 2025 08:27:06 +0200 Subject: [PATCH] Fix metric --- services/postprocessing/pkg/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/postprocessing/pkg/service/service.go b/services/postprocessing/pkg/service/service.go index 768bece9a..886d0599a 100644 --- a/services/postprocessing/pkg/service/service.go +++ b/services/postprocessing/pkg/service/service.go @@ -219,7 +219,7 @@ func (pps *PostprocessingService) processEvent(e raw.Event) error { } if ev.Failed { - pps.metrics.Finished.WithLabelValues("failed", string(pp.Status.Outcome)).Inc() + pps.metrics.Finished.WithLabelValues("failed").Inc() if !pp.StartTime.IsZero() { pps.metrics.Duration.WithLabelValues("failed").Observe(time.Since(pp.StartTime).Seconds()) }