Skip to content

Commit

Permalink
Make translog_size_in_bytes a gauge (#743)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Delaney <[email protected]>
  • Loading branch information
devoxel authored Oct 15, 2023
1 parent 9bb0ad5 commit a09cf6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ func NewNodes(logger log.Logger, client *http.Client, url *url.URL, all bool, no
Labels: defaultNodeLabelValues,
},
{
Type: prometheus.CounterValue,
Type: prometheus.GaugeValue,
Desc: prometheus.NewDesc(
prometheus.BuildFQName(namespace, "indices", "translog_size_in_bytes"),
"Total translog size in bytes",
Expand Down

0 comments on commit a09cf6d

Please sign in to comment.