本文介绍了标准的node.js指标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于node.js的标准度量标准发布包?我不是在问通用指标库,而是问产生一组特定指标(例如http QPS,运行时内存使用率,gc统计信息等)的软件包.如果您想为node.js用户提供监视服务,您将监视什么?

Are there any standard metrics publishing packages for node.js? I'm not asking about general metrics libraries, but rather packages that produce a specific set of metrics (e.g. http QPS, runtime memory usage, gc stats, etc...)If you wanted to offer a monitoring service for node.js users, what would you monitor?

推荐答案

我相信Node Application Metrics(' appmetrics ')提供您想要的内容.这是一个模块,提供有关正在运行的Node.js进程的一组度量标准,而不是本身的监视解决方案.

I believe that Node Application Metrics ('appmetrics') provides what your looking for. This is a module that provides a set of metrics about a running Node.js process, rather than a monitoring solution in itself.

在1.0.2版中,提供了以下数据类型:

In version 1.0.2 is provides the following data types:

  • 环境
  • CPU
  • 内存
  • GC
  • 功能分析
  • HTTP
  • MySQL
  • MongoDB
  • 请求跟踪
  • 功能跟踪
  • Environment
  • CPU
  • Memory
  • GC
  • Function profiling
  • HTTP
  • MySQL
  • MongoDB
  • Request tracking
  • Function trace

这篇关于标准的node.js指标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 22:51