From ef6757310ce76080606c554cbb2fab8a58bcb2e3 Mon Sep 17 00:00:00 2001 From: Natalia Ivakina Date: Thu, 3 Apr 2025 10:56:34 +0200 Subject: [PATCH 1/2] Add the metric `.transaction.lowest_available_committed_tx_id` --- modules/ROOT/pages/monitoring/metrics/reference.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ROOT/pages/monitoring/metrics/reference.adoc b/modules/ROOT/pages/monitoring/metrics/reference.adoc index 2c2d31f17..0420bac7b 100644 --- a/modules/ROOT/pages/monitoring/metrics/reference.adoc +++ b/modules/ROOT/pages/monitoring/metrics/reference.adoc @@ -365,6 +365,7 @@ label:deprecated[Deprecated in 5.15] |.transaction.tx_size_native|The transactions' size in native memory in bytes. (histogram) // |.transaction.validation_failure|The total number of multi-version transaction validation failures. (counter) // |.transaction.mvcc_retries|The total number of multi-version server internal retries. (counter) +|.transaction.lowest_available_committed_tx_id| label:new[Introduced in 2025.04] The ID of the lowest available committed transaction present in the transaction logs. Track this for each instance. (Cluster) Track this for each primary, and each secondary. Might break into separate charts. It should show one line, ever increasing. The difference between this ID and that of `last_committed_tx_id` metric indicates the size of the window of available transactions to serve to other cluster members or backup (counter) |=== [[db-index-metrics]] From 24788eed7dca5134ae8f926cfff637dadf266fad Mon Sep 17 00:00:00 2001 From: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com> Date: Thu, 10 Apr 2025 14:03:07 +0200 Subject: [PATCH 2/2] Update modules/ROOT/pages/monitoring/metrics/reference.adoc --- modules/ROOT/pages/monitoring/metrics/reference.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/monitoring/metrics/reference.adoc b/modules/ROOT/pages/monitoring/metrics/reference.adoc index 0420bac7b..b78d6a0b5 100644 --- a/modules/ROOT/pages/monitoring/metrics/reference.adoc +++ b/modules/ROOT/pages/monitoring/metrics/reference.adoc @@ -365,7 +365,7 @@ label:deprecated[Deprecated in 5.15] |.transaction.tx_size_native|The transactions' size in native memory in bytes. (histogram) // |.transaction.validation_failure|The total number of multi-version transaction validation failures. (counter) // |.transaction.mvcc_retries|The total number of multi-version server internal retries. (counter) -|.transaction.lowest_available_committed_tx_id| label:new[Introduced in 2025.04] The ID of the lowest available committed transaction present in the transaction logs. Track this for each instance. (Cluster) Track this for each primary, and each secondary. Might break into separate charts. It should show one line, ever increasing. The difference between this ID and that of `last_committed_tx_id` metric indicates the size of the window of available transactions to serve to other cluster members or backup (counter) +|.transaction.lowest_available_committed_tx_id| label:new[Introduced in 2025.04] The ID of the lowest available committed transaction in the transaction logs. Track this for each instance. (Cluster) Track this for each primary and secondary. The data may be organized into separate charts, displaying a single line that increases over time. The difference between this ID and that of the `last_committed_tx_id` metric indicates the size of the window of available transactions to serve to other cluster members or backups. (counter) |=== [[db-index-metrics]]