Commit Graph

129 Commits (e8e3e033eea2947c3746005f876afca55c601f1d)

Author SHA1 Message Date
Richard van der Hoff 88541f9009 Add a metric which increments when a request is received 7 years ago
Richard van der Hoff bc496df192 report metrics on number of cache evictions 7 years ago
Richard van der Hoff 87b7d72760 Add some comments about the reactor tick time metric 7 years ago
Richard van der Hoff ce236f8ac8 better exception logging in callbackmetrics 7 years ago
Richard van der Hoff 992018d1c0 mechanism to render metrics with alternative names 7 years ago
Richard van der Hoff 80fa610f9c Add some comments to metrics classes 7 years ago
Richard van der Hoff 19d274085f Make Counter render floats 7 years ago
Erik Johnston 3f213d908d Rearrange metrics 8 years ago
Erik Johnston b43d3267e2 Fixup some metrics for tcp repl 8 years ago
Paul "LeoNerd" Evans 2938a00825 Rename the python-specific metrics now the docs claim that we have done 8 years ago
Paul "LeoNerd" Evans 5219f7e060 Since we don't export per-filetype fd counts any more, delete all the code related to that too 8 years ago
Paul "LeoNerd" Evans 93ebeb2aa8 Remove now-unused 'resource' import 8 years ago
Paul "LeoNerd" Evans c1b077cd19 Now we have new-style metrics don't bother exporting legacy-named process ones 8 years ago
Paul "LeoNerd" Evans 1cc22da600 Set up the process collector during metrics __init__; that way all split-process workers have it 8 years ago
Paul "LeoNerd" Evans aac13b1f9a Pass the Metrics group into the process collector instead of having it find its own one; this avoids it needing to import from synapse.metrics 8 years ago
Paul "LeoNerd" Evans ccc1a3d54d Allow creation of a 'subspace' within a Metrics object, returning another one 8 years ago
Paul "LeoNerd" Evans b01aaadd48 Split callback metric lambda functions down onto their own lines to keep line lengths under 90 8 years ago
Paul "LeoNerd" Evans 1071c7d963 Adjust code for <100 char line limit 8 years ago
Paul "LeoNerd" Evans 6453d03edd Cut the raw /proc/self/stat line up into named fields at collection time 8 years ago
Paul "LeoNerd" Evans 3ae48a1f99 Move the process metrics collector code into its own file 8 years ago
Paul "LeoNerd" Evans 4cedd53224 A slightly neater way to manage metric collector functions 8 years ago
Paul "LeoNerd" Evans 5663137e03 appease pep8 8 years ago
Paul "LeoNerd" Evans b202531be6 Also guard /proc/self/fds-related code with a suitable psuedoconstant 8 years ago
Paul "LeoNerd" Evans 1b179455fc Guard registration of process-wide metrics by existence of the requisite /proc entries 8 years ago
Paul "LeoNerd" Evans 981f852d54 Add standard process_start_time_seconds metric 8 years ago
Paul "LeoNerd" Evans def63649df Add standard process_max_fds metric 8 years ago
Paul "LeoNerd" Evans 06f1ad1625 Add standard process_open_fds metric 8 years ago
Paul "LeoNerd" Evans 95fc70216d Add standard process_*_memory_bytes metrics 8 years ago
Paul "LeoNerd" Evans 9b0316c75a Use /proc/self/stat to generate the new process_cpu_*_seconds_total metrics 8 years ago
Paul "LeoNerd" Evans 03c2720940 Export CPU usage metrics also under prometheus-standard metric name 8 years ago
Paul "LeoNerd" Evans b21b9dbc37 Callback metric values might not just be integers - allow floats 8 years ago
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