Skip to content

Commit

Permalink
ingest: device functions metric
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Jan 16, 2024
1 parent 16a2fa7 commit 4fe82f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingest/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 4fe82f4

Please sign in to comment.