Java Virtual Machine
Monitor JVM Statistics
This source has been deprecated
observIQ is in the process of transitioning a subset of BindPlane's monitoring capabilities to the observIQ OpenTelemetry Collector. As a result, this Source is no longer publicly available in BindPlane. If you need access to this Source, please reach out to our support via chat or via [email protected].
Not Included in the BindPlane with Google Stackdriver offering
All of the Google Cloud Platform sources listed within this documentation are not included with the BindPlane with Google Stackdriver offering.
Data Collection Setup
Metrics are collected via JMX calls to the JVM monitoring endpoint. Java RMI Registry and Java Agent are some examples of what can be monitored with this Source.
Network Requirements
Network requirements are different based on the collection mechanism.
Examples:
Host and Port:
Hostname: cass3-ref-1.bluemedora.net
Port: 7199
Service URL:
service:jmx:rmi:///jndi/rmi://localhost:15000/jmxrmi
service:jmx:remote+http://jboss-eap-rh1:9990
Least Privileged User
Username and Password are only used when using a JVM Agent.
Connection Parameters
Name | Required? | Description |
---|---|---|
JMX Connection Type | Provide the JMX Service URL or provide the Host and Port for the JMX service. | |
Host | Required | The Host of the Java Virtual Machine. |
Port | Required | The port for communication to the JMX agent. |
JMX Service URL | Required | The syntax of a JMX service URL requires that you provide the transport protocol used to make the connection, as well as a service access point (e.g. service:jmx:rmi:///jndi/rmi://<host>:<port> ). |
Username | Required only if monitoring a Java VM through a JMX agent that requires password authentication. | |
Password | Required only if monitoring a Java VM through a JMX agent that requires password authentication. |
Metrics
JVM
Name | Description |
---|---|
Compilation Time (Milliseconds) | The approximate accumulated elapsed time spent in compilation. |
CPU Time (Nanoseconds) | The CPU time used by the process on which the Java virtual machine is running. |
Daemon Threads (Threads) | The current number of live daemon threads. |
Garbage Collector Collection Count | The total number of collections that have occurred. |
Garbage Collector Collection Time (Milliseconds) | The accumulated collection elapsed time. |
Heap Memory Committed (Bytes) | The amount of heap memory that is committed for the Java virtual machine to use. |
Heap Memory Initialized (Bytes) | The amount of heap memory that the Java virtual machine initially requests from the operating system for memory management. |
Heap Memory Used (Bytes) | The amount of used heap memory. |
Live Threads (Threads) | The current number of live threads including both daemon and non-daemon threads. |
Loaded Classes Count | The number of classes that are currently loaded in the Java virtual machine. |
Maximum Heap Memory (Bytes) | The maximum amount of heap memory that can be used for memory management. |
Maximum Non-heap Memory (Bytes) | The maximum amount of non-heap memory that can be used for memory management. |
Name | The name representing the running Java virtual machine. |
Non-heap Memory Committed (Bytes) | The amount of non-heap memory that is committed for the Java virtual machine to use. |
Non-heap Memory Initialized (Bytes) | The amount of non-heap memory that the Java virtual machine initially requests from the operating system for memory management. |
Non-heap Memory Used (Bytes) | The amount of used non-heap memory. |
Open Files | The number of open file descriptors. |
Peak Threads (Threads) | The peak live thread count since the Java virtual machine started or peak was reset. |
Specification Version | The Java virtual machine specification version. |
Started Threads (Threads) | The total number of threads created and also started since the Java virtual machine started. |
Uptime (Milliseconds) | The uptime of the Java virtual machine. |
Vendor | The Java virtual machine specification vendor. |
Updated almost 2 years ago