opentelemetry-java
async-profiler
Our great sponsors
opentelemetry-java | async-profiler | |
---|---|---|
5 | 8 | |
1,839 | 5,883 | |
3.0% | - | |
9.7 | 8.4 | |
2 days ago | about 1 year ago | |
Java | C++ | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
opentelemetry-java
-
Prometheus JMX Exporter for Java17
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)
-
Python in SRE?
For monitoring: If you want to go the open source route, the open telemetry ecosystem is booming. You could use the open telemetry java agent along with their collector, and then use Elastic APM, which could give you a good starting point. Here is a small example project I found on github that was fun to play around with and explore the capabilities of a setup like this: https://github.com/riferrei/otel-with-apache-pulsar
-
Best performance monitoring tools?
OpenTelemetry and Java Flight Recorder (JFR) cover most bases. Use the OpenTelemetry Java agent if you want auto-instrumentation or just the APIs if you want to do your own instrumentation.
-
Everything you need to know about OpenTelemetry Java auto-instrumentation 👨🏽💻
opentelemetry-java - contains components for manual instrumentation as well as the API and SDK.
-
Everything you need to know about OpenTelemetry Java agent
opentelemetry-java This repo is the main OpenTelemetry Java SDK and provides components for manual instrumentation. Top-level components include OpenTelemetry API, extensions, SDK, bridge layers for OpenTracing and OpenCensus.
async-profiler
-
Migrating a Spring Boot application to Quarkus
Using the Async Profiler we were able to build flamegraphs for the first and second queries to picture the differences in path length of the two transactions execution.
-
Making Code Faster
> The other two languages I’ve used mostly in recent decades are Java and Ruby and the profiler situation is for both those languages is kind of shitty. I had to pay real money to get the Java profiler I used at AWS and while it worked, it was klunky, not fun to use.
These days, async profiler (https://github.com/jvm-profiling-tools/async-profiler) is much better than the Go tooling for performance. It is a joy to use and features a top-like view for the hottest methods. It works for locks, allocations and CPU time. It also integrates with JMH.
-
Why would a Java prime sieve run at only half its speed _some_ of the times?
Also, running it under a profiler (I recommend async-profiler[1]) should give you a good idea of where the slowdown occurs which might help you pin it down further.
[1] https://github.com/jvm-profiling-tools/async-profiler
-
Is there a way to know if my java game is slow on other computers?
Profile it. async-profiler is really great. Alternatively you can check out VisualVM/JProfiler/YourKit
- Best performance monitoring tools?
-
Rust Option 30x more efficient to return than Java Optional
async-profiler is really great at analyzing allocations, give it a shot!
-
Ask Java: what are some JFR-based tools that you enjoy?
JFR to Flame Graph Converter
-
Utility script for generating flamegraphs from JFR logs without dependencies.
Async Profiler converter tool does support JFR to Flame Graph, JFR to FlameScope, collapsed stacks to Flame Graph -https://github.com/jvm-profiling-tools/async-profiler#download
What are some alternatives?
Zabbix - Real-time monitoring of IT components and services, such as networks, servers, VMs, applications and the cloud.
container-jfr - Secure JDK Flight Recorder management for containerized JVMs
opentelemetry-java-instrumentation - OpenTelemetry auto-instrumentation and instrumentation libraries for Java
junit-jfr - a JUnit 5 extension that generates JFR events
signoz - SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
jmh - https://openjdk.org/projects/code-tools/jmh
otel-with-apache-pulsar - Example of application that produces and consumes events to/from Apache Pulsar. Traces from the transactions are captured using OpenTelemetry and sent to Elastic Observability.
jfr-libraries - a list of libraries that generate JFR events
Arthas - Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas
apm-server - APM Server