Remove an unused prometheus metric (#7878)

code_spécifique_watcha
Richard van der Hoff 4 years ago committed by GitHub
parent 05060e0223
commit 931b026844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/7878.removal
  2. 4
      synapse/replication/tcp/handler.py

@ -0,0 +1 @@
Remove unused `synapse_replication_tcp_resource_invalidate_cache` prometheus metric.

@ -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", "")

Loading…
Cancel
Save