{ Error: connect ECONNREFUSED 127.0.0.1:9600
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1158:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 9600 }
Failed to retrieve units for metrics. HTTP(S) response was empty.
HTTP(S) Response for metricUnits was not in JSON format:
{ Error: connect ECONNREFUSED 127.0.0.1:9600
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1158:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 9600 }
If i give endpoint as my elasticserver, i get this
Failed to retrieve units for metrics. HTTP(S) response was:
{"error":"no handler found for uri [/_opendistro/_performanceanalyzer/metrics/units] and method [GET]"}
Data returned for nodeName=error was in an unexpected format:
{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_opendistro/_performanceanalyzer/metrics] contains unrecognized parameters: [agg], [dim], [metrics], [nodes]"}],"type":"illegal_argument_exception","reason":"request [/_opendistro/_performanceanalyzer/metrics] contains unrecognized parameters: [agg], [dim], [metrics], [nodes]"}