summary refs log tree commit diff
path: root/tests/storage (unfollow)
Commit message (Expand)AuthorFilesLines
2015-03-30Add note in changelog about change in config option namesErik Johnston1-0/+7
2015-03-30actually tell users /how/ to turn on registrationMatthew Hodgson1-1/+2
2015-03-30turn --disable-registration into --enable-registration, given the default is ...Matthew Hodgson1-11/+11
2015-03-27Revert "Add another @cached wrapper, this time on get_presence_state()"Paul "LeoNerd" Evans1-8/+2
2015-03-27Add another @cached wrapper, this time on get_presence_state()Paul "LeoNerd" Evans1-2/+8
2015-03-27Allow registration in the HSes federation demomanuroe1-0/+1
2015-03-26Fixes from PR commentsKegan Dougal2-3/+4
2015-03-25Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict()Paul "LeoNerd" Evans2-8/+34
2015-03-25Implement the 'key in dict' test for LruCache()Paul "LeoNerd" Evans1-0/+7
2015-03-25Unit-test that Cache() key eviction is orderedPaul "LeoNerd" Evans1-0/+18
2015-03-23Reduce activity timer granularity to avoid too many quick updates (SYN-247)Paul "LeoNerd" Evans1-0/+8
2015-03-20Put a cache on get_aliases_for_roomPaul "LeoNerd" Evans1-2/+8
2015-03-20Remember the 'last seen' time for a given user/IP/device combination and only...Paul "LeoNerd" Evans1-2/+30
2015-03-20Pull out the cache logic from the @cached wrapper into its own class we can r...Paul "LeoNerd" Evans2-36/+87
2015-03-20func(*EXPR) is valid Python syntax, really...Paul "LeoNerd" Evans1-2/+1
2015-03-20PEP8Erik Johnston1-1/+1
2015-03-20Give sensible names for '_simple_...' transactionsErik Johnston13-38/+93
2015-03-20Add the tiniest of tiny one-element caches to get_room_events_max_id() as it'...Paul "LeoNerd" Evans2-1/+3
2015-03-20Start removing TablesErik Johnston2-26/+29
2015-03-20Tidy up _simple_... methodsErik Johnston4-42/+62
2015-03-20Allow @cached-wrapped functions to have more or fewer than 1 argument; assert...Paul "LeoNerd" Evans1-13/+27
2015-03-20Rearrange storage modulesErik Johnston7-515/+493
2015-03-19Bump versionErik Johnston1-1/+1
2015-03-19Add missing servlet to listErik Johnston1-0/+1
2015-03-19Bump versionErik Johnston1-1/+1
2015-03-19D'oh - setup.py used the dict directly: make it use the wrapper function.David Baker1-1/+1
2015-03-18Update CHANGESErik Johnston1-0/+9
2015-03-18Bump versionErik Johnston1-1/+1
2015-03-18Factor out user id validation checksErik Johnston2-9/+13
2015-03-18Do more validation of incoming requestErik Johnston1-3/+3
2015-03-18Clean out event_forward_extremities table when the server rejoins the roomErik Johnston2-0/+14
2015-03-17@cached() annotate get_user_by_token() - achieves a minor DB performance impr...Paul "LeoNerd" Evans2-2/+7
2015-03-17Be polite and ensure we use @functools.wraps() when creating a function decor...Paul "LeoNerd" Evans1-0/+2
2015-03-17pep8David Baker1-2/+3
2015-03-17Wire up the webclient optionDavid Baker3-8/+24
2015-03-16Add a DistributionMetric to HTTP request/response processing time in the serverPaul "LeoNerd" Evans1-0/+9
2015-03-16Add a metric for the scheduling latency of SQL queriesPaul "LeoNerd" Evans1-0/+5
2015-03-16Set the service ID as soon as it is known.Kegan Dougal2-4/+5
2015-03-16Fix testsErik Johnston1-1/+1
2015-03-16Copy dict of context.current_state before changing it.Erik Johnston1-1/+1
2015-03-16Revert incorrect changes to where we send eventsErik Johnston1-3/+4
2015-03-16Implement ServiceQueuer with tests.Kegan Dougal2-23/+77
2015-03-16Don't block waiting on waking up all the listeners when sending an event.Erik Johnston1-1/+10
2015-03-16Replace EventGrouper for ServiceQueuer to move to push-based txns. Fix tests ...Kegan Dougal2-101/+60
2015-03-16Comment.Erik Johnston1-0/+3
2015-03-16Use 403 instead of 400Erik Johnston1-1/+1
2015-03-16Remove concept of context.auth_events, instead use context.current_stateErik Johnston5-33/+7
2015-03-16Wrap polling/retry blocks in try/excepts to avoid sending to other ASes break...Kegan Dougal1-29/+39
2015-03-16Minor PR comment tweaks.Kegan Dougal5-13/+19
2015-03-16Fix testErik Johnston1-1/+1
2015-03-16Send all membership events to the remote homeserverErik Johnston1-4/+3
2015-03-16Make context.auth_events grap auth events from current state. Otherwise auth ...Erik Johnston2-18/+12
2015-03-16Respect ban membershipErik Johnston1-5/+17
2015-03-14add ToC and fix typoeMatthew Hodgson1-1/+4
2015-03-14actually uphold the bind_host parameter. in theory should make ipv6 binds wor...Matthew Hodgson2-3/+13
2015-03-14uncommited WIP from MWCMatthew Hodgson2-12/+15
2015-03-13Add note about disabling registration by defaultErik Johnston1-0/+11
2015-03-13Allow enabling of registration with --disable-registration falseErik Johnston1-2/+8
2015-03-13Rename register script to 'register_new_matrix_user'Erik Johnston2-1/+1
2015-03-13Change default server url to match default portsErik Johnston1-2/+2
2015-03-13PEP8Erik Johnston1-1/+1
2015-03-13Add 'register_new_user' scriptErik Johnston2-1/+150
2015-03-13Add missing commasErik Johnston1-2/+2
2015-03-13Implement registering with shared secret.Erik Johnston4-5/+83
2015-03-13Disable registration by defaultErik Johnston1-0/+4
2015-03-13Also bump dependency link versionErik Johnston1-2/+2
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 mux...Paul "LeoNerd" Evans2-2/+15
2015-03-12Fold the slightly-odd bind_port/secure_port/etc.. logic into SynapseHomeServe...Paul "LeoNerd" Evans1-12/+11
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 to...Paul "LeoNerd" Evans1-7/+5
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 specifically-writ...Paul "LeoNerd" Evans3-41/+29
2015-03-12Add an .inc_by() method to CounterMetric; implement DistributionMetric a neat...Paul "LeoNerd" Evans2-26/+16
2015-03-12Rename the timer metrics exported by synapse.storage to append _time, so the ...Paul "LeoNerd" Evans1-3/+3
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 othe...Paul "LeoNerd" Evans1-6/+5
2015-03-12Export CacheMetric as hits+total, rather than hits+misses, as it's easier to ...Paul "LeoNerd" Evans2-8/+9
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 nam...Paul "LeoNerd" Evans1-2/+9
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 t...Paul "LeoNerd" Evans1-3/+20
2015-03-12Put some gauge metrics on the number of notifier listeners, and notified-on o...Paul "LeoNerd" Evans1-0/+39
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 b...Paul "LeoNerd" Evans1-18/+15
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 t...Paul "LeoNerd" Evans1-4/+11
2015-03-12Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric component...Paul "LeoNerd" Evans4-19/+30
2015-03-12Ensure that exceptions while rendering individual metrics don't stop others f...Paul "LeoNerd" Evans1-1/+10
2015-03-12Add a scalar gauge metric on the size of the presence user cachemapPaul "LeoNerd" Evans1-0/+7
2015-03-12Initial attempt at a scalar callback-based metric to give instantaneous snaps...Paul "LeoNerd" Evans3-2/+45
2015-03-12Sprinkle some CacheCounterMetrics around the synapse.storage layerPaul "LeoNerd" Evans1-1/+15
2015-03-12Create the concept of a cachecounter metric; generating two counters specific...Paul "LeoNerd" Evans3-8/+73
2015-03-12Add vector counters to HTTP clients and servers; count the requests by method...Paul "LeoNerd" Evans3-4/+61
2015-03-12Pull out all uses of the underlying HTTP user agent .request() method into a ...Paul "LeoNerd" Evans1-5/+10
2015-03-12Initial attempt at sprinkling some @metrics.counted decorations around the fe...Paul "LeoNerd" Evans2-0/+28
2015-03-12Have the Metric