add missing NodeType tag

This commit is contained in:
yaohcn 2021-10-22 10:19:23 +08:00
parent e1deed3b1a
commit 3bfaf5af16

View File

@ -142,7 +142,7 @@ var (
Description: "Lotus node information", Description: "Lotus node information",
Measure: LotusInfo, Measure: LotusInfo,
Aggregation: view.LastValue(), Aggregation: view.LastValue(),
TagKeys: []tag.Key{Version, Commit}, TagKeys: []tag.Key{Version, Commit, NodeType},
} }
ChainNodeHeightView = &view.View{ ChainNodeHeightView = &view.View{
Measure: ChainNodeHeight, Measure: ChainNodeHeight,