Skip to content

Commit

Permalink
fix: renamed network -> chain (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno authored Mar 24, 2024
1 parent 51e559c commit d723545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/metrics/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewManager(config *configPkg.Config) *Manager {
Name: constants.MetricsPrefix + "node_info",
Help: "Node info (moniker, network, etc.), always 1",
},
[]string{"node", "moniker", "network"},
[]string{"node", "moniker", "chain"},
),

MetricNameTendermintVersion: prometheus.NewGaugeVec(
Expand Down
2 changes: 1 addition & 1 deletion pkg/queriers/node_stats/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (n *Querier) Get() ([]metrics.MetricInfo, []query_info.QueryInfo) {
MetricName: metrics.MetricNameNodeInfo,
Labels: map[string]string{
"moniker": status.Result.NodeInfo.Moniker,
"network": status.Result.NodeInfo.Network,
"chain": status.Result.NodeInfo.Network,
},
Value: 1,
},
Expand Down

0 comments on commit d723545

Please sign in to comment.