From 4355ab811b16e36b4caf040956c78e29c6ef89dd Mon Sep 17 00:00:00 2001 From: Ilia Borovitinov Date: Tue, 3 Dec 2024 15:23:58 +0300 Subject: [PATCH] use new metric name --- packages/sync-service/lib/electric/telemetry.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sync-service/lib/electric/telemetry.ex b/packages/sync-service/lib/electric/telemetry.ex index b9d46e38f1..4aaba54973 100644 --- a/packages/sync-service/lib/electric/telemetry.ex +++ b/packages/sync-service/lib/electric/telemetry.ex @@ -100,7 +100,7 @@ defmodule Electric.Telemetry do keep: &(Map.get(&1, :live, false) || false) ), served_bytes: sum("electric.plug.serve_shape.bytes", unit: :byte), - replication_lag: summary("electric.postgres.replication.lag", unit: :byte) + wal_size: summary("electric.postgres.replication.wal_size", unit: :byte) ] ] end