Versions:
OS 2.11.0
Describe the issue:
Hello everyone, when I request metrics, I get a response, but it’s as if there are no values.
Configuration:
metrics-location = /dev/shm/performanceanalyzer/
metrics-deletion-interval = 1
cleanup-metrics-db-files = true
webservice-listener-port = 9600
rpc-port = 9650
metrics-db-file-prefix-path = /tmp/metricsdb_
https-enabled = true
certificate-file-path = /opt/opensearch/config/certs/edu-osm-21.pem
private-key-file-path = /opt/opensearch/config/certs/edu-osm-21-key.pem
trusted-cas-file-path = /opt/opensearch/config/certs/root-ca.pem
client-certificate-file-path = /opt/opensearch/config/certs/admin.pem
client-private-key-file-path = /opt/opensearch/config/certs/admin-key.pem
client-trusted-cas-file-path = /opt/opensearch/config/certs/root-ca.pem
webservice-bind-host = 0.0.0.0
plugin-stats-metadata = plugin-stats-metadata
agent-stats-metadata = agent-stats-metadata
plugin output:
root@edu-wosd-21:~# curl "https://10.124.128.161:9600/_plugins/_performanceanalyzer/metrics?metrics=CPU_Utilization&nodes=all&agg=avg" -k | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 134 100 134 0 0 1165 0 --:--:-- --:--:-- --:--:-- 1165
{
"6pU61DPLRMGZGjfSwyQ2Lw": {
"timestamp": 1720612630000,
"data": {
"fields": [
{
"name": "CPU_Utilization",
"type": "DOUBLE"
}
],
"records": []
}
}
}