From 4fe82f4eeb12dde3a749d534126929ff6caa3ae1 Mon Sep 17 00:00:00 2001 From: Ildar Nurislamov Date: Tue, 16 Jan 2024 17:29:24 +0400 Subject: [PATCH] ingest: device functions metric --- ingest/metrics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingest/metrics.go b/ingest/metrics.go index dcb8304..c03fd4e 100644 --- a/ingest/metrics.go +++ b/ingest/metrics.go @@ -31,9 +31,9 @@ var ( Subsystem: "ingest", Name: "device_functions", Help: "Device Functions enrichment status by destination Id", - }, []string{"destinationId", "status", "errorType"}) + }, []string{"destinationId", "status"}) DeviceFunctions = func(destinationId, status string) prometheus.Counter { - return ingestedMessages.WithLabelValues(destinationId, status) + return deviceFunctions.WithLabelValues(destinationId, status) } repositoryErrors = promauto.NewCounter(prometheus.CounterOpts{