Skip to content
New issue

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

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

Already on GitHub? # to your account

Is there a way to support Java and JVM metrics? #367

Open
ErezWeiss opened this issue Nov 21, 2024 · 3 comments
Open

Is there a way to support Java and JVM metrics? #367

ErezWeiss opened this issue Nov 21, 2024 · 3 comments

Comments

@ErezWeiss
Copy link

Is there a way to support Java and JVM metrics?

So we can see inside the JVM and get recommendations from inside, as it is shown outside the JVM as fully used.
Thanks!

@arikalon1
Copy link
Contributor

Hey @ErezWeiss

Can you explain what are you trying to achieve?
You'd like to see cpu and memory usage of the java process over time?
How are you going to use that information?

@ErezWeiss
Copy link
Author

Hi @arikalon1
KRR's memory suggestions rely on the general consumption of the container, but Java always allocates it all. The real info is inside the JVM, and I want to get suggestions based on it.

@arikalon1
Copy link
Contributor

Thanks for the explanation @ErezWeiss,

KRR supports recommendation strategies.
In order to support the above, we need to build a new recommendation strategy, JVMStrategy, and assuming the jvm metrics are in Prometheus, it shouldn't be hard to implement.

I don't think we have availability to implement it right now, but if you're interested in contributing a PR for it, it would be amazing

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

No branches or pull requests

2 participants