Skip to content

Commit 8c4a80f

Browse files
committed
Revert "Make translog_size_in_bytes a gauge (prometheus-community#743)"
This reverts commit d2eb30a.
1 parent 6b1f759 commit 8c4a80f

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.GaugeValue,
517+
Type: prometheus.CounterValue,
518518
Desc: prometheus.NewDesc(
519519
prometheus.BuildFQName(namespace, "indices", "translog_size_in_bytes"),
520520
"Total translog size in bytes",

0 commit comments

Comments
 (0)