java codahale 的“指标”的其他开源替代品?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15280070/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 19:04:18  来源:igfitidea点击:

other open source alternatives to codahale's "metrics"?

javamonitoringjmxmetricsyammer

提问by user2145809

I came across the metrics projectfrom codahale, and I believe that it is used at Yammer. I like this solution, but want to know if there are other open source alternatives with similar capabilities.

我从 codahale遇到了度量项目,我相信它在 Yammer 中使用。我喜欢这个解决方案,但想知道是否有其他具有类似功能的开源替代方案。

回答by Nicholas

Some suggestions:

一些建议:

  • Perf4J: Perf4J is a set of utilities for calculating and displaying performance statistics for Java code.
  • ERMA: ERMA (Extremely Reusable Monitoring API) is an instrumentation API that has been designed to be applicable for all monitoring needs.
  • javasimon: Java Simon is a simple monitoring API that allows you to follow and better understand your application. Monitors (familiarly called Simons) are placed directly into your code and you can choose whether you want to count something or measure time/duration.
  • Glassbox: The Glassbox troubleshooter is an automated troubleshooting and monitoring agent for Java applications that diagnoses common problems with one-click.
  • InfraRED: InfraRED is a tool for monitoring performance of a Java EE application and diagnosing performance problems. It collects metrics about various aspects of an application's performance and makes it available for quantitative analysis of the application.
  • Perf4J:Perf4J 是一组用于计算和显示 Java 代码性能统计信息的实用程序。
  • ERMA:ERMA(极度可重用监控 API)是一种仪表 API,旨在适用于所有监控需求。
  • javasimon:Java Simon 是一个简单的监控 API,可让您跟踪并更好地了解您的应用程序。监视器(通常称为 Simons)直接放置在您的代码中,您可以选择是否要计算某些内容或测量时间/持续时间。
  • Glassbox:Glassbox 故障排除程序是 Java 应用程序的自动故障排除和监控代理,可通过一键诊断常见问题。
  • InfraRED:InfraRED 是一种用于监控 Java EE 应用程序性能和诊断性能问题的工具。它收集有关应用程序性能各个方面的指标,并使其可用于应用程序的定量分析。

回答by Roland Hu?

Netflix's Servois somewhat simliar in spirit of Metrics. It is also a Java library based on annotation on the metrics to observe, which can be polled periodically from within the JVM and write it out to a backend server. It also exposes the metrics via JMX.

Netflix 的Servo与 Metrics 的精神有些相似。它也是一个基于要观察的指标的注释的 Java 库,可以从 JVM 内定期轮询它并将其写出到后端服务器。它还通过 JMX 公开指标。

回答by OlivierTurpin

There's also the JavaMelody project

还有 JavaMelody 项目

"The goal of JavaMelody is to monitor Java or Java EE application servers in QA and production environments. It is not a tool to simulate requests from users, it is a tool to measure and calculate statistics on real operation of an application depending on the usage of the application by users"

“JavaMelody 的目标是在 QA 和生产环境中监控 Java 或 Java EE 应用程序服务器。它不是模拟用户请求的工具,而是根据使用情况对应用程序实际运行情况进行测量和计算统计的工具用户的应用程序”

JavaMelody

Java旋律