overview node count
This commit is contained in:
parent
351e94c256
commit
a42372bba5
|
@ -55,7 +55,7 @@ func (handler APIHandler) ElasticsearchOverviewAction(w http.ResponseWriter, req
|
|||
if err != nil{
|
||||
log.Error(err)
|
||||
}
|
||||
nodeCount, err := handler.getMetricCount(orm.GetIndexName(elastic.NodeConfig{}), "metadata.node_id")
|
||||
nodeCount, err := handler.getMetricCount(orm.GetIndexName(elastic.NodeConfig{}), "_id")
|
||||
if err != nil{
|
||||
log.Error(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue