pmx icon indicating copy to clipboard operation
pmx copied to clipboard

Show transactions/latency shows no results

Open knicefire opened this issue 9 years ago • 4 comments

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

knicefire avatar Feb 17 '16 12:02 knicefire

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?

tanmays avatar Mar 26 '16 15:03 tanmays

Exactly the same here, not running SSL.

tmayr avatar Mar 31 '16 05:03 tmayr

@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 avatar Mar 31 '16 17:03 tmayr

@tmayr thanks, I tried calling it on the top of my index.js but didn't work. I'm using it with parse-server.

tanmays avatar Apr 03 '16 15:04 tanmays