summary refs log tree commit diff
path: root/synapse/metrics (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-153-6/+6
* opentracing: use a consistent name for background processes (#10135)Richard van der Hoff2021-06-071-2/+3
* Set opentracing priority before setting other tags (#10092)Richard van der Hoff2021-05-281-2/+8
* Export jemalloc stats to prometheus when used (#9882)Erik Johnston2021-05-062-0/+197
* Limit how often GC happens by time. (#9902)Erik Johnston2021-05-051-2/+16
* Merge branch 'master' into developAndrew Morgan2021-04-211-4/+16
|\
| * Stop BackgroundProcessLoggingContext making new prometheus timeseries (#9854)Richard van der Hoff2021-04-211-4/+16
* | Merge branch 'master' into developAndrew Morgan2021-04-201-11/+4
|\|
| * Always use the name as the log ID. (#9829)Patrick Cloke2021-04-201-11/+4
* | Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-143-3/+0
|/
* Record more information into structured logs. (#9654)Patrick Cloke2021-04-081-6/+12
* Don't report anything from GaugeBucketCollector metrics until data is present...Andrew Morgan2021-04-061-3/+13
* Fix additional type hints from Twisted upgrade. (#9518)Patrick Cloke2021-03-031-5/+6
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-163-9/+9
* Various clean-ups to the logging context code (#8935)Patrick Cloke2020-12-141-4/+3
* Allow spam-checker modules to be provide async methods. (#8890)David Teller2020-12-111-7/+2
* Add metrics for tracking 3PID /requestToken requests. (#8712)Erik Johnston2020-11-131-0/+10
* Start fewer opentracing spans (#8640)Erik Johnston2020-10-261-3/+9
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-1/+1
* Start an opentracing span for background processes. (#8567)Erik Johnston2020-10-191-5/+6
* Rewrite BucketCollectorRichard van der Hoff2020-09-301-47/+68
* Fix _exposition.py to stop stripping samplesRichard van der Hoff2020-09-301-11/+29
* Drop support for ancient prometheus_client (#8426)Richard van der Hoff2020-09-301-22/+2
* Use slots in attrs classes where possible (#8296)Patrick Cloke2020-09-141-2/+2
* Stop sub-classing object (#8249)Patrick Cloke2020-09-042-10/+10
* Convert runWithConnection to async. (#8121)Patrick Cloke2020-08-191-1/+1
* Convert run_as_background_process inner function to async. (#8032)Patrick Cloke2020-08-061-22/+12
* Improve stacktraces from exceptions in background processes (#7808)Richard van der Hoff2020-07-091-1/+9
* Add some metrics for inbound and outbound federation processing times (#7755)Erik Johnston2020-06-301-0/+6
* Set Content-Length for Metrics requests (#7730)Christian Svensson2020-06-231-1/+4
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-4/+2
* Make inflight background metrics more efficient. (#7597)Erik Johnston2020-05-291-34/+70
* synapse.metrics: implement detailed memory usage reporting on PyPy (#7536)Ivan Shapovalov2020-05-221-1/+78
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-111-4/+8
* Add prometheus metrics for the number of active pushers (#7103)Richard van der Hoff2020-03-192-7/+10
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-212-3/+3
* Fix up some typechecking (#6150)Amber Brown2019-10-022-4/+4
* Update comments and docstringRichard van der Hoff2019-09-251-4/+6
* Add wrap_as_background_process decorator.Erik Johnston2019-09-241-1/+28
* Fix for structured logging tests stomping on logs (#6023)Amber Brown2019-09-132-4/+5
* Add a build info metric to Prometheus (#6005)Amber Brown2019-09-101-0/+12
* Support Prometheus_client 0.4.0+ (#5636)Amber Brown2019-07-183-20/+275
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Don't log GC 0s at INFO (#5557)Amber Brown2019-06-281-1/+4
* Run Black. (#5482)Amber Brown2019-06-202-22/+18
* Prometheus histograms are cumalativeErik Johnston2019-06-141-1/+0
* fix prometheus rendering errorAmber H. Brown2019-06-141-1/+1
* Expose statistics on extrems to prometheus (#5384)Amber Brown2019-06-131-20/+92
* Add metrics for number of outgoing EDUs, by type (#4695)Richard van der Hoff2019-02-201-2/+0
* Fix exception in background metrics collectionErik Johnston2018-10-031-2/+6
* Add missing loggerErik Johnston2018-09-201-0/+4
* Handle exceptions thrown by background tasksErik Johnston2018-09-201-0/+2
* Remove spurious commentErik Johnston2018-09-141-2/+0
* Add in flight real time metrics for Measure blocksErik Johnston2018-09-141-1/+109
* isortErik Johnston2018-08-211-1/+2
* Make the in flight background process metrics thread safeErik Johnston2018-08-201-5/+20
* fix metric nameRichard van der Hoff2018-08-071-1/+1
* more metrics for the federation and appservice sendersRichard van der Hoff2018-08-071-0/+13
* Fix some looping_call calls which were broken in #3604Richard van der Hoff2018-07-261-2/+8
* Resource tracking for background processesRichard van der Hoff2018-07-181-0/+179
* run isortAmber Brown2018-07-091-6/+5
* Attempt to be more performant on PyPy (#3462)Amber Brown2018-06-281-1/+2
* Fix description of "python_gc_time" metricRichard van der Hoff2018-06-211-1/+1
* spell gauge correctlyMatthew Hodgson2018-06-161-1/+1
* add a last seen metric (#3396)Amber Brown2018-06-141-0/+21
* Hopefully, fix LaterGuage error handlingRichard van der Hoff2018-06-041-3/+6
* Run Prometheus on a different port, optionally. (#3274)Amber Brown2018-05-312-1/+6
* pep8Matthew Hodgson2018-05-291-0/+1
* disable CPUMetrics if no /proc/self/statMatthew Hodgson2018-05-291-0/+3
* invalid syntax :(Amber Brown2018-05-281-2/+1
* update metrics to be in secondsAmber Brown2018-05-281-9/+10
* pepeighttttAmber Brown2018-05-231-0/+1
* add back CPU metricsAmber Brown2018-05-231-1/+35
* more cleanupAmber Brown2018-05-221-3/+1
* cleanupAmber Brown2018-05-221-6/+22
* fixesAmber Brown2018-05-221-2/+10
* Merge remote-tracking branch 'origin/develop' into 3218-official-promAmber Brown2018-05-221-1/+5
|\
* | replacing portionsAmber Brown2018-05-211-119/+63
* | don't need the resource portionAmber Brown2018-05-211-23/+0
* | remove old metrics libsAmber Brown2018-05-212-450/+0
|/
* Note that label values can be anythingErik Johnston2018-05-031-1/+2
* Fix metrics that have integer value labelsErik Johnston2018-05-031-1/+1
* Make _escape_character take MatchObjectErik Johnston2018-05-021-2/+10
* Escape label values in prometheus metricsErik Johnston2018-05-021-2/+20
* s/list/tupleErik Johnston2018-04-121-2/+2
* Track last processed event received_tsErik Johnston2018-04-111-0/+13
* Track where event stream processing have gotten up toErik Johnston2018-04-111-0/+13
* Add GaugeMetricErik Johnston2018-04-112-1/+38
* Don't disable GC when running on PyPyVincent Breitmoser2018-04-101-1/+7
* Add a metric which increments when a request is receivedRichard van der Hoff2018-03-091-0/+16
* report metrics on number of cache evictionsRichard van der Hoff2018-02-051-1/+10
* Add some comments about the reactor tick time metricRichard van der Hoff2018-01-191-1/+6
* better exception logging in callbackmetricsRichard van der Hoff2018-01-181-1/+8
* mechanism to render metrics with alternative namesRichard van der Hoff2018-01-151-13/+40
* Add some comments to metrics classesRichard van der Hoff2018-01-151-1/+27
* Make Counter render floatsRichard van der Hoff2018-01-121-3/+10
* Rename the python-specific metrics now the docs claim that we have donePaul "LeoNerd" Evans2016-11-031-7/+9
* Since we don't export per-filetype fd counts any more, delete all the code re...Paul "LeoNerd" Evans2016-11-031-36/+4
* Remove now-unused 'resource' importPaul "LeoNerd" Evans2016-11-031-8/+0
* Now we have new-style metrics don't bother exporting legacy-named process onesPaul "LeoNerd" Evans2016-11-031-16/+1
* Set up the process collector during metrics __init__; that way all split-proc...Paul "LeoNerd" Evans2016-10-271-0/+3
* Pass the Metrics group into the process collector instead of having it find i...Paul "LeoNerd" Evans2016-10-271-7/+3
* Allow creation of a 'subspace' within a Metrics object, returning another onePaul "LeoNerd" Evans2016-10-271-0/+3
* Split callback metric lambda functions down onto their own lines to keep line...Paul "LeoNerd" Evans2016-10-191-8/+16
* Adjust code for <100 char line limitPaul "LeoNerd" Evans2016-10-191-1/+1
* Cut the raw /proc/self/stat line up into named fields at collection timePaul "LeoNerd" Evans2016-10-191-8/+22
* Move the process metrics collector code into its own filePaul "LeoNerd" Evans2016-10-192-141/+159
* A slightly neater way to manage metric collector functionsPaul "LeoNerd" Evans2016-10-191-2/+8
* appease pep8Paul "LeoNerd" Evans2016-10-191-3/+5
* Also guard /proc/self/fds-related code with a suitable psuedoconstantPaul "LeoNerd" Evans2016-10-191-3/+5
* Guard registration of process-wide metrics by existence of the requisite /pro...Paul "LeoNerd" Evans2016-10-191-45/+50
* Add standard process_start_time_seconds metricPaul "LeoNerd" Evans2016-10-191-0/+15
* Add standard process_max_fds metricPaul "LeoNerd" Evans2016-10-191-0/+13
* Add standard process_open_fds metricPaul "LeoNerd" Evans2016-10-191-20/+29
* Add standard process_*_memory_bytes metricsPaul "LeoNerd" Evans2016-10-191-0/+8
* Use /proc/self/stat to generate the new process_cpu_*_seconds_total metricsPaul "LeoNerd" Evans2016-10-191-4/+12
* Export CPU usage metrics also under prometheus-standard metric namePaul "LeoNerd" Evans2016-10-191-0/+15
* Callback metric values might not just be integers - allow floatsPaul "LeoNerd" Evans2016-10-191-2/+2
* Make psutil optionalErik Johnston2016-08-082-5/+13
* Don't explode if we have no snapshots yetErik Johnston2016-07-201-0/+3
* Add metrics for psutil derived memory usageErik Johnston2016-07-202-1/+46
* Don't track total objects as its too expensive to calculateErik Johnston2016-06-071-1/+0
* Record some more GC metricsErik Johnston2016-06-071-0/+5
* Also record number of unreachable objectsErik Johnston2016-06-071-2/+4
* Change the way we do statsErik Johnston2016-06-071-7/+3
* Merge pull request #771 from matrix-org/erikj/gc_tickErik Johnston2016-06-071-0/+26
|\
| * Count number of GC collectsErik Johnston2016-05-161-5/+11
| * Add a commentErik Johnston2016-05-131-0/+5
| * Manually run GC on reactor tick.Erik Johnston2016-05-091-0/+15
* | Change CacheMetrics to be quickerErik Johnston2016-06-032-32/+28
|/
* copyrightsMatthew Hodgson2016-01-073-3/+3
* Check that /proc/self/fd exists before listing itMark Haines2015-09-071-0/+4
* The maxrss reported by getrusage is in kilobytes, not pagesMark Haines2015-09-071-4/+3
* Also check for presence of 'threadCallQueue' in reactorErik Johnston2015-08-181-1/+8
* Use more helpful variable namesErik Johnston2015-08-181-3/+3
* Fix pending_calls metric to not lieErik Johnston2015-08-141-3/+18
* Don't time getDelayedCallsErik Johnston2015-08-131-1/+1
* Add some metrics about the reactorErik Johnston2015-08-131-0/+29
* Appease pep8Paul "LeoNerd" Evans2015-04-011-0/+1
* Report process open filehandles in metricsPaul "LeoNerd" Evans2015-04-011-0/+34
* Appease pyflakesPaul "LeoNerd" Evans2015-03-121-1/+1
* Delete unused import of NOT_READY_YETPaul "LeoNerd" Evans2015-03-121-1/+0
* Appease pep8Paul "LeoNerd" Evans2015-03-123-7/+9
* Replace the @metrics.counted annotations in federation with specifically-writ...Paul "LeoNerd" Evans2015-03-121-17/+0
* Add an .inc_by() method to CounterMetric; implement DistributionMetric a neat...Paul "LeoNerd" Evans2015-03-121-23/+14
* Don't forbid '_' in metric basenames any more, to allow things like foo_timePaul "LeoNerd" Evans2015-03-121-5/+0
* Rename TimerMetric to DistributionMetric; as it could count more than just timePaul "LeoNerd" Evans2015-03-122-14/+18
* Export CacheMetric as hits+total, rather than hits+misses, as it's easier to ...Paul "LeoNerd" Evans2015-03-121-5/+6
* Remember to emit final linefeed from /metrics page, or Prometheus gets upsetPaul "LeoNerd" Evans2015-03-121-0/+2
* Prometheus needs "escaped" label valuesPaul "LeoNerd" Evans2015-03-121-2/+6
* Kill unused CounterMetric.fetch() methodPaul "LeoNerd" Evans2015-03-121-3/+0
* Use _ instead of . as a metric namespacing separator, for PrometheusPaul "LeoNerd" Evans2015-03-121-3/+11
* Have all @metrics.counted use a single metric name vectored on the method nam...Paul "LeoNerd" Evans2015-03-121-2/+9
* Bugfix to rendering output of vectored TimerMetricsPaul "LeoNerd" Evans2015-03-121-3/+2
* Rename Metrics' "keys" to "labels"Paul "LeoNerd" Evans2015-03-121-12/+12
* Provide some process resource usage metricsPaul "LeoNerd" Evans2015-03-121-0/+27
* Neater register_* methods on overall Metrics containerPaul "LeoNerd" Evans2015-03-121-22/+12
* Neater implementation of metric render methods by pulling out 'render' as a b...Paul "LeoNerd" Evans2015-03-121-18/+15
* Initial hack at a TimerMetric; for storing counts + duration accumulatorsPaul "LeoNerd" Evans2015-03-121-0/+48
* Ensure that /_synapse/metrics response is UTF-8 encodedPaul "LeoNerd" Evans2015-03-121-1/+2
* Implement vector CallbackMetricsPaul "LeoNerd" Evans2015-03-121-2/+6
* Neater introspection methods on BaseMetric so that subclasses don't need to t...Paul "LeoNerd" Evans2015-03-121-4/+11
* Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric component...Paul "LeoNerd" Evans2015-03-122-7/+12
* Ensure that exceptions while rendering individual metrics don't stop others f...Paul "LeoNerd" Evans2015-03-121-1/+10
* Initial attempt at a scalar callback-based metric to give instantaneous snaps...Paul "LeoNerd" Evans2015-03-122-1/+24
* Create the concept of a cachecounter metric; generating two counters specific...Paul "LeoNerd" Evans2015-03-122-7/+47
* Have the MetricsResource actually render metric countersPaul "LeoNerd" Evans2015-03-121-1/+3
* An initial implementation of a 'metrics' instance, similar to a 'logger' for ...Paul "LeoNerd" Evans2015-03-121-0/+69
* Initial tiny attempt at (vectorable) counter metricsPaul "LeoNerd" Evans2015-03-121-0/+54
* A trivial 'hello world'-style resource on /_synapse/metrics, with optional co...Paul "LeoNerd" Evans2015-03-121-0/+37