change data structure of node metadata
This commit is contained in:
parent
24e1c81d51
commit
0feac6ba1b
|
@ -51,7 +51,7 @@ func (handler APIHandler) ElasticsearchOverviewAction(w http.ResponseWriter, req
|
|||
}
|
||||
}
|
||||
|
||||
hostCount, err := handler.getMetricCount(orm.GetIndexName(elastic.NodeConfig{}), "metadata.labels.host")
|
||||
hostCount, err := handler.getMetricCount(orm.GetIndexName(elastic.NodeConfig{}), "metadata.host")
|
||||
if err != nil{
|
||||
log.Error(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue