Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM: Heap usage via eBPF #1608

Open
REASY opened this issue Feb 5, 2025 · 3 comments
Open

JVM: Heap usage via eBPF #1608

REASY opened this issue Feb 5, 2025 · 3 comments

Comments

@REASY
Copy link

REASY commented Feb 5, 2025

JVM comes with DTraces, however, not all JDK builds have them enabled. Is there an interest of integrating those traces into beyla?

I did a POC, technical details can be found in eBPF to monitor heap usage of Java app, repo with code jheapusage

@marctc
Copy link
Contributor

marctc commented Feb 5, 2025

Hey @REASY,

Thanks a lot for reaching out. Definitively your project is something that fits in Beyla, as the OpenTelemetry SDKs produce these kinds of metrics and are needed to have a better view of JVM metrics in our application observability panels. This is how it looks right now, if we could fill some gaps would be awesome.

Image

The main problem here that I see is that your project uses Rust. Let me discuss details internally and will back to you.
thanks!

related #116

@marctc
Copy link
Contributor

marctc commented Feb 5, 2025

We could easily add this code here src/ebpf/jvm.bpf.c and add the probes in generictracer.go. We would gladly accept a PR with these changes. We can help in any step if you need, thanks!

@REASY
Copy link
Author

REASY commented Feb 6, 2025

Hi, @marctc

Great, will look at it during the weekend, thanks for the quick feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants