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",