简体   繁体   English

监视运行在Windows Azure中的Node.js应用程序

[英]Monitoring Node.js application running into Windows Azure

有没有一种方法可以使性能计数器监视Windows Azure中的Node.js应用程序性能?

I haven't experimented with it myself yet, but there is node-perfmon which is a wrapper around typeperf . 我还没有尝试过它,但是有一个node-perfmon ,它是typeperf的包装。 That says it allows you to write performance counters, as well as simple memory / cpu monitoring. 也就是说,它允许您编写性能计数器以及简单的内存/ cpu监视。 Is this the sort of monitoring you were looking for? 这是您想要的监视吗?

Just adding more to above answers.. 只是在以上答案中添加更多

For application stats monitoring on Node.js you can use Hummingbird. 为了在Node.js上监视应用程序状态,您可以使用Hummingbird。 It supports status over http so you can integrate the code in your node.js app add one port to get the monitoring data over HTTP. 它支持http状态,因此您可以将代码集成到node.js应用中,添加一个端口以通过HTTP获取监视数据。 No need to use Azure Storage Diagnostics and all info in real time in same machine. 无需在同一台计算机上实时使用Azure存储诊断程序和所有信息。 It's still in pre-alfa, but is handling with few tasks really well. 它仍然在Alfa之前,但是处理很少的任务确实很好。

http://projects.nuttnet.net/hummingbird/ http://projects.nuttnet.net/hummingbird/

I know about the node.js "monitor" plugin which is the best for Linux machines for system specific performance and also use HTTP to provide system specific data. 我知道node.js“监视”插件是最适合Linux计算机的系统特定性能,并且还使用HTTP提供系统特定数据。 I am not sure if that can be ported to Windows Server but if can that is one great choice. 我不确定是否可以将其移植到Windows Server,但是如果可以的话,这是一个不错的选择。 Read more about monitor usage here: http://www.sys-con.com/node/2275314 在此处阅读有关显示器使用情况的更多信息: http : //www.sys-con.com/node/2275314

You may want to also look at these, they aren't directly using perfmon, but allow you to monitor the performance of your Node.js server: 您可能还想看看这些,它们不是直接使用perfmon,而是允许您监视Node.js服务器的性能:

http://search.npmjs.org/#/Probes.js http://search.npmjs.org/#/Probes.js

http://search.npmjs.org/#/nodetime http://search.npmjs.org/#/nodetime

The NPM registry is a great tool for finding Node.js packages. NPM注册表是查找Node.js软件包的绝佳工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM