Resin
Resin support and JMX-based metric collection in HEAL.
Supported Components and Versions#
| LAYER | COMPONENT | VERSION |
|---|---|---|
| App Server | Resin | 3.x.x, 4.x.x |
Monitoring Strategies for Components#
Metrics’ collection is done using JMX. Once JMX is enabled, HEAL’s Component Agent will source metrics from the JVM via the JMX port and push the metrics to HEAL’s Ingestion API layer.
For transactions, Intrusive Monitoring module will be loaded as a java agent JVM argument on startup. This agent will push Telemetry data (traces) to HEAL’s Ingestion API layer.
Note: The steps for enabling JMX and setting JVM arguments are different for different App Servers. For details, refer to HEAL’s installation guide.
KPIs collected#
| Component Name | kpi_name | kpi_identifier | KpiDescription | Units |
|---|---|---|---|---|
| Resin | Request Time | RequestTimeTotal | Total amount of time spent processing HTTP requests for the application | Milliseconds |
| Resin | Read Bytes | ReadBytesTotal | Bytes received by all the request processors running on the server since collection | Bytes |
| Resin | Write Bytes | WriteBytesTotal | Bytes sent by all the request processors running on the server since collection | Bytes |
| Resin | Request Count | RequestCountTotal | Request count on all the request processors running on the container last collection. | Count |
| Resin | Invocation Cache Miss Count | InvocationCacheMissCountTotal | Measures how often cacheable pages must go to their underlying layer instead of being cached. | Count |
| Resin | Invocation Cache Hit Count | InvocationCacheHitCountTotal | Measures how often cacheable pages are being cached. | Count |
| Resin | Total Sessions | SessionCreateCountTotal | Number of sessions created by all the applications running on the container since last collection. | Count |
| Resin | Total Active Sessions | SessionActiveCount | Active sessions of all the applications running on the container. | Count |
| Resin | Thread Active Count | ThreadActiveCount | Current Number of busy threads on the container | Count |
| Resin | Process CPU Load | ProcessCpuLoad | The percentage of CPU usage by the process running the server. | Percentage |
| Resin | Total Started Threads | TotalStartedThreadCount | Total number of threads that have been started since the application started. | Count |
| Resin | Total Live Threads | ThreadCount | The total number of threads that are running. A thread automatically expires once it completes its execution. | Count |
| Resin | Total Daemon Threads | DaemonThreadCount | The total number of threads available in a process. Daemon threads include started and alive threads too. | Count |
| Resin | TotalPeakThreads | PeakThreadCount | Total number of currently running threads | Count |
| Resin | Heap Memory Usage | HeapMemoryUsage-used | Total amount of heap memory being used by the application. | Bytes |
| Resin | NonHeap Memory Usage | NonHeapMemoryUsage-used | Current Non-heap memory usage (in MB) of the server. | Bytes |
| Resin | Communication Status | COMM_STATUS | The status of communication between nodes in a cluster. | Count |
| Resin | Modified Status | MODIFIED_STATUS | File modified status in last interval | Count |
| Resin | Exists | EXISTS | indicates whether a particular object exists or not. | Count |
| Resin | Pattern Found | PATTERN_FOUND | Pattern availability in the given file | Count |
| Resin | Process Running | PROCESS_RUNNING | The number of processes currently running in the system. | Count |
| Resin | Cluster Status | CLUSTER_STATUS | the current state of the cluster (e.g. up down syncing). | Count |
| Resin | Key Value | KEY_VALUE | Modification status of the Key Value pairs in the configured file | Text |
| Resin | File Watch | FILE_WATCH | Monitors file changes in a directory or a specific file. | Text |
| Resin | Established | ESTABLISHED | Number of established connections for a given port | Count |
| Resin | Close Wait | CLOSE_WAIT | Number of close_wait connections for a given port | Count |
| Resin | Sync Sent | SYN_SENT | Number of sync sent connections for a given port | Count |
| Resin | Time Wait | TIME_WAIT | Number of time_wait connections for a given port | Count |
| Resin | Fin Wait | FIN_WAIT | Number of fin_wait connections for a given port | Count |
| Resin | Sync Receive | SYN_RCVD | Number of synchronously received messages. | Count |
| Resin | Ping Status | PING_STATUS | IP availability based on ping | Count |
| Resin | Established Status | ESTABLISHED_STATUS | It indicates the current status of established connections. | Count |
| Resin | Listen Status | LISTEN_STATUS | Listen status of a port | Count |
| Resin | URL Status | URL_STATUS | The HTTP status code for a specific URL indicating if its reachable or not. | Count |
| Resin | Collection Count | CollectionCount | Total number of collections that have occurred. | Count |
| Resin | Collection Time | CollectionTime | Approximate accumulated collection elapsed time in milliseconds. | Milliseconds |
| Resin | Waiting Threads | JVM_WAITING_THREADS | the number of threads that are waiting for a resource. | Count |
| Resin | Timed Waiting Threads | JVM_TIMED_WAITING_THREADS | The number of threads in the system that are in a waiting state. | Count |
| Resin | Runnable Threads | JVM_RUNNABLE_THREADS | The number of threads that are currently running. | Count |
| Resin | Terminated Threads | JVM_TERMINATED_THREADS | The total number of threads that have been terminated. | Count |
| Resin | New Threads | JVM_NEW_THREADS | Number of new threads created. | Count |
| Resin | Blocked Threads | JVM_BLOCKED_THREADS | Number of threads currently blocked waiting for a lock. | Count |
| Resin | Hung Threads | JVM_HUNG_THREADS | refers to the threads that have become unresponsive and have stopped functioning. | Count |
| Resin | Last Ack | LAST_ACK | Total number of TCP connections in the LAST_ACK state | Count |
| Resin | Certificate Expiry Days | CERTIFICATE_EXPIRY_DAYS | Indicates the number of days remaining until the server certificate expires. | Count |