- Jan 16, 2018
-
-
Richard van der Hoff authored
Avoid throwing a (harmless) exception when we try to write an error response to an http request where the client has disconnected. This comes up as a CRITICAL error in the logs which tends to mislead people into thinking there's an actual problem
-
Richard van der Hoff authored
Reorganise request and block metrics
-
Richard van der Hoff authored
Fix a logcontext leak in persist_events
-
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
-
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
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
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
When using synctl with workers, don't start the main synapse automatically
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- Jan 11, 2018
-
-
Richard van der Hoff authored
Add /room/{id}/event/{id} to synapse
-
Erik Johnston authored
-
Erik Johnston authored
-
- Jan 10, 2018
-
-
Erik Johnston authored
Do bcrypt hashing in a background thread
-
Erik Johnston authored
-
Erik Johnston authored
Fix publicised groups GET API (singular) over federation
-
Michael Telatynski authored
Signed-off-by:
Michael Telatynski <7t3chguy@gmail.com>
-
Michael Telatynski authored
which was missing its fed client API, since there is no other API it might as well reuse the bulk one and unwrap it Signed-off-by:
Michael Telatynski <7t3chguy@gmail.com>
-
Richard van der Hoff authored
Update http request metrics before calling servlet
-
- Jan 09, 2018
-
-
Richard van der Hoff authored
Make sure that we set the servlet name in the metrics object *before* calling the servlet, in case the servlet throws an exception.
-
Erik Johnston authored
-