jmx_exporter
opentelemetry-java-contrib
Our great sponsors
jmx_exporter | opentelemetry-java-contrib | |
---|---|---|
8 | 3 | |
2,896 | 138 | |
1.5% | 6.5% | |
8.0 | 9.5 | |
7 days ago | 3 days ago | |
Java | Java | |
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.
jmx_exporter
-
Prometheus JMX Exporter for Java17
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:
-
Initial setup
Prometheus doesn't deal with logs at all - only metrics. Even just for metrics, you have several different choices depending on how your Java application is running. You may be able to use the JMX Exporter to expose the metrics that you would then scrape with Prometheus. For the logs, you'll need something like Fluent Bit as an agent to grab ('tail' in Fluent Bit input terms) the logs and send them to Elasticsearch or Grafana Loki.
- Pod log monitoring
- Monitor Java application with prometheus
-
What kind of monitoring tools are people using for their Kafka Deployment?
- https://github.com/prometheus/jmx_exporter - https://github.com/lightbend/kafka-lag-exporter (Export Kafka Topics Lag Metrics) - https://github.com/danielqsj/kafka_exporter (Export Kafka Metrics) - https://github.com/obsidiandynamics/kafdrop (Topic Administration tool - create/edit/delete topics & view messages)
-
Kafka monitoring
Usually I use a javaagent that transforms the JMX metrics into prometheus style metrics, for example: https://github.com/prometheus/jmx_exporter/blob/116a1c4b3fafcfbb9e566b34e130ccc805f331fc/example_configs/kafka-0-8-2.yml
-
Do you use Tomcat ? How to you get optimal performance of it?
Another good one is to add the jmx_exporter agent plugin. This allows easy collection of real-time performance metrics.
-
Kafka Connect: The Magic Behind Mux Data Realtime Exports
In our case, we add sink connectors for AWS Kinesis and Google Cloud PubSub. We also add a Prometheus exporter JAR that scrapes the Kafka Connect JMX metrics and exposes them as Prometheus metrics.
opentelemetry-java-contrib
-
Prometheus JMX Exporter for Java17
In case you donβt get it working you could try JMX metrics from OTEL contrib. Configure it for the Prom exporter.
-
Everything you need to know about OpenTelemetry Java auto-instrumentation π¨π½βπ»
opentelemetry-java-contrib - contains libraries for standalone utilities which don't fit the scope of the other two projects.
-
Everything you need to know about OpenTelemetry Java agent
opentelemetry-java-contrib OpenTelemetry java provides this repo to cover JVM-based applications and workflows that don't fit into the scope of opentelemetry-java and opentelemetry-java-instrumentation.
What are some alternatives?
Telegraf - The plugin-driven server agent for collecting & reporting metrics.
opentelemetry-java-instrumentation - OpenTelemetry auto-instrumentation and instrumentation libraries for Java
kafka-lag-exporter - Monitor Kafka Consumer Group Latency with Kafka Lag Exporter
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
kafka_exporter - Kafka exporter for Prometheus
opentelemetry-java - OpenTelemetry Java SDK
container-jfr - Secure JDK Flight Recorder management for containerized JVMs
example.java.helloworld - "Hello World" Example for Java
exporterhub.io - A Curated List of Prometheus Exporters
kafdrop - Kafka Web UI
akhq - Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
health-report - Single-file program that illustrates how the JFR streaming API can be used.