Hello everyone,
not quite sure if this is where I should be asking for help but i'm kind of befuddled about this whole situation. I'm trying to set up https://github.com/prometheus/jmx_exporter for our containerized Java application on our cluster. Specifically the JavaAgent as we are interested in getting the CPU and memory metrics. However, getting it initialized I am faced with this:
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) and also that the error suggests that the agent has been written for older java since these classes were apparently removed years ago.
I
am not a Java developer, just trying to make this work for our
monitoringstack. Has anyone else here tried exporting jmx metrics with
prometheus or are you maybe using something else? I tried basically doing the same thing as this person: https://github.com/Ilak-0/prometheus-jmx-exporter-kubernetes
I've been stuck on this for too long and will soon have my hair falling off ><