Commit Graph

1698 Commits (a2cdd11d4a05f76b0be96d7e2de9294a9ff2cd57)

Author SHA1 Message Date
Paul "LeoNerd" Evans a2cdd11d4a Fold the slightly-odd bind_port/secure_port/etc.. logic into SynapseHomeServer.start_listening() 10 years ago
Paul "LeoNerd" Evans e0214a263b Build MetricsResource as a specific HomeServer dependency 10 years ago
Paul "LeoNerd" Evans e75fa8bbbf Bugfix to sql_txn_timer increment - add only the per-TXN duration, not the total time ever spent since boot 10 years ago
Paul "LeoNerd" Evans c782e893ec Neater metrics from TransactionQueue 10 years ago
Paul "LeoNerd" Evans 89ac1fa8ba Add a counter to track total number of events served by the notifier 10 years ago
Paul "LeoNerd" Evans 2e4f0b2bd7 Replace the @metrics.counted annotations in federation with specifically-written counters and distributions 10 years ago
Paul "LeoNerd" Evans c1cdd7954d Add an .inc_by() method to CounterMetric; implement DistributionMetric a neater way 10 years ago
Paul "LeoNerd" Evans 63cb7ece62 Rename the timer metrics exported by synapse.storage to append _time, so the meaning of ':total' is clearer 10 years ago
Paul "LeoNerd" Evans 493e3fa0ca Don't forbid '_' in metric basenames any more, to allow things like foo_time 10 years ago
Paul "LeoNerd" Evans f1fbe3e09f Rename TimerMetric to DistributionMetric; as it could count more than just time 10 years ago
Paul "LeoNerd" Evans 642f725fd7 Pretend the 'getEvent' cache is just another cache in the set of all the others for metric 10 years ago
Paul "LeoNerd" Evans cbc0406be8 Export CacheMetric as hits+total, rather than hits+misses, as it's easier to derive hit ratio from that 10 years ago
Paul "LeoNerd" Evans 1748605c5d Count incoming HTTP requests per servlet that responds 10 years ago
Paul "LeoNerd" Evans 4d661ec0f3 Remember to emit final linefeed from /metrics page, or Prometheus gets upset 10 years ago
Paul "LeoNerd" Evans 0e847540c3 Prometheus needs "escaped" label values 10 years ago
Paul "LeoNerd" Evans 22b37b75db Kill unused CounterMetric.fetch() method 10 years ago
Paul "LeoNerd" Evans b0cf867319 Use _ instead of . as a metric namespacing separator, for Prometheus 10 years ago
Paul "LeoNerd" Evans 0b96bb793e Have all @metrics.counted use a single metric name vectored on the method name, rather than a brand new scalar counter per counted method 10 years ago
Paul "LeoNerd" Evans b3a0179d64 Bugfix to rendering output of vectored TimerMetrics 10 years ago
Paul "LeoNerd" Evans f9478e475b Rename Metrics' "keys" to "labels" 10 years ago
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