39

I came across the metrics project from 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.

cdeszaq
  • 30,869
  • 25
  • 117
  • 173
user2145809
  • 571
  • 2
  • 6
  • 8
  • 50
    Hate these "not constructive" crap closings. Google brought me here, and it was EXACTLY the stuff I needed! – stolsvik Dec 23 '14 at 23:22
  • 2
    I agree with @stolsvik this is not incredibly easy to find and the fact that people get so anal about a searchable answer database seems a little silly. – enriched Jan 06 '15 at 23:24
  • 1
    Agree. What is not constructive about this question? This is such useful info – Salil Surendran Oct 08 '15 at 01:25
  • so agree with @stolsvik, this question is 100% useful. This forum should include all sorts of questions that are useful. Over policing kills useful questions and information. – Ikthiander Feb 07 '18 at 10:15

3 Answers3

20

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.
mkobit
  • 43,979
  • 12
  • 156
  • 150
Nicholas
  • 15,916
  • 4
  • 42
  • 66
17

Netflix's Servo is 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.

Roland Huß
  • 2,507
  • 15
  • 30
5

There's also the JavaMelody project

"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

Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
OlivierTurpin
  • 308
  • 1
  • 4