Merge e08a76f3a8
into 0ef69ddbdc
This commit is contained in:
commit
58d39d7d5d
1
changelog.d/11124.removal
Normal file
1
changelog.d/11124.removal
Normal file
|
@ -0,0 +1 @@
|
|||
Remove the `synapse_storage_transaction_time_bucket` metric due to the high cardinality of the metric putting undue strain on Prometheus deployments. This metric is not used in Synapse's included Grafana dashboards.
|
|
@ -69,7 +69,6 @@ perf_logger = logging.getLogger("synapse.storage.TIME")
|
|||
sql_scheduling_timer = Histogram("synapse_storage_schedule_time", "sec")
|
||||
|
||||
sql_query_timer = Histogram("synapse_storage_query_time", "sec", ["verb"])
|
||||
sql_txn_timer = Histogram("synapse_storage_transaction_time", "sec", ["desc"])
|
||||
|
||||
|
||||
# Unique indexes which have been added in background updates. Maps from table name
|
||||
|
@ -652,7 +651,6 @@ class DatabasePool:
|
|||
|
||||
self._current_txn_total_time += duration
|
||||
self._txn_perf_counters.update(desc, duration)
|
||||
sql_txn_timer.labels(desc).observe(duration)
|
||||
|
||||
async def runInteraction(
|
||||
self,
|
||||
|
|
Loading…
Reference in a new issue