From 3bfaf5af165d7359b4879a96ba7b1e37a8b75b41 Mon Sep 17 00:00:00 2001 From: yaohcn Date: Fri, 22 Oct 2021 10:19:23 +0800 Subject: [PATCH] add missing NodeType tag --- metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/metrics.go b/metrics/metrics.go index b969a442287..ddd149d8d9f 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -142,7 +142,7 @@ var ( Description: "Lotus node information", Measure: LotusInfo, Aggregation: view.LastValue(), - TagKeys: []tag.Key{Version, Commit}, + TagKeys: []tag.Key{Version, Commit, NodeType}, } ChainNodeHeightView = &view.View{ Measure: ChainNodeHeight,