Skip to main content
Version: 5.9
Enterprise Edition
This feature requires Hazelcast Enterprise, a licensed edition of the Hazelcast Platform.

Prometheus metrics

Management Center automatically reformats all Hazelcast cluster metrics for compatibility with Prometheus.

In addition, Management Center updates a subset of metrics to align with Prometheus best practice recommendations. This makes it easier to construct complex queries, build dashboards, and work alongside metrics from other applications.

Metrics versions​

By default, Management Center exposes two versions of the Hazelcast Metrics:

Version 1 (V1) metrics apply a basic transformation for compatibility with Prometheus:

  • Replace ., :, and - with _
  • Add hz_ prefix

Every Platform metric is included in the V1 output.

Version 2 (V2) metrics apply an advanced transformation for conformity with Prometheus naming conventions:

  • Use snake_case
  • Add hazelcast_ prefix
  • Take each metric name from a fixed list in Management Center
  • Combine related metrics and add labels
  • Convert to recommended base units:
    • Time in seconds
    • Memory in bytes
    • Percentages as ratios (for example, 50% converts to 0.5)
  • Append units to metric names
  • Remove unit labels
  • Append _total to accumulated metrics

V2 output contains only the metrics in that list. A metric that is not in the list appears only in V1 output.

The tables on this page list only the metrics that have a version 2 (V2) name.

In some cases, several V1 metrics are combined into a single V2 metric differentiated by labels. For example, hazelcast_map_operations_total replaces hz_map_getCount and hz_map_setCount by adding operation="get" and operation="set" labels.

Examples​

This table compares four map metrics in V1 and V2:

V1 metricV2 metricV2 labelsV2 value
hz_map_queryCounthazelcast_map_queries_totalNo unit labelSame as V1
hz_map_creationTimehazelcast_map_creation_timestamp_secondsNo unit labelSeconds instead of milliseconds
hz_map_totalMaxRemoveLatencyhazelcast_map_latency_max_secondsoperation="remove" instead of unitSeconds instead of milliseconds
hz_map_totalPutLatencyhazelcast_map_latency_seconds_totaloperation="put" instead of unitSeconds instead of milliseconds

This is how they would look as /metrics output:

# queryCount in V1 and V2
hz_map_queryCount{name="map-1",mc_member="127.0.0.1:5701",mc_cluster="Cluster-1",unit="COUNT",} 0.0 1737715903399
hazelcast_map_queries_total{name="map-1",mc_member="127.0.0.1:5701",mc_cluster="Cluster-1",} 0.0 1737715903399

# creationTime in V1 and V2
hz_map_creationTime{name="map-1",mc_member="127.0.0.1:5701",mc_cluster="Cluster-1",unit="MS",} 1.737715861118E12 1737715903399
hazelcast_map_creation_timestamp_seconds{name="map-1",mc_member="127.0.0.1:5701",mc_cluster="Cluster-1",} 1.737715861118E9 1737715903399

# totalMaxRemoveLatency in V1 and V2
hz_map_totalMaxRemoveLatency{name="map-1",mc_member="127.0.0.1:5701",mc_cluster="Cluster-1",unit="MS",} 0.0 1737715903399
hazelcast_map_latency_max_seconds{name="map-1",mc_member="127.0.0.1:5701",mc_cluster="Cluster-1",operation="remove",} 0.0 1737715903399

# totalPutLatency in V1 and V2
hz_map_totalPutLatency{name="map-1",mc_member="127.0.0.1:5701",mc_cluster="Cluster-1",unit="MS",} 2019.0 1743601193973
hazelcast_map_latency_seconds_total{name="map-1",mc_member="127.0.0.1:5701",mc_cluster="Cluster-1",operation="put",} 2.019 1743601193973

Change the metrics version​

To change which set of metrics is exposed to Prometheus, update the hazelcast.mc.prometheusExporter.printers system property:

  • V1 and V2 (default): hazelcast.mc.prometheusExporter.printers=V1,V2
  • V1 only: hazelcast.mc.prometheusExporter.printers=V1
  • V2 only: hazelcast.mc.prometheusExporter.printers=V2

See System properties and environment variables.

important

If you set the property to V2, Management Center will only expose the subset of metrics that have updated versions available.

Map​

V1 metric hz_V2 metric hazelcast_Additional labels
map_backupCountmap_backups_totaln/a
map_backupEntryCountmap_backup_entries_totaln/a
map_backupEntryMemoryCostmap_backup_entries_memory_cost_bytesn/a
map_creationTimemap_creation_timestamp_secondsn/a
map_dirtyEntryCountmap_dirty_entries_totaln/a
map_evictionCountmap_evictions_totaln/a
map_expirationCountmap_expirations_totaln/a
map_getCountmap_operations_totaloperation=get
map_heapCostmap_heap_cost_bytesn/a
map_indexedQueryCountmap_indexed_queries_totaln/a
map_lastAccessTimemap_last_access_timestamp_secondsn/a
map_lastUpdateTimemap_last_update_timestamp_secondsn/a
map_lockedEntryCountmap_locked_entries_totaln/a
map_merkleTreesCostmap_merkle_trees_cost_bytesn/a
map_numberOfEventsmap_events_totaln/a
map_numberOfOtherOperationsmap_operations_totaloperation=other
map_ownedEntryCountmap_owned_entries_totaln/a
map_ownedEntryMemoryCostmap_owned_entry_memory_cost_bytesn/a
map_putCountmap_operations_totaloperation=put
map_queryCountmap_queries_totaln/a
map_removeCountmap_operations_totaloperation=remove
map_setCountmap_operations_totaloperation=set
map_hitsmap_hits_totaln/a
map_totalGetLatencymap_latency_seconds_totaloperation=get
map_totalMaxGetLatencymap_latency_max_secondsoperation=get
map_totalPutLatencymap_latency_seconds_totaloperation=put
map_totalMaxPutLatencymap_latency_max_secondsoperation=put
map_totalRemoveLatencymap_latency_seconds_totaloperation=remove
map_totalMaxRemoveLatencymap_latency_max_secondsoperation=remove
map_totalSetLatencymap_latency_seconds_totaloperation=set
map_totalMaxSetLatencymap_latency_max_secondsoperation=set
map_index_creationTimemap_index_creation_timestamp_secondsn/a
map_index_hitCountmap_index_hits_totaln/a
map_index_insertCountmap_index_inserts_totaln/a
map_index_memoryCostmap_index_memory_cost_bytesn/a
map_index_queryCountmap_index_queries_totaln/a
map_index_removeCountmap_index_removes_totaln/a
map_index_totalInsertLatencymap_index_latency_seconds_totaloperation=insert
map_index_totalRemoveLatencymap_index_latency_seconds_totaloperation=remove
map_index_totalUpdateLatencymap_index_latency_seconds_totaloperation=update
map_index_updateCountmap_index_updates_totaln/a

Set​

V1 metric hz_V2 metric hazelcast_Additional labels
set_creationTimeset_creation_timestamp_secondsn/a
set_lastAccessTimeset_last_access_timestamp_secondsn/a
set_lastUpdateTimeset_last_update_timestamp_secondsn/a

List​

V1 metric hz_V2 metric hazelcast_Additional labels
list_creationTimelist_creation_timestamp_secondsn/a
list_lastAccessTimelist_last_access_timestamp_secondsn/a
list_lastUpdateTimelist_last_update_timestamp_secondsn/a

Operating system​

V1 metric hz_V2 metric hazelcast_Additional labels
os_committedVirtualMemorySizeos_committed_virtual_memory_size_bytesn/a
os_freePhysicalMemorySizeos_free_physical_memory_size_bytesn/a
os_freeSwapSpaceSizeos_free_swap_space_size_bytesn/a
os_maxFileDescriptorCountos_max_file_descriptor_totaln/a
os_openFileDescriptorCountos_open_file_descriptor_totaln/a
os_processCpuLoados_process_cpu_load_ration/a
os_processCpuTimeos_process_cpu_time_secondsn/a
os_systemCpuLoados_system_cpu_load_ration/a
os_systemLoadAverageos_system_load_average_ration/a
os_totalPhysicalMemorySizeos_total_physical_memory_size_bytesn/a
os_totalSwapSpaceSizeos_total_swap_space_size_bytesn/a

Events​

V1 metric hz_V2 metric hazelcast_Additional labels
event_eventQueueSizeevent_queue_size_totaln/a
event_eventsProcessedevent_processed_totaln/a
event_listenerCountevent_listeners_totaln/a
event_publicationCountevent_publications_totaln/a
event_queueCapacityevent_queue_capacity_totaln/a
event_rejectedCountevent_rejected_totaln/a
event_syncDeliveryFailureCountevent_sync_delivery_failures_totaln/a
event_threadCountevent_threads_totaln/a
event_totalFailureCountevent_failures_totaln/a

Listeners​

V1 metric hz_V2 metric hazelcast_Additional labels
listeners_eventsProcessedlisteners_events_processed_totaln/a
listeners_eventQueueSizelisteners_event_queue_size_totaln/a

Capacity​

V1 metric hz_V2 metric hazelcast_Additional labels
file_partition_freeSpacefile_partition_free_space_bytesn/a
file_partition_totalSpacefile_partition_total_space_bytesn/a
file_partition_usableSpacefile_partition_usable_space_bytesn/a

Garbage collection​

V1 metric hz_V2 metric hazelcast_Additional labels
gc_majorCountgc_major_totaln/a
gc_majorTimegc_major_time_seconds_totaln/a
gc_minorCountgc_minor_totaln/a
gc_minorTimegc_minor_time_seconds_totaln/a
gc_unknownCountgc_unknown_totaln/a
gc_unknownTimegc_unknown_time_seconds_totaln/a

Memory​

V1 metric hz_V2 metric hazelcast_Additional labels
memory_committedHeapmemory_committed_heap_bytesn/a
memory_committedNativememory_committed_native_bytesn/a
memory_freeHeapmemory_free_heap_bytesn/a
memory_freeNativememory_free_native_bytesn/a
memory_freePhysicalmemory_free_physical_bytesn/a
memory_maxHeapmemory_max_heap_bytesn/a
memory_maxMetadatamemory_max_metadata_bytesn/a
memory_maxNativememory_max_native_bytesn/a
memory_totalPhysicalmemory_total_physical_bytesn/a
memory_usedHeapmemory_used_heap_bytesn/a
memory_usedMetadatamemory_used_metadata_bytesn/a
memory_usedNativememory_used_native_bytesn/a

Operations​

V1 metric hz_V2 metric hazelcast_Additional labels
operation_adhoc_executedOperationsCountoperation_adhoc_executed_operations_totaln/a
operation_asyncOperationsoperation_async_operations_totaln/a
operation_completedCountoperation_completed_totaln/a
operation_failedBackupsoperation_failed_backups_totaln/a
operation_generic_executedOperationsCountoperation_generic_executed_operations_totaln/a
operation_genericPriorityQueueSizeoperation_generic_priority_queue_size_totaln/a
operation_genericQueueSizeoperation_generic_queue_size_totaln/a
operation_genericThreadCountoperation_generic_threads_totaln/a
operation_invocations_backupTimeoutMillisoperation_invocations_backup_timeout_secondsn/a
operation_invocations_backupTimeoutsoperation_invocations_backup_timeouts_totaln/a
operation_invocations_delayedExecutionCountoperation_invocations_delayed_executions_totaln/a
operation_invocations_heartbeatBroadcastPeriodMillisoperation_invocations_heartbeat_broadcast_period_secondsn/a
operation_invocations_heartbeatPacketsReceivedoperation_invocations_heartbeat_packets_received_totaln/a
operation_invocations_heartbeatPacketsSentoperation_invocations_heartbeat_packets_sent_totaln/a
operation_invocations_invocationScanPeriodMillisoperation_invocations_invocation_scan_period_secondsn/a
operation_invocations_invocationTimeoutMillisoperation_invocations_invocation_timeout_secondsn/a
operation_invocations_lastCallIdoperation_invocations_last_call_id_totaln/a
operation_invocations_normalTimeoutsoperation_invocations_normal_timeouts_totaln/a
operation_invocations_pendingoperation_invocations_pending_totaln/a
operation_invocations_usedPercentageoperation_invocations_used_ration/a
operation_parker_parkQueueCountoperation_parker_park_queue_totaln/a
operation_parker_totalParkedOperationCountoperation_parker_parked_operations_totaln/a
operation_partition_executedOperationsCountoperation_partition_executed_operations_totaln/a
operation_partitionThreadCountoperation_partition_threads_totaln/a
operation_priorityQueueSizeoperation_priority_queue_size_totaln/a
operation_queueSizeoperation_queue_size_totaln/a
operation_responseQueueSizeoperation_response_queue_size_totaln/a
operation_responses_backupCountoperation_responses_backups_totaln/a
operation_responses_errorCountoperation_responses_errors_totaln/a
operation_responses_missingCountoperation_responses_missing_totaln/a
operation_responses_normalCountoperation_responses_normal_totaln/a
operation_responses_timeoutCountoperation_responses_timeouts_totaln/a
operation_retryCountoperation_retries_totaln/a
operation_runningCountoperation_running_totaln/a
operation_runningGenericCountoperation_running_generic_totaln/a
operation_runningPartitionCountoperation_running_partition_totaln/a
operation_thread_completedOperationCountoperation_thread_completed_operations_totaln/a
operation_thread_completedOperationBatchCountoperation_thread_completed_operation_batches_totaln/a
operation_thread_completedPacketCountoperation_thread_completed_packets_totaln/a
operation_thread_completedPartitionSpecificRunnableCountoperation_thread_completed_partition_specific_runnables_totaln/a
operation_thread_completedRunnableCountoperation_thread_completed_runnables_totaln/a
operation_thread_completedTotalCountoperation_thread_completed_totaln/a
operation_thread_errorCountoperation_thread_errors_totaln/a
operation_thread_normalPendingCountoperation_thread_normal_pending_totaln/a
operation_thread_priorityPendingCountoperation_thread_priority_pending_totaln/a

Runtime​

V1 metric hz_V2 metric hazelcast_Additional labels
runtime_availableProcessorsruntime_available_processors_totaln/a
runtime_freeMemoryruntime_free_memory_bytesn/a
runtime_maxMemoryruntime_max_memory_bytesn/a
runtime_totalMemoryruntime_total_memory_bytesn/a
runtime_uptimeruntime_up_time_seconds_totaln/a
runtime_usedMemoryruntime_used_memory_bytesn/a

TCP​

V1 metric hz_V2 metric hazelcast_Additional labels
tcp_acceptor_eventCounttcp_acceptor_events_totaln/a
tcp_acceptor_exceptionCounttcp_acceptor_exceptions_totaln/a
tcp_acceptor_idleTimeMillistcp_acceptor_idle_time_secondsn/a
tcp_acceptor_selectorRecreateCounttcp_acceptor_selector_recreate_totaln/a
tcp_balancer_imbalanceDetectedCounttcp_balancer_imbalance_detected_totaln/a
tcp_balancer_migrationCompletedCounttcp_balancer_migration_completed_totaln/a
tcp_bytesReceivedtcp_received_bytesn/a
tcp_bytesSendtcp_sent_bytesn/a
tcp_connection_acceptedSocketCounttcp_connection_accepted_socket_totaln/a
tcp_connection_activeCounttcp_connection_active_totaln/a
tcp_connection_clientCounttcp_connection_clients_totaln/a
tcp_connection_closedCounttcp_connection_closed_totaln/a
tcp_connection_connectionListenerCounttcp_connection_listeners_totaln/a
tcp_connection_counttcp_connection_totaln/a
tcp_connection_inProgressCounttcp_connection_in_progress_totaln/a
tcp_connection_openedCounttcp_connection_opened_totaln/a
tcp_connection_textCounttcp_connection_text_totaln/a
tcp_connection_in_completedMigrationstcp_connection_completed_migrations_totaldirection=in
tcp_connection_out_completedMigrationstcp_connection_completed_migrations_totaldirection=out
tcp_connection_in_opsInterestedtcp_connection_ops_interested_totaldirection=in
tcp_connection_out_opsInterestedtcp_connection_ops_interested_totaldirection=out
tcp_connection_in_opsReadytcp_connection_ops_ready_totaldirection=in
tcp_connection_out_opsReadytcp_connection_ops_ready_totaldirection=out
tcp_connection_in_ownerIdtcp_connection_owner_id_totaldirection=in
tcp_connection_out_ownerIdtcp_connection_owner_id_totaldirection=out
tcp_connection_in_processCounttcp_connection_process_totaldirection=in
tcp_connection_out_processCounttcp_connection_process_totaldirection=out
tcp_connection_in_startedMigrationstcp_connection_started_migrations_totaldirection=in
tcp_connection_out_startedMigrationstcp_connection_started_migrations_totaldirection=out
tcp_connection_in_bytesReadtcp_connection_in_read_bytesn/a
tcp_connection_in_idleTimeMstcp_connection_in_idle_time_secondsn/a
tcp_connection_in_normalFramesReadtcp_connection_in_normal_frames_read_totaln/a
tcp_connection_in_priorityFramesReadtcp_connection_in_priority_frames_read_totaln/a
tcp_connection_out_bytesWrittentcp_connection_out_written_bytesn/a
tcp_connection_out_idleTimeMillistcp_connection_out_idle_time_secondsn/a
tcp_connection_out_normalFramesWrittentcp_connection_out_normal_frames_written_totaln/a
tcp_connection_out_priorityFramesWrittentcp_connection_out_priority_frames_written_totaln/a
tcp_connection_out_priorityWriteQueuePendingBytestcp_connection_out_priority_write_queue_pending_bytesn/a
tcp_connection_out_priorityWriteQueueSizetcp_connection_out_priority_write_queue_size_totaln/a
tcp_connection_out_scheduledtcp_connection_out_scheduled_totaln/a
tcp_connection_out_writeQueuePendingBytestcp_connection_out_write_queue_pending_bytesn/a
tcp_connection_out_writeQueueSizetcp_connection_out_write_queue_size_totaln/a
tcp_inputThread_bytesTransceivedtcp_transceived_bytesthread=input
tcp_outputThread_bytesTransceivedtcp_transceived_bytesthread=output
tcp_inputThread_completedTaskCounttcp_completed_tasks_totalthread=input
tcp_outputThread_completedTaskCounttcp_completed_tasks_totalthread=output
tcp_inputThread_eventCounttcp_events_totalthread=input
tcp_outputThread_eventCounttcp_events_totalthread=output
tcp_inputThread_framesTransceivedtcp_transceived_frames_totalthread=input
tcp_outputThread_framesTransceivedtcp_transceived_frames_totalthread=output
tcp_inputThread_idleTimeMillistcp_idle_secondsthread=input
tcp_outputThread_idleTimeMillistcp_idle_secondsthread=output
tcp_inputThread_ioThreadIdtcp_io_thread_id_totalthread=input
tcp_outputThread_ioThreadIdtcp_io_thread_id_totalthread=output
tcp_inputThread_priorityFramesTransceivedtcp_priority_frames_transceived_totalthread=input
tcp_outputThread_priorityFramesTransceivedtcp_priority_frames_transceived_totalthread=output
tcp_inputThread_processCounttcp_process_totalthread=input
tcp_outputThread_processCounttcp_process_totalthread=output
tcp_inputThread_selectorIOExceptionCounttcp_selector_io_exceptions_totalthread=input
tcp_outputThread_selectorIOExceptionCounttcp_selector_io_exceptions_totalthread=output
tcp_inputThread_taskQueueSizetcp_task_queue_size_totalthread=input
tcp_outputThread_taskQueueSizetcp_task_queue_size_totalthread=output

Threads​

V1 metric hz_V2 metric hazelcast_Additional labels
thread_daemonThreadCountthread_daemon_totaln/a
thread_peakThreadCountthread_peak_totaln/a
thread_threadCountthread_totaln/a
thread_totalStartedThreadCountthread_started_totaln/a

Management Center​

V1 metric hz_V2 metric hazelcast_Additional labels