Prometheus JMX Exporter for Java17

This page summarizes the projects mentioned and recommended in the original post on /r/PrometheusMonitoring

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. jmx_exporter

    A process for collecting metrics using JMX MBeans for Prometheus consumption

    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 especially. However, getting it initialized I am faced with this:

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. client_java

    Prometheus instrumentation library for JVM applications

    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)

  4. opentelemetry-java

    OpenTelemetry Java SDK

    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)

  5. cadvisor

    Analyzes resource usage and performance characteristics of running containers.

    For CPU and memory metrics, you can use cAdvisor to collect container level data.

  6. opentelemetry-java-contrib

    In case you don’t get it working you could try JMX metrics from OTEL contrib. Configure it for the Prom exporter.

  7. example.java.helloworld

    "Hello World" Example for Java

    Download this package to your container: https://github.com/macagua/example.java.helloworld Compile Main.java and create the jar file according to the instructions. Run the jar file with the jmx exporter with:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: ClickStack – open-source Datadog alternative by ClickHouse and HyperDX

    10 projects | news.ycombinator.com | 5 Jun 2025
  • Quickwit Joins Datadog

    4 projects | news.ycombinator.com | 10 Jan 2025
  • OpenTelemetry and vendor neutrality: how to build an observability strategy

    10 projects | news.ycombinator.com | 18 Sep 2024
  • All you need is Wide Events, not "Metrics, Logs and Traces"

    7 projects | news.ycombinator.com | 27 Feb 2024
  • Show HN: Autometrics – open-source observability stack

    1 project | news.ycombinator.com | 5 Dec 2023