I want to receive the next data of web page:
- dns lookup time
- page load time (before an event 'onLoad')
- TTFB
- total time (dns lookup time + page load time)
How can I do this on a node js?
I want to receive the next data of web page:
How can I do this on a node js?
First off, I don't have experience with this myself, but it seems like an interesting question so I looked it up a bit and here's what I found:
For all other points you asked I didn't manage to find any direct usage, but as it seems NewRelic does this already so you may want to check them out. On this link they show the how-to.
As a side note, take a look at this question here on StackOverflow if it gets you some help, and this module may be of interest to you too: https://github.com/shunanya/Node.js-monitoring.