I have a recently installed 1.12.0 cluster (3 nodes). I am evaluating using OD instead of Elasticsearch “main”.
I installed perf-top-linux, but saw no metrics in the dashboard.
I saw in the logs for opendistro-performance-analyzer.service errors about batch_metrics_enabled.conf missing. I followed This Issue and the errors are gone. However, I still get no metrics in perftop.
I can query the api just fine, however I noticed the “records” field is empty:
curl -XGET 'http://localhost:9600/_opendistro/_performanceanalyzer/metrics?metrics=Latency,CPU_Utilization&agg=avg,max&dim=ShardID&nodes=all'
I get results, but no records:
{
"local": {
"timestamp": 1608305825000,
"data": {
"fields": [
{
"name": "ShardID",
"type": "VARCHAR"
},
{
"name": "Latency",
"type": "DOUBLE"
},
{
"name": "CPU_Utilization",
"type": "DOUBLE"
}
],
"records": []
}
}
}
Am I Missing something obvious?
thank you