Top 7 Java Instrumentation Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
java-specialagent
Automatic instrumentation for 3rd-party libraries in Java applications with OpenTracing.
-
jplusone
Tool for automatic detection and asserting "N+1 SELECT problem" occurences in JPA based Spring Boot Java applications and finding origin of JPA issued SQL statements in general
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
As seen above, the API exposes the user to low-level bytecode manipulation via byte arrays. It would be unwieldy to do it directly. Hence, real-life projects rely on bytecode manipulation libraries. ASM has been the traditional library for this, but it seems that Byte Buddy has superseded it. Note that Byte Buddy uses ASM but provides a higher-level abstraction.
I will use here JaCoCo, where also the JaCoCo-Maven-lugin exists for the usage in your Maven builds. This article will show how to configure the code coverage to finally get the results for unit- and integration-tests.
After doing some research it appears this class references internal packages and therefore "makes it unusable for modern Java apps" (https://github.com/prometheus/client_java/issues/533 , https://github.com/open-telemetry/opentelemetry-java/issues/4192)
Java Instrumentation related posts
Index
What are some of the best open-source Instrumentation projects in Java? This list will help you:
Project | Stars | |
---|---|---|
1 | Byte Buddy | 6,006 |
2 | JaCoCo | 4,014 |
3 | brave | 2,323 |
4 | client_java | 2,129 |
5 | java-specialagent | 185 |
6 | jplusone | 106 |
7 | javactrl | 27 |
Sponsored