Hello,
We are trying to explore APM and have setup Kibana, Elastic, and an APM Server Containers. In doing so, we have gotten the Kibana Server up, the Elastic Server talking to Kibana and it appears to be recognizing the APM Server. 'Check APM Server status' from Kibana says success. This message is questionable, because when the container is paused - the message still says success.
When we attempt to send data to the APM Server from Node, we receive an Error: connect ECONNREFUSED message.
We are using the hapi framework and the following call is made in index.js before the server starts.
var apm = require('elastic-apm-node').start({
serviceName: 'apm-test-service',
secretToken: '',
serverUrl: '[name-of-server-removed]:42000',
});
we receive a logging error message but eventually receive the following message
Error: connect ECONNREFUSED [ip-address-removed]:42000
at Object._errnoException (util.js:1031:13)
at _exceptionWithHostPort (util.js:1052:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14)
Also, may be helpful:
our apm-server.yml file looks like
output.elasticsearch:
hosts: ['[removed-the-server-name]:9200']
Elastic is in development mode.
Any help is appreciated...thanks!