Merge Metrics

Information about merge metrics in Hydrolix

Merge metrics overview

Prometheus in Hydrolix

The Hydrolix stack includes Prometheus, an open-source metrics database. Hydrolix continuously updates its Prometheus instance with metrics information.

You can query, view, and actively monitor this information using a stack's Grafana instance, or you can access it with your own monitoring platform. See Prometheus Integration for more information about setting up Prometheus with an external server.

Use the Prometheus UI

Prometheus has its own web-based UI.

This view is a basic metric view, suitable for quickly entering queries and seeing simple, graphed results. This feature is available in Hydrolix without any additional setup.

Navigate to https://<YourHostname>/prometheus to view dashboards.

For more information about Prometheus metric types, refer to the Prometheus documentation.

Merge metrics

Metric NameTypeComponentsPurpose
merge_successCounterCount of merge successes.
merge_failureCounterCount of merge successes.
query_countCounterMerge calls to the catalog.
query_failureCounterMerge failed catalog calls.
query_latency_summaryCounterLatency in calls to catalog.
query_latency_summary_count/sumCounterLatency in calls to catalog.
merge_duration_histo_bucket/count/sumHistogramMerge processing duration, in milliseconds.
merge_duration_summarySummaryMerge processing duration, in milliseconds.

Merge controller (v5.3.0+)

Metric NameTypeComponentsDescriptionLabels
partition_distributionHistogramMerge ControllerHistogram of partition memory sizeproject_id project_name table_id table_name target
segmentsGaugeMerge ControllerCurrent count of known segments. A segment is a group of buckets that share a merge target.project_id project_name table_id table_name target
active_mergesGaugeMerge ControllerCurrent count of active merge operationsproject_id project_name table_id table_name target
partitionsGaugeMerge ControllerCurrent count of partitions awaiting segmentationproject_id project_name table_id table_name target
partitions_dispatchedCounterMerge ControllerCount of partitions dispatched for merging. Can be used in combination with the rate function to determine “partitions dispatched for merge per second”project_id project_name table_id table_name target
candidatesGaugeMerge ControllerCurrent count of constructed candidates waiting dispatch.project_id project_name table_id table_name target
candidates_dispatchedCounterMerge ControllerCount of candidates dispatched for merging. Can be used in combination with the rate function to determine “candidates dispatched for merge per second”project_id project_name table_id table_name target
partitions_per_candidateHistogramMerge ControllerDistribution of partitions within a dispatched candidate.project_id project_name table_id table_name target
candidate_mem_sizeHistogramMerge ControllerDistribution of calculated memory requirements for dispatched candidatesproject_id project_name table_id table_name target
duplicate_partitionsCounterMerge ControllerCount of partitions sourced that are already being tracked.project_id project_name table_id table_name target
memory_coefficientGaugeMerge ControllerCurrent value of the memory coefficient being applied to sourced partitions.project_id project_name table_id table_name target
expired_segmentsCounterMerge ControllerCount of segments expired for moving out of the target rangeproject_id project_name table_id table_name target
bucket_durationHistogramMerge ControllerDistribution of time in milliseconds of a bucket’s age upon closing. The basis label captures the reason for closing. Options are:

full: The bucket reached max size

idle_ttl: The bucket wasn't added to within the idle timeout

age_ttl: The bucket was open longer than the max age

segment_ttl: The bucket was part of a segment that fell out of the target range
project_id project_name table_id table_name target basis
connected_clientsGaugeMerge ControllerCount of currently connected merge-peerspool_id
query_latencyHistogramMerge ControllerDistribution of response times in milliseconds for catalog operationsproject_id table_id method

Catalog

You can find more information about merge operations in your tables in the Catalog Metadata.

For a complete list of the metrics used by Hydrolix, including Prometheus, RabbitMQ, and others, see All Metrics.