Overview
Diagnostic endpoints provide the ability to collect detailed information about the operational status of Worker and Cache modules. With these endpoints, you can access JVM metrics, thread information, connection states, environment variables, and more.Use Cases
Performance Analysis
You can monitor JVM memory usage, thread counts, and system resources in real-time.
Troubleshooting
You can detect memory leaks and deadlock issues by taking thread dumps and heap dumps.
Capacity Planning
You can make scaling decisions by monitoring system resource usage.
Centralized Monitoring
You can perform cluster-wide status analysis by querying all pods collectively.
Access Methods
You can access diagnostic endpoints in two different ways:- Server Management Screen
- API Access
You can access diagnostic information of all pods through the visual interface from the System → Server Management screen in API Manager. This method is suitable for manual control and quick analysis.
Workflow
The operational logic of diagnostic endpoints is shown in the diagram below:Broadcast Mechanism
Wheninternal=false (or when the parameter is not provided), the requested pod forwards requests to all other pods in the cluster and collects the results:
Authorization
All diagnostic endpoints require authorization. Environment ID is used in requests:1
Add Authorization Header
You must send the active environment ID in the
Authorization header in the request.2
Validation
Worker and Cache pods compare the incoming token with their own environment IDs.
3
Access
If the token matches, the request is processed; otherwise,
401 Unauthorized is returned.Worker Diagnostic Endpoints
Available endpoints for Worker module:JVM Metrics
JVM memory usage, heap/non-heap information, garbage collection statistics.- From Within Kubernetes
- From Outside Kubernetes
Thread Information
Active thread count, thread states, thread pool usage.- From Within Kubernetes
- From Outside Kubernetes
Thread Dump
Detailed stack trace information of all threads. Used for deadlock detection.- From Within Kubernetes
- From Outside Kubernetes
Heap Dump
Binary dump of JVM heap memory. Used for memory analysis.The heap dump endpoint does not support broadcast and returns a binary file (.hprof) as output. Therefore, the
internal parameter is not used, and the result should be saved to a file.- From Within Kubernetes
- From Outside Kubernetes
Connection Information
Active HTTP connections, connection pool states, backend connections.- From Within Kubernetes
- From Outside Kubernetes
Environment Variables
System and JVM environment variables, system properties.- From Within Kubernetes
- From Outside Kubernetes
Health Status
Pod health status, uptime, basic system information.- From Within Kubernetes
- From Outside Kubernetes
All Metrics
Collects all metrics except heap dump in a single call.- From Within Kubernetes
- From Outside Kubernetes
Cache Diagnostic Endpoints
Available endpoints for Cache module:JVM Metrics
- From Within Kubernetes
- From Outside Kubernetes
Thread Information
- From Within Kubernetes
- From Outside Kubernetes
Thread Dump
- From Within Kubernetes
- From Outside Kubernetes
Heap Dump
- From Within Kubernetes
- From Outside Kubernetes
Environment Variables
- From Within Kubernetes
- From Outside Kubernetes
Health Status
- From Within Kubernetes
- From Outside Kubernetes
Hazelcast Metrics
Hazelcast cluster information, cache statistics, distributed map metrics.This endpoint is only available in the Cache module and shows the detailed status of the Hazelcast cluster.
- From Within Kubernetes
- From Outside Kubernetes
All Metrics
- From Within Kubernetes
- From Outside Kubernetes
Endpoint Comparison Table
Use Case Scenarios
Memory Leak Detection
Memory Leak Detection
- Regularly monitor memory usage with the
/jvmendpoint - Detect continuous increase in heap memory
- Take a heap dump with
/heapdump - Analyze with Eclipse MAT or VisualVM
Deadlock Analysis
Deadlock Analysis
You can detect deadlock situations by taking thread dumps:
Cluster-Wide Performance Analysis
Cluster-Wide Performance Analysis
You can check the status of all pods in a single call:
Automated Monitoring Integration
Automated Monitoring Integration
You can integrate with Prometheus, Grafana, or custom monitoring systems:
Connection Pool Monitoring
Connection Pool Monitoring
You can check connection pool states in Worker pods:
Best Practices
Regular Monitoring
Perform proactive troubleshooting by periodically checking
/health and /jvm endpoints.Broadcast Usage
Use broadcast mode (without
internal parameter) to check all pods in production environment.Heap Dump Size
Heap dumps can create large files. Ensure sufficient disk space is available.
Authorization Security
Store Environment ID securely and do not display it in logs.

