- Jan 18, 2018
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- Jan 17, 2018
-
-
Erik Johnston authored
Twisted core doesn't have a general purpose one, so we need to write one ourselves. Features: - All writing happens in background thread - Supports both push and pull producers - Push producers get paused if the consumer falls behind
-
Erik Johnston authored
Fix thumbnailing remote files
-
Erik Johnston authored
-
- Jan 16, 2018
-
-
Matthew Hodgson authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
Reorganise request and block metrics
-
Richard van der Hoff authored
Fix a logcontext leak in persist_events
-
Erik Johnston authored
-
Richard van der Hoff authored
Metrics for events processed in appservice and fed sender
-
Richard van der Hoff authored
Metrics for number of RDATA commands received
-
Richard van der Hoff authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
ObserveableDeferred expects its callbacks to be called without any logcontexts, whereas it turns out we were calling them with the logcontext of the request which initiated the persistence loop. It seems wrong that we are attributing work done in the persistence loop to the request that happened to initiate it, so let's solve this by dropping the logcontext for it. (I'm not sure this actually causes any real problems other than messages in the debug log, but let's clean it up anyway)
-
Erik Johnston authored
-
Erik Johnston authored
Refactor MediaRepository to separate out storage
-
- Jan 15, 2018
-
-
Richard van der Hoff authored
More metrics I wished I'd had
-
Richard van der Hoff authored
I found myself wishing we had this.
-
Richard van der Hoff authored
In order to circumvent the number of duplicate foo:count metrics increasing without bounds, it's time for a rearrangement. The following are all deprecated, and replaced with synapse_util_metrics_block_count: synapse_util_metrics_block_timer:count synapse_util_metrics_block_ru_utime:count synapse_util_metrics_block_ru_stime:count synapse_util_metrics_block_db_txn_count:count synapse_util_metrics_block_db_txn_duration:count The following are all deprecated, and replaced with synapse_http_server_response_count: synapse_http_server_requests synapse_http_server_response_time:count synapse_http_server_response_ru_utime:count synapse_http_server_response_ru_stime:count synapse_http_server_response_db_txn_count:count synapse_http_server_response_db_txn_duration:count The following are renamed (the old metrics are kept for now, but deprecated): synapse_util_metrics_block_timer:total -> synapse_util_metrics_block_time_seconds synapse_util_metrics_block_ru_utime:total -> synapse_util_metrics_block_ru_utime_seconds synapse_util_metrics_block_ru_stime:total -> synapse_util_metrics_block_ru_stime_seconds synapse_util_metrics_block_db_txn_count:total -> synapse_util_metrics_block_db_txn_count synapse_util_metrics_block_db_txn_duration:total -> synapse_util_metrics_block_db_txn_duration_seconds synapse_http_server_response_time:total -> synapse_http_server_response_time_seconds synapse_http_server_response_ru_utime:total -> synapse_http_server_response_ru_utime_seconds synapse_http_server_response_ru_stime:total -> synapse_http_server_response_ru_stime_seconds synapse_http_server_response_db_txn_count:total -> synapse_http_server_response_db_txn_count synapse_http_server_response_db_txn_duration:total synapse_http_server_response_db_txn_duration_seconds
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Make Counter render floats
-
- Jan 12, 2018
-
-
Richard van der Hoff authored
Prometheus handles all metrics as floats, and sometimes we store non-integer values in them (notably, durations in seconds), so let's render them as floats too. (Note that the standard client libraries also treat Counters as floats.)
-
Richard van der Hoff authored
Reinstate media download on thumbnail request
-
Richard van der Hoff authored
We need to actually download the remote media when we get a request for a thumbnail.
-
Erik Johnston authored
-
Erik Johnston authored
-