Skip to content

Commit

Permalink
Fix indexing calls and time metrics. (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarp authored and dominikschulz committed Aug 2, 2017
1 parent 2360f27 commit 4b1490a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collector/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func NewNodes(logger log.Logger, client *http.Client, url *url.URL, all bool) *N
Type: prometheus.CounterValue,
Desc: prometheus.NewDesc(
prometheus.BuildFQName(namespace, "indices_indexing", "index_time_seconds_total"),
"Total index calls",
"Cumulative index time in seconds",
defaultNodeLabels, nil,
),
Value: func(node NodeStatsNodeResponse) float64 {
Expand All @@ -476,7 +476,7 @@ func NewNodes(logger log.Logger, client *http.Client, url *url.URL, all bool) *N
Type: prometheus.CounterValue,
Desc: prometheus.NewDesc(
prometheus.BuildFQName(namespace, "indices_indexing", "index_total"),
"Cumulative index time in seconds",
"Total index calls",
defaultNodeLabels, nil,
),
Value: func(node NodeStatsNodeResponse) float64 {
Expand Down

0 comments on commit 4b1490a

Please sign in to comment.