summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-07-22 00:40:55 +0100
committerGitHub <noreply@github.com>2020-07-22 00:40:55 +0100
commit931b02684481fb6b5daefd9218baf6a4b0b941f6 (patch)
treedf54691b670ec3358e391b3ae556f019fb7b842b
parentTrack command processing as a background process (#7879) (diff)
downloadsynapse-931b02684481fb6b5daefd9218baf6a4b0b941f6.tar.xz
Remove an unused prometheus metric (#7878)
-rw-r--r--changelog.d/7878.removal1
-rw-r--r--synapse/replication/tcp/handler.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/changelog.d/7878.removal b/changelog.d/7878.removal
new file mode 100644
index 0000000000..d5a4066624
--- /dev/null
+++ b/changelog.d/7878.removal
@@ -0,0 +1 @@
+Remove unused `synapse_replication_tcp_resource_invalidate_cache` prometheus metric.
diff --git a/synapse/replication/tcp/handler.py b/synapse/replication/tcp/handler.py
index f88e0a2e40..1de590bba2 100644
--- a/synapse/replication/tcp/handler.py
+++ b/synapse/replication/tcp/handler.py
@@ -67,9 +67,7 @@ inbound_rdata_count = Counter(
 user_sync_counter = Counter("synapse_replication_tcp_resource_user_sync", "")
 federation_ack_counter = Counter("synapse_replication_tcp_resource_federation_ack", "")
 remove_pusher_counter = Counter("synapse_replication_tcp_resource_remove_pusher", "")
-invalidate_cache_counter = Counter(
-    "synapse_replication_tcp_resource_invalidate_cache", ""
-)
+
 user_ip_cache_counter = Counter("synapse_replication_tcp_resource_user_ip_cache", "")