I have installed apm-server
and setup apm-server.yml as bellow for nodeJs Agent
output.elasticsearch:
hosts: ["localhost:9200"]
username: "elastic"
password: "elastic"
then run service apm-server start .
configured Node side as bellow
var apm = require('elastic-apm-node').start({
serviceName: 'MyApp',
serverUrl: 'http://localhost:8200'
})
Checked status
APM Server status : You have correctly setup APM Server
Agent status : Data successfully received from one or more agents
It's worked last night and showed charts on kibana dashboard.but now i'm getting bellow error on my Console and No services found on dashboard
[ERROR] APM Server transport error (ECONNREFUSED): connect ECONNREFUSED 127.0.0.1:8200
Kibana - 7.3.1
apm-server - 7.3.1
elasticsearch - 7.3.1
I have checked apm-server
logs directory.but there is no any log file.
and tried curl -i http://localhost:8200
.it's says
curl: (7) Failed to connect to localhost port 8200: Connection refused
.
Kindly help me on this please.