Skip to content

Commit a09cf6d

Browse files
authored
Make translog_size_in_bytes a gauge (#743)
Signed-off-by: Aaron Delaney <[email protected]>
1 parent 9bb0ad5 commit a09cf6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/nodes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ func NewNodes(logger log.Logger, client *http.Client, url *url.URL, all bool, no
514514
Labels: defaultNodeLabelValues,
515515
},
516516
{
517-
Type: prometheus.CounterValue,
517+
Type: prometheus.GaugeValue,
518518
Desc: prometheus.NewDesc(
519519
prometheus.BuildFQName(namespace, "indices", "translog_size_in_bytes"),
520520
"Total translog size in bytes",

0 commit comments

Comments
 (0)