JVM Overview (Micrometer OTLP)
786

Created 6/6/2023
Updated 7/7/2023
Revision 6
Grafana Version >=10.1.0-57731pre
Datasources
Prometheus

Overview for the most important JVM and HTTP server metrics.

JVM metrics: CPU, memory, classes, threads, and garbage collection.

HTTP server is monitored using RED - Request rate, Error ratio, Duration (latency).

How to send data:

  • Spring Boot 3.1+
  • Add the Grafana OpenTelemetry Starter to your application
  • Use the Grafana Agent to send data to a Prometheus instance
    • for Grafana cloud, you can use "Connect Data" from the Grafana home page and then choose "OpenTelemetry (OTLP)"
    • for Grafana Open Source, use this guide
Get Dashboard
Download
Copy to Clipboard
Source Grafana.com

Used Metrics 8

  • http_server_requests_count

  • http_server_requests_bucket

  • system_cpu_usage

  • jvm_memory_used

  • jvm_memory_max

  • jvm_gc_pause_sum

  • jvm_classes_loaded

  • jvm_threads_live