# Get metrics for all nodes in the applicationcurl http://localhost:19092/applicationmetrics/v1/values# Get Prometheus-format metricscurl http://localhost:19092/applicationmetrics/v1/prometheus
// HTTP status code metrics (from ContainerMetrics.java)HTTP_STATUS_2XX // Number of successful responsesHTTP_STATUS_4XX // Client errorsHTTP_STATUS_5XX // Server errors// Request handlingHANDLED_REQUESTS // Number of requests handled per snapshotHANDLED_LATENCY // Request handling latency (ms)// Query metricsQUERIES // Query volumeQUERY_LATENCY // Overall query latency (ms)QUERY_CONTAINER_LATENCY // Query execution time in containerFAILED_QUERIES // Number of failed queriesDEGRADED_QUERIES // Queries with partial results
// Garbage collection (from ContainerMetrics.java)JDISC_GC_COUNT // Number of GC runsJDISC_GC_MS // Time spent in GC (ms)// Memory usageMEM_HEAP_TOTAL // Total heap memoryMEM_HEAP_USED // Used heap memoryMEM_HEAP_FREE // Free heap memoryMEM_DIRECT_USED // Direct memory usage// Thread pool metricsJDISC_THREAD_POOL_SIZE // Thread pool sizeJDISC_THREAD_POOL_ACTIVE_THREADS // Active threadsJDISC_THREAD_POOL_WORK_QUEUE_SIZE // Queued tasksJDISC_THREAD_POOL_REJECTED_TASKS // Rejected tasks
High JDISC_THREAD_POOL_REJECTED_TASKS indicates thread pool saturation. Consider increasing thread pool size or optimizing request handlers.
Document API Metrics
// Document operations (from ContainerMetrics.java)HTTPAPI_NUM_OPERATIONS // Total document operationsHTTPAPI_NUM_PUTS // Put operationsHTTPAPI_NUM_UPDATES // Update operationsHTTPAPI_NUM_REMOVES // Remove operationsHTTPAPI_LATENCY // Operation latency// Operation resultsHTTPAPI_SUCCEEDED // Successful operationsHTTPAPI_FAILED // Failed operationsHTTPAPI_FAILED_TIMEOUT // Timeout failuresHTTPAPI_NOT_FOUND // Document not found// Queue metricsHTTPAPI_PENDING // Operations pendingHTTPAPI_QUEUED_OPERATIONS // Queued operationsHTTPAPI_QUEUED_AGE // Age of oldest queued operation