summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-08-03 17:39:03 -0700
committerAndrew Morgan <andrew@amorgan.xyz>2020-08-03 17:39:03 -0700
commite10d550d56f508a59df8349d68c686264ea9b7f3 (patch)
tree60aa64e24f721fc2950ede5b1ff604a0e59afaec
parentMerge commit '05060e022' into anoa/dinsic_release_1_18_x (diff)
parentRemove an unused prometheus metric (#7878) (diff)
downloadsynapse-e10d550d56f508a59df8349d68c686264ea9b7f3.tar.xz
Merge commit '931b02684' into anoa/dinsic_release_1_18_x
* commit '931b02684':
  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", "")