Java
Instrument Java 1.6-1.8 applications with the Java Agent loaded at JVM startup.
Supported Components and Versions#
| LAYER | COMPONENT | VERSION |
|---|---|---|
| App Server | JAVA | 1.6.x, 1.7.x and 1.8.x |
| Instrumentation | Java | 1.6.x, 1.7.X, 1.8.X |
Monitoring Strategies for Components#
HEAL uses the Java Agent to instrument the application code. This agent is loaded at the JVM startup by adding it as a JVM argument. The Java Agent collects performance metrics and transaction traces, which are then sent to HEAL’s Ingestion API layer for analysis and monitoring.
KPIs collected#
| Component Name | kpi_name | kpi_identifier | KpiDescription | Units |
|---|---|---|---|---|
| Java | Process CPU Load | ProcessCpuLoad | The percentage of CPU usage by the process running the server. | Percentage |
| Java | Total Started Threads | TotalStartedThreadCount | Total number of threads that have been started since the application started. | Count |
| Java | Total Live Threads | ThreadCount | The total number of threads that are running. A thread automatically expires once it completes its execution. | Count |
| Java | Total Daemon Threads | DaemonThreadCount | The total number of threads available in a process. Daemon threads include started and alive threads too. | Count |
| Java | TotalPeakThreads | PeakThreadCount | Total number of currently running threads | Count |
| Java | Heap Memory Usage | HeapMemoryUsage-used | Total amount of heap memory being used by the application. | Bytes |
| Java | NonHeap Memory Usage | NonHeapMemoryUsage-used | Current Non-heap memory usage (in MB) of the server. | Bytes |
| Java | Established Status | ESTABLISHED_STATUS | It indicates the current status of established connections. | Count |
| Java | Listen Status | LISTEN_STATUS | Listen status of a port | Count |
| Java | URL Status | URL_STATUS | The HTTP status code for a specific URL indicating if its reachable or not. | Count |
| Java | Key Value | KEY_VALUE | Modification status of the Key Value pairs in the configured file | Text |
| Java | File Watch | FILE_WATCH | Monitors file changes in a directory or a specific file. | Text |
| Java | Established | ESTABLISHED | Number of established connections for a given port | Count |
| Java | Close Wait | CLOSE_WAIT | Number of close_wait connections for a given port | Count |
| Java | Sync Sent | SYN_SENT | Number of sync sent connections for a given port | Count |
| Java | Time Wait | TIME_WAIT | Number of time_wait connections for a given port | Count |
| Java | Fin Wait | FIN_WAIT | Number of fin_wait connections for a given port | Count |
| Java | Sync Receive | SYN_RCVD | Number of synchronously received messages. | Count |
| Java | Ping Status | PING_STATUS | IP availability based on ping | Count |
| Java | Collection Count | CollectionCount | Total number of collections that have occurred. | Count |
| Java | Collection Time | CollectionTime | Approximate accumulated collection elapsed time in milliseconds. | Milliseconds |
| Java | Component Properties | Component_Properties | The properties of a component such as its version and configuration. | Text |
| Java | Waiting Threads | JVM_WAITING_THREADS | the number of threads that are waiting for a resource. | Count |
| Java | Timed Waiting Threads | JVM_TIMED_WAITING_THREADS | The number of threads in the system that are in a waiting state. | Count |
| Java | Runnable Threads | JVM_RUNNABLE_THREADS | The number of threads that are currently running. | Count |
| Java | Terminated Threads | JVM_TERMINATED_THREADS | The total number of threads that have been terminated. | Count |
| Java | New Threads | JVM_NEW_THREADS | Number of new threads created. | Count |
| Java | Blocked Threads | JVM_BLOCKED_THREADS | Number of threads currently blocked waiting for a lock. | Count |
| Java | Hung Threads | JVM_HUNG_THREADS | refers to the threads that have become unresponsive and have stopped functioning. | Count |
| Java | Process Status | PROCESS_STATUS | To get the Application Services Status | Count |