Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
“version” : {
“distribution” : “opensearch”,
“number” : “1.2.2”,
“build_type” : “tar”,
“build_hash” : “123d41ce4fad54529acd7a290efed848e707b624”,
“build_date” : “2021-12-15T18:03:07.761961Z”,
“build_snapshot” : false,
“lucene_version” : “8.10.1”,
“minimum_wire_compatibility_version” : “6.8.0”,
“minimum_index_compatibility_version” : “6.0.0-beta1”
},
Describe the issue:
We have started the perf analyzer and while querying the api its not returning any metric details . I am seeing the metrics db file has been created in the configured location of the perf analyzer properties file . Any help here would be appreciated
Configuration:
Relevant Logs or Screenshots:
curl ‘http://localhost:9600/_plugins/_performanceanalyzer/metrics?metrics=ThreadPool_QueueSize&agg=max&dim=ThreadPoolType’ -i -v
- Trying 127.0.0.1…
- TCP_NODELAY set
- Connected to localhost (127.0.0.1) port 9600 (#0)
GET /_plugins/_performanceanalyzer/metrics?metrics=ThreadPool_QueueSize&agg=max&dim=ThreadPoolType HTTP/1.1
Host: localhost:9600
User-Agent: curl/7.58.0
Accept: /
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Fri, 08 Sep 2023 23:14:14 GMT
Date: Fri, 08 Sep 2023 23:14:14 GMT
< Content-type: application/json
Content-type: application/json
< Content-length: 51
Content-length: 51
<
- Connection #0 to host localhost left intact
{“local”: {“timestamp”: 1694214830000, “data”: {}}}