Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show transactions/latency shows no results #63

Open
knicefire opened this issue Feb 17, 2016 · 4 comments
Open

Show transactions/latency shows no results #63

knicefire opened this issue Feb 17, 2016 · 4 comments

Comments

@knicefire
Copy link

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

@tanmays
Copy link

tanmays commented Mar 26, 2016

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?

@tmayr
Copy link

tmayr commented Mar 31, 2016

Exactly the same here, not running SSL.

@tmayr
Copy link

tmayr commented Mar 31, 2016

@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.

@tanmays
Copy link

tanmays commented Apr 3, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants