Commit Graph

1678 Commits (399689dcc79e73de1ec6bae8aa18bd83f5618f38)

Author SHA1 Message Date
Paul "LeoNerd" Evans 399689dcc7 Provide some process resource usage metrics 10 years ago
Paul "LeoNerd" Evans fa319a5786 Add TimerMetrics to shadow the PerformanceCounters in synapse.storage; with the view to eventually replacing them entirely 10 years ago
Paul "LeoNerd" Evans 6d146e15df Put some gauge metrics on the number of notifier listeners, and notified-on objects (users, rooms, appservices) 10 years ago
Paul "LeoNerd" Evans 25187ab674 Collect per-SQL-verb timer stats on query execution time 10 years ago
Paul "LeoNerd" Evans f52acf3b12 Neater register_* methods on overall Metrics container 10 years ago
Paul "LeoNerd" Evans a99d6edc05 Neater implementation of metric render methods by pulling out 'render' as a base method that calls self.render_item 10 years ago
Paul "LeoNerd" Evans 72625f2f4d Initial hack at a TimerMetric; for storing counts + duration accumulators 10 years ago
Paul "LeoNerd" Evans e1a7e3564f Delete a couple of TODO markers of monitoring stats now done 10 years ago
Paul "LeoNerd" Evans 094803cf82 Put vector gauges on transaction queue pending PDU and EDU dicts 10 years ago
Paul "LeoNerd" Evans e9c4b0d178 Ensure that /_synapse/metrics response is UTF-8 encoded 10 years ago
Paul "LeoNerd" Evans 23ab0c68c2 Implement vector CallbackMetrics 10 years ago
Paul "LeoNerd" Evans 849300bc73 Neater introspection methods on BaseMetric so that subclasses don't need to touch self.keys directly 10 years ago
Paul "LeoNerd" Evans 8664599af7 Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric component to give the size of the cache 10 years ago
Paul "LeoNerd" Evans e02cc249da Ensure that exceptions while rendering individual metrics don't stop others from being rendered anyway - especially useful for CallbackMetric 10 years ago
Paul "LeoNerd" Evans 59c448f074 Add a scalar gauge metric on the size of the presence user cachemap 10 years ago
Paul "LeoNerd" Evans d8caa5454d Initial attempt at a scalar callback-based metric to give instantaneous snapshot gauges 10 years ago
Paul "LeoNerd" Evans b0cdf097f4 Sprinkle some CacheCounterMetrics around the synapse.storage layer 10 years ago
Paul "LeoNerd" Evans ce8b5769f7 Create the concept of a cachecounter metric; generating two counters specific to caches 10 years ago
Paul "LeoNerd" Evans 7d72e44eb9 Add vector counters to HTTP clients and servers; count the requests by method and responses by method and response code 10 years ago
Paul "LeoNerd" Evans c53ec53d80 Pull out all uses of the underlying HTTP user agent .request() method into a single wrapper function, to make adding metrics easier 10 years ago
Paul "LeoNerd" Evans 9470412316 Initial attempt at sprinkling some @metrics.counted decorations around the federation code 10 years ago
Paul "LeoNerd" Evans a594087f06 Have the MetricsResource actually render metric counters 10 years ago
Paul "LeoNerd" Evans 74bc42cfdd An initial implementation of a 'metrics' instance, similar to a 'logger' for keeping counter stats on method calls 10 years ago
Paul "LeoNerd" Evans 120b689284 Delete pointless (and unreachable) __init__ method from FederationClient 10 years ago
Paul "LeoNerd" Evans e7420a3bef Initial tiny attempt at (vectorable) counter metrics 10 years ago
Paul "LeoNerd" Evans e07fc62833 A trivial 'hello world'-style resource on /_synapse/metrics, with optional commandline flag 10 years ago
Paul "LeoNerd" Evans 5b6e11d560 Commandline option to enable metrics system 10 years ago
Paul "LeoNerd" Evans 211c14c391 No need to explicitly pass 'web_client' in to create_resource_tree as it can be found via config 10 years ago
Paul "LeoNerd" Evans ad5701f50f Expose 'config' as a real HomeServer dependency key 10 years ago
David Baker c92fdf88a3 Log the matching push rule. 10 years ago
Paul "LeoNerd" Evans a7a28f85ae Appease pep8 10 years ago
Paul "LeoNerd" Evans 59a5f012cc Also give _execute() a description 10 years ago
Paul "LeoNerd" Evans 099e4b88d8 Add a description to storage layer's _execute_and_decode() 10 years ago
David Baker cdb2e045ee Again, underscore, not hyphen 10 years ago
David Baker 465354ffde 'false' is not False 10 years ago
David Baker 83b1e7fb3c PEP8 blank lines 10 years ago
David Baker 04f8478aaa Add the master push rule for the break-my-push button. Allow server default rules to be disabled by default. 10 years ago
David Baker 8916acbc13 These aren't defined for redacted events so don't crash 10 years ago
Erik Johnston abaf47bbb6 Fix bug in logging. 10 years ago
Erik Johnston 045afd6b61 in_thread takes no arguments 10 years ago
Erik Johnston 98b867f7b7 Fix bug in logging. 10 years ago
Erik Johnston c37eceeb9e Split out the 'run' from 'setup' 10 years ago
Erik Johnston b8a6692657 Add documentation. When starting via twistd respect soft_file_limit config option. 10 years ago
Erik Johnston 8e28db5cc9 Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This uses the a storage api that is cached. 10 years ago
David Baker 1df3ccf7ee D'oh: underscore, not hyphen 10 years ago
David Baker 118c883429 Call notifications should be override else they'll get clobbered by sender/room rules. 10 years ago
Erik Johnston 9ccccd4874 When setting display name more graciously handle failures to update room state. 10 years ago
David Baker be9dafcd37 Dial down logging for failed pushers 10 years ago
David Baker 96eda876a4 Specify when we don't want to highlight 10 years ago
David Baker e7d7152c3c Remove the fallback rule - we probably don't want to be notifying for everything even if we don't know what it is. 10 years ago