summary refs log tree commit diff
path: root/CHANGES.rst (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-24Use _simple_upsertErik Johnston2-5/+7
2015-03-23Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable.Erik Johnston4-16/+4
2015-03-23Sanitize RoomMemberStoreErik Johnston2-82/+61
2015-03-23Use 'update or insert' rather than on 'conflict replace'Erik Johnston1-10/+17
2015-03-23Sanitize TransactionStoreErik Johnston2-88/+105
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 ↵Paul "LeoNerd" Evans2-1/+3
it's read every time someone hits eventstream
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; ↵Paul "LeoNerd" Evans1-13/+27
assert on the total count of them though
2015-03-20Rearrange storage modulesErik Johnston7-515/+493
2015-03-20Rearrange storage modulesErik Johnston7-509/+486
2015-03-20Generate transaction id in codeErik Johnston1-1/+1
2015-03-20decode_result takes an iterableErik Johnston2-2/+5
2015-03-20Make database selection configurableErik Johnston2-11/+42
2015-03-20Fix up schemas some moreErik Johnston3-3/+3
2015-03-19Bump versionErik Johnston1-1/+1
2015-03-19Add missing servlet to listErik Johnston1-0/+1
2015-03-19Convert storage layer to be mysql compatibleErik Johnston13-101/+171
2015-03-19Remove redundant keyErik Johnston1-1/+0
2015-03-19Fix up schemas to work with mariadbErik Johnston15-84/+82
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-18Update schema to work with mariadbErik Johnston16-256/+224
2015-03-17@cached() annotate get_user_by_token() - achieves a minor DB performance ↵Paul "LeoNerd" Evans2-2/+7
improvement
2015-03-17Be polite and ensure we use @functools.wraps() when creating a function ↵Paul "LeoNerd" Evans1-0/+2
decorator
2015-03-17pep8David Baker1-2/+3
2015-03-17Wire up the webclient optionDavid Baker3-8/+24
It existed but was hardcoded to True. Give it an underscore for consistency. Also don't pull in syweb unless we're actually using the web client.
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-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-16Don't block waiting on waking up all the listeners when sending an event.Erik Johnston1-1/+10
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-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
is wrong.
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 ↵Matthew Hodgson2-3/+13
work like bind_host: 'fe80::1%lo0'
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 ↵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-03-12Initial attempt at a scalar callback-based metric to give instantaneous ↵Paul "LeoNerd" Evans3-2/+45
snapshot gauges
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 ↵Paul "LeoNerd" Evans3-8/+73
specific to caches
2015-03-12Add vector counters to HTTP clients and servers; count the requests by ↵Paul "LeoNerd" Evans3-4/+61
method and responses by method and response code
2015-03-12Pull out all uses of the underlying HTTP user agent .request() method into a ↵Paul "LeoNerd" Evans1-5/+10
single wrapper function, to make adding metrics easier
2015-03-12Initial attempt at sprinkling some @metrics.counted decorations around the ↵Paul "LeoNerd" Evans2-0/+28
federation code