Commit Graph

52 Commits (598317927cb8f741528d639f3ce875299fde478e)

Author SHA1 Message Date
Erik Johnston 7c1a92274c Make psutil optional 8 years ago
Erik Johnston d36b1d849d Don't explode if we have no snapshots yet 8 years ago
Erik Johnston 66868119dc Add metrics for psutil derived memory usage 8 years ago
Erik Johnston 0f2165ccf4 Don't track total objects as its too expensive to calculate 9 years ago
Erik Johnston 18f0cc7d99 Record some more GC metrics 9 years ago
Erik Johnston 48e65099b5 Also record number of unreachable objects 9 years ago
Erik Johnston 75331c5fca Change the way we do stats 9 years ago
Erik Johnston 73c7112433 Change CacheMetrics to be quicker 9 years ago
Erik Johnston e043ede4a2 Small optimisation to CacheListDescriptor 9 years ago
Erik Johnston 597013caa5 Make cachedList go a bit faster 9 years ago
Erik Johnston 60d53f9e95 Count number of GC collects 9 years ago
Erik Johnston 7d6e89ed22 Add a comment 9 years ago
Erik Johnston 1f1dee94f6 Manually run GC on reactor tick. 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines 709ba99afd Check that /proc/self/fd exists before listing it 9 years ago
Mark Haines 9e4dacd5e7 The maxrss reported by getrusage is in kilobytes, not pages 9 years ago
Erik Johnston 6e7d36a72c Also check for presence of 'threadCallQueue' in reactor 9 years ago
Erik Johnston d3da63f766 Use more helpful variable names 9 years ago
Erik Johnston 4d8e1e1f9e Remove added unused methods 9 years ago
Erik Johnston 891dfd90bd Fix pending_calls metric to not lie 9 years ago
Erik Johnston 5db5677969 Add metrics to the receipts cache 9 years ago
Erik Johnston a6c27de1aa Don't time getDelayedCalls 9 years ago
Erik Johnston ba5d34a832 Add some metrics about the reactor 9 years ago
Paul "LeoNerd" Evans ef1e019840 Appease pep8 10 years ago
Paul "LeoNerd" Evans 5583e29513 Report process open filehandles in metrics 10 years ago
Paul "LeoNerd" Evans 05a056a409 Appease pyflakes 10 years ago
Paul "LeoNerd" Evans 0eb7e6b9a8 Delete unused import of NOT_READY_YET 10 years ago
Paul "LeoNerd" Evans 128cf2daf7 Appease pep8 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 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 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 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 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 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 d8caa5454d Initial attempt at a scalar callback-based metric to give instantaneous snapshot gauges 10 years ago