From 2e6fa4e4cc03f3aaf2af0db5fec032c354700ae2 Mon Sep 17 00:00:00 2001 From: ravikiran-sulikeri Date: Wed, 2 Oct 2024 19:21:34 +0100 Subject: [PATCH 1/5] Metric def for last commited tx id --- .../ROOT/pages/platform/metrics-integration.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/ROOT/pages/platform/metrics-integration.adoc b/modules/ROOT/pages/platform/metrics-integration.adoc index e6ef37ec2..a0d99c11c 100644 --- a/modules/ROOT/pages/platform/metrics-integration.adoc +++ b/modules/ROOT/pages/platform/metrics-integration.adoc @@ -728,3 +728,16 @@ This also corresponds to the median of the query execution time. | Default aggregation m| MAX |=== + +.Last Committed Transaction ID +[frame="topbot", stripes=odd, grid="cols", cols="<1,<4"] +|=== +| Metric name +m| neo4j_database_transaction_last_committed_tx_id_total +| Description +| The ID of the last committed transaction. Track this for primary & secondary members of your Aura instance. It might break into separate charts. It should show one line, ever-increasing, and if one of the lines levels off or falls behind, it is clear that this instance is no longer replicating data, and action is needed to rectify the situation. +| Metric type +| _Counter_ +| Default aggregation +m| MAX +|=== From e5e7ff5976ee8007439674659f3893814b9c3810 Mon Sep 17 00:00:00 2001 From: Ravikiran Sulikeri <98896557+ravikiran-sulikeri@users.noreply.github.com> Date: Thu, 3 Oct 2024 09:53:43 +0100 Subject: [PATCH 2/5] Update modules/ROOT/pages/platform/metrics-integration.adoc Co-authored-by: Jessica Wright <49636617+AlexicaWright@users.noreply.github.com> --- modules/ROOT/pages/platform/metrics-integration.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/platform/metrics-integration.adoc b/modules/ROOT/pages/platform/metrics-integration.adoc index a0d99c11c..d2af3c5cf 100644 --- a/modules/ROOT/pages/platform/metrics-integration.adoc +++ b/modules/ROOT/pages/platform/metrics-integration.adoc @@ -735,7 +735,10 @@ m| MAX | Metric name m| neo4j_database_transaction_last_committed_tx_id_total | Description -| The ID of the last committed transaction. Track this for primary & secondary members of your Aura instance. It might break into separate charts. It should show one line, ever-increasing, and if one of the lines levels off or falls behind, it is clear that this instance is no longer replicating data, and action is needed to rectify the situation. +| The id of the last committed transaction. +Track this for primary and secondary instances of your Aura instance. +It might break into separate charts. +It shows one ever-increasing line and if one of the lines levels off or falls behind, it is clear that this instance is no longer replicating data, and action is needed to rectify the situation. | Metric type | _Counter_ | Default aggregation From 77167fb85c4f36358c3683e52232d4e916c36578 Mon Sep 17 00:00:00 2001 From: ravikiran-sulikeri Date: Thu, 3 Oct 2024 10:07:53 +0100 Subject: [PATCH 3/5] editorial --- modules/ROOT/pages/platform/metrics-integration.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/platform/metrics-integration.adoc b/modules/ROOT/pages/platform/metrics-integration.adoc index d2af3c5cf..9dceae730 100644 --- a/modules/ROOT/pages/platform/metrics-integration.adoc +++ b/modules/ROOT/pages/platform/metrics-integration.adoc @@ -736,9 +736,9 @@ m| MAX m| neo4j_database_transaction_last_committed_tx_id_total | Description | The id of the last committed transaction. -Track this for primary and secondary instances of your Aura instance. +Track this for primary and secondary cluster members of your Aura instance. It might break into separate charts. -It shows one ever-increasing line and if one of the lines levels off or falls behind, it is clear that this instance is no longer replicating data, and action is needed to rectify the situation. +It shows one ever-increasing line and if one of the lines levels off or falls behind, it is clear that this cluster member is no longer replicating data, and action is needed to rectify the situation. | Metric type | _Counter_ | Default aggregation From b413d20a32c6eec1bcaf85736493dc10c28c5b22 Mon Sep 17 00:00:00 2001 From: Ravikiran Sulikeri <98896557+ravikiran-sulikeri@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:34:40 +0100 Subject: [PATCH 4/5] remove references to secondaries --- modules/ROOT/pages/platform/metrics-integration.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/platform/metrics-integration.adoc b/modules/ROOT/pages/platform/metrics-integration.adoc index 9dceae730..333895176 100644 --- a/modules/ROOT/pages/platform/metrics-integration.adoc +++ b/modules/ROOT/pages/platform/metrics-integration.adoc @@ -736,7 +736,7 @@ m| MAX m| neo4j_database_transaction_last_committed_tx_id_total | Description | The id of the last committed transaction. -Track this for primary and secondary cluster members of your Aura instance. +Track this for primary cluster members of your Aura instance. It might break into separate charts. It shows one ever-increasing line and if one of the lines levels off or falls behind, it is clear that this cluster member is no longer replicating data, and action is needed to rectify the situation. | Metric type From 69eb10e96d3e083f24c938efd1cfb220968ec2fc Mon Sep 17 00:00:00 2001 From: Ravikiran Sulikeri <98896557+ravikiran-sulikeri@users.noreply.github.com> Date: Tue, 8 Oct 2024 11:33:36 +0100 Subject: [PATCH 5/5] correct the metric description to match the spec --- modules/ROOT/pages/platform/metrics-integration.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ROOT/pages/platform/metrics-integration.adoc b/modules/ROOT/pages/platform/metrics-integration.adoc index 333895176..4adb408ae 100644 --- a/modules/ROOT/pages/platform/metrics-integration.adoc +++ b/modules/ROOT/pages/platform/metrics-integration.adoc @@ -737,8 +737,7 @@ m| neo4j_database_transaction_last_committed_tx_id_total | Description | The id of the last committed transaction. Track this for primary cluster members of your Aura instance. -It might break into separate charts. -It shows one ever-increasing line and if one of the lines levels off or falls behind, it is clear that this cluster member is no longer replicating data, and action is needed to rectify the situation. +It should show overlapping, ever-increasing lines and if one of the lines levels off or falls behind, it is clear that this cluster member is no longer replicating data, and action is needed to rectify the situation. | Metric type | _Counter_ | Default aggregation