summary refs log tree commit diff
path: root/synapse/api/errors.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-12bump dep on syweb 0.6.5Matthew Hodgson2-3/+4
2015-03-12More sacrifices to the pep8 gods.David Baker1-2/+8
2015-03-12Appease pyflakesPaul "LeoNerd" Evans1-1/+1
2015-03-12Delete unused import of NOT_READY_YETPaul "LeoNerd" Evans1-1/+0
2015-03-12Appease pep8Paul "LeoNerd" Evans9-27/+46
2015-03-12Option to serve metrics from their own localhost-only TCP port instead of ↵Paul "LeoNerd" Evans2-2/+15
muxed on the main listener
2015-03-12Fold the slightly-odd bind_port/secure_port/etc.. logic into ↵Paul "LeoNerd" Evans1-12/+11
SynapseHomeServer.start_listening()
2015-03-12Build MetricsResource as a specific HomeServer dependencyPaul "LeoNerd" Evans2-6/+11
2015-03-12Bugfix to sql_txn_timer increment - add only the per-TXN duration, not the ↵Paul "LeoNerd" Evans1-7/+5
total time ever spent since boot
2015-03-12Neater metrics from TransactionQueuePaul "LeoNerd" Evans1-9/+11
2015-03-12Add a counter to track total number of events served by the notifierPaul "LeoNerd" Evans1-0/+3
2015-03-12Replace the @metrics.counted annotations in federation with ↵Paul "LeoNerd" Evans3-41/+29
specifically-written counters and distributions
2015-03-12Add an .inc_by() method to CounterMetric; implement DistributionMetric a ↵Paul "LeoNerd" Evans2-26/+16
neater way
2015-03-12Rename the timer metrics exported by synapse.storage to append _time, so the ↵Paul "LeoNerd" Evans1-3/+3
meaning of ':total' is clearer
2015-03-12Don't forbid '_' in metric basenames any more, to allow things like foo_timePaul "LeoNerd" Evans1-5/+0
2015-03-12Rename TimerMetric to DistributionMetric; as it could count more than just timePaul "LeoNerd" Evans4-33/+37
2015-03-12Pretend the 'getEvent' cache is just another cache in the set of all the ↵Paul "LeoNerd" Evans1-6/+5
others for metric
2015-03-12Export CacheMetric as hits+total, rather than hits+misses, as it's easier to ↵Paul "LeoNerd" Evans2-8/+9
derive hit ratio from that
2015-03-12Count incoming HTTP requests per servlet that respondsPaul "LeoNerd" Evans2-7/+15
2015-03-12Remember to emit final linefeed from /metrics page, or Prometheus gets upsetPaul "LeoNerd" Evans1-0/+2
2015-03-12Prometheus needs "escaped" label valuesPaul "LeoNerd" Evans2-29/+33
2015-03-12Kill unused CounterMetric.fetch() methodPaul "LeoNerd" Evans1-3/+0
2015-03-12Use _ instead of . as a metric namespacing separator, for PrometheusPaul "LeoNerd" Evans8-18/+34
2015-03-12Have all @metrics.counted use a single metric name vectored on the method ↵Paul "LeoNerd" Evans1-2/+9
name, rather than a brand new scalar counter per counted method
2015-03-12Bugfix to rendering output of vectored TimerMetricsPaul "LeoNerd" Evans2-7/+6
2015-03-12Rename Metrics' "keys" to "labels"Paul "LeoNerd" Evans7-26/+26
2015-03-12Provide some process resource usage metricsPaul "LeoNerd" Evans1-0/+27
2015-03-12Add TimerMetrics to shadow the PerformanceCounters in synapse.storage; with ↵Paul "LeoNerd" Evans1-3/+20
the view to eventually replacing them entirely
2015-03-12Put some gauge metrics on the number of notifier listeners, and notified-on ↵Paul "LeoNerd" Evans1-0/+39
objects (users, rooms, appservices)
2015-03-12Collect per-SQL-verb timer stats on query execution timePaul "LeoNerd" Evans1-5/+11
2015-03-12Neater register_* methods on overall Metrics containerPaul "LeoNerd" Evans1-22/+12
2015-03-12Neater implementation of metric render methods by pulling out 'render' as a ↵Paul "LeoNerd" Evans1-18/+15
base method that calls self.render_item
2015-03-12Initial hack at a TimerMetric; for storing counts + duration accumulatorsPaul "LeoNerd" Evans2-1/+83
2015-03-12Delete a couple of TODO markers of monitoring stats now donePaul "LeoNerd" Evans2-2/+0
2015-03-12Put vector gauges on transaction queue pending PDU and EDU dictsPaul "LeoNerd" Evans1-2/+14
2015-03-12Ensure that /_synapse/metrics response is UTF-8 encodedPaul "LeoNerd" Evans1-1/+2
2015-03-12Implement vector CallbackMetricsPaul "LeoNerd" Evans2-3/+23
2015-03-12Neater introspection methods on BaseMetric so that subclasses don't need to ↵Paul "LeoNerd" Evans1-4/+11
touch self.keys directly
2015-03-12Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric ↵Paul "LeoNerd" Evans4-19/+30
component to give the size of the cache
2015-03-12Ensure that exceptions while rendering individual metrics don't stop others ↵Paul "LeoNerd" Evans1-1/+10
from being rendered anyway - especially useful for CallbackMetric
2015-03-12Add a scalar gauge metric on the size of the presence user cachemapPaul "LeoNerd" Evans1-0/+7
2015-0