From d8853e62c6ea7e9e4ea1774fb8984825b709cff2 Mon Sep 17 00:00:00 2001 From: Steven Normore Date: Sat, 23 Jul 2022 08:14:49 -0400 Subject: [PATCH] fix: store error metrics tagging (#269) --- waku/v2/metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/v2/metrics/metrics.go b/waku/v2/metrics/metrics.go index ea9b0bf2..19b628ba 100644 --- a/waku/v2/metrics/metrics.go +++ b/waku/v2/metrics/metrics.go @@ -62,7 +62,7 @@ var ( Measure: StoreErrors, Description: "The distribution of the store protocol errors", Aggregation: view.Count(), - TagKeys: []tag.Key{KeyType}, + TagKeys: []tag.Key{ErrorType}, } LightpushErrorTypesView = &view.View{ Name: "gowaku_lightpush_errors",