pmx
pmx copied to clipboard
Show transactions/latency shows no results
Hi, I'm having issues with pmx transactions/latency monitoring
On the dashboard I've started to see HTTP avg. metric, which currently shows 288ms
And the configuration is the following
require('pmx').init({
http : true,
errors : true,
custom_probes : true,
network : true,
ports : true
});
But when I click on inspect
it shows no results
Great! Not any routes are taking more than 200ms!
I've tried different options such as http_latency: 100
and lower in an attempt to see any result.
And I've tried http_codes: 200
which, according to the code, should record all the requests (just to test the functionality)
but no results are shown
Am I doing something wrong?
PS. Just in case, my server is working over https
I'm experiencing the same. My server works over https as well and SSL is terminated at load balancer.
Setup details: Node v4.3.0 PM2 v1.0.2 PMX v0.6.1
@knicefire did you happen to get it working?
Exactly the same here, not running SSL.
@tanmays @knicefire managed to get it working by requiring pmx as earlier as I could, in my case, the file that calls the server file.
@tmayr thanks, I tried calling it on the top of my index.js but didn't work. I'm using it with parse-server.