Metrics是一个Java库,它让您对代码在生产中所做的事情有了无与伦比的洞察力。
Metrics
Metrics是一个Java库,它让您对代码在生产中所做的事情有了无与伦比的洞察力。(Metrics is a Java library which gives you unparalleled insight into what your code does in production.)
Github星跟踪图
对于常见的库,如Jetty、Logback、Log4j、Apache HttpClient、Ehcache、JDBI、Jersey等,和报告后端如Ganglia和Graphite,Metrics提供了全栈的可见性。
概览
名称与所有者 | dropwizard/metrics |
---|---|
主编程语言 | Java |
编程语言 | Java (语言数: 3) |
平台 | |
许可证 | Apache License 2.0 |
发布数 | 171 |
最新版本名称 | v4.2.25 (发布于 2024-01-24 22:52:20) |
第一版名称 | v1.0.0 (发布于 2010-02-27 12:57:19) |
创建于 | 2010-02-26 19:44:42 |
推送于 | 2024-05-05 03:52:21 |
最后一次提交 | |
星数 | 7.8k |
关注者数 | 371 |
派生数 | 1.8k |
提交数 | 3.8k |
已启用问题? | |
问题数 | 654 |
打开的问题数 | 4 |
拉请求数 | 2562 |
打开的拉请求数 | 15 |
关闭的拉请求数 | 878 |
已启用Wiki? | |
已存档? | |
是复刻? | |
已锁定? | |
是镜像? | |
是私有? |
Metrics
Capturing JVM- and application-level metrics. So you know what's going on.
For more information, please see the documentation.
Versions
Version 4.x.x (Javadoc)
Version 4.x.x (the last release is 4.0.5) is Java 8/9 compatible and the most fresh release of Metrics. The version targets Java 8 and removes a lot of internal cruft from 3.2.x (for instance, there's no dependency on the Unsafe API and custom LongAdder
and ThreadLocalRandom
implementations). It's mostly compatible with the 3.2 API and the update should be painless in Java 8 environments. If you have a 3rd party application which is dependent on an old version of Metrics, you can force a new version by adding metrics-bom
to your Maven configuration. Check out the release notes for 4.0.0.
Source code for 4.1.x resides in the 4.1-development branch.
Source code for 4.0.x resides in the 4.0-maintenance branch.
Version 3.2.x (Javadoc)
Version 3.2.x (the last release is 3.2.6) is Java 6 compatible and the most stable release of Metrics. 3.2.* was actively developed in 2017 and has many new features compared to 3.1.x (check out the release notes). Currently 3.2.x version is in maintenance mode. No future development is planned, but bugfixes are ported and you can expect maintenance releases.
Source code for 3.2.x resides in the 3.2-maintenance branch.
Version 3.1.x (Javadoc)
Version 3.1.x (the last release is 3.1.5) is a Java 6 compatible release of Metrics. It's the most common distribution of Metrics, albeit not actively developed and maintained. Version 3.1.2 was released in April, 2015 and since then there's been only a handful of bugfixes ported to this branch. If you're using Metrics 3.1.* , please strongly consider upgrading to 3.2.* or 4.0.* , because this version is practically EOL. No future releases of 3.1.* are expected.
Source code for 3.1.x resides in the 3.1-maintenance branch.
Future development
New not-backward compatible features (for example, support for tags) will be implemented in a 5.x.x release. The release will have new Maven coordinates, a new package name and a backwards-incompatible API.
Source code for 5.x.x resides in the 5.0-development branch.
License
Copyright (c) 2010-2013 Coda Hale, Yammer.com, 2014-2018 Dropwizard Team
Published under Apache Software License 2.0, see LICENSE