summary refs log tree commit diff
path: root/synapse/storage/stats.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Convert `chain` to `list` as `chain` is only once iterable. github/rei/rss_inc6 rei/rss_inc6Olivier Wilkinson (reivilibre)2019-08-301-2/+2
* Merge branch 'rei/rss_target' into rei/rss_inc6Olivier Wilkinson (reivilibre)2019-08-301-0/+112
|\
| * Count total_events and total_event_bytes within the loop.Olivier Wilkinson (reivilibre)2019-08-291-4/+9
| * Add incremental counting for rooms' total events and total event bytes.Olivier Wilkinson (reivilibre)2019-08-281-0/+106
| * Add `total_event_bytes` to room statistics schema.Olivier Wilkinson (reivilibre)2019-08-281-0/+1
* | Code formatting (Black)Olivier Wilkinson (reivilibre)2019-08-291-12/+30
* | Upsert fixesOlivier Wilkinson (reivilibre)2019-08-281-8/+15
* | Hoist up None check to prevent trying to iterate over NoneType.keys()Olivier Wilkinson (reivilibre)2019-08-281-3/+4
|/
* Merge branch 'rei/rss_target' into rei/rss_inc3Olivier Wilkinson (reivilibre)2019-08-281-87/+94
|\
| * Code formatting (Black) github/rei/rss_inc2 rei/rss_inc2Olivier Wilkinson (reivilibre)2019-08-281-1/+3
| * Update synapse/storage/stats.pyreivilibre2019-08-281-1/+1
| * Clean up code with improved naming and hoist around functions.Olivier Wilkinson (reivilibre)2019-08-271-79/+91
| * Fix logic error.Olivier Wilkinson (reivilibre)2019-08-271-1/+2
| * Rename `room_state` table to `room_stats_state`Olivier Wilkinson (reivilibre)2019-08-271-1/+1
| * Remove obsolete `OldCollectionRequired` as old collection is obsolete.Olivier Wilkinson (reivilibre)2019-08-271-6/+0
* | Use `DeferredLock` instead of `threading.Lock`Olivier Wilkinson (reivilibre)2019-08-271-2/+3
* | Fix logic error.Olivier Wilkinson (reivilibre)2019-08-271-1/+2
* | Invalidate `get_earliest_token_for_stats` cache as required.Olivier Wilkinson (reivilibre)2019-08-271-0/+1
* | For user stats, handle other membership transitions properly.Olivier Wilkinson (reivilibre)2019-08-271-4/+1
* | Merge branch 'rei/rss_inc2' into rei/rss_inc3Olivier Wilkinson (reivilibre)2019-08-271-99/+214
|\|
| * Switch to milliseconds in room/user stats for consistency.Olivier Wilkinson (reivilibre)2019-08-271-1/+2
| * Code formatting (Black)Olivier Wilkinson (reivilibre)2019-08-271-5/+5
| * Lock tables in upsert fall-backs.Olivier Wilkinson (reivilibre)2019-08-271-0/+2
| * Apply minor suggestions from reviewOlivier Wilkinson (reivilibre)2019-08-271-4/+3
| * Clarify `_update_stats_delta_txn` by adding code comments and kwargs.Olivier Wilkinson (reivilibre)2019-08-271-16/+18
| * Apply suggestions from code reviewreivilibre2019-08-271-2/+2
| * Fix up historical stats support.Olivier Wilkinson (reivilibre)2019-08-221-11/+32
| * Simplify table structureOlivier Wilkinson (reivilibre)2019-08-221-109/+171
| * Clarify `_update_stats_delta_txn`Olivier Wilkinson (reivilibre)2019-08-201-2/+15
| * Sanitise accepted fields in `_update_stats_delta_txn`Olivier Wilkinson (reivilibre)2019-08-201-0/+12
| * Update synapse/storage/stats.pyreivilibre2019-08-201-1/+1
| * Update synapse/storage/stats.pyreivilibre2019-08-201-1/+1
| * Ack, isort!Olivier Wilkinson (reivilibre)2019-08-201-1/+2
* | Handle state deltas and turn them into stats deltasOlivier Wilkinson (reivilibre)2019-08-201-1/+111
|/
* Add storage function for storing stats deltasOlivier Wilkinson (reivilibre)2019-08-201-2/+169
* Tear out current room & user statistics (#5880)reivilibre2019-08-201-409/+3
* Stop trying to fetch events with event_id=None. (#5753)Richard van der Hoff2019-07-241-9/+11
* Replace returnValue with return (#5736)Amber Brown2019-07-231-8/+8
* Run Black. (#5482)Amber Brown2019-06-201-10/+24
* FixErik Johnston2019-06-031-1/+2
* Ignore room state with null bytes in for room statsErik Johnston2019-06-031-0/+15
* Add indices. Remove room_ids accidentally addedErik Johnston2019-05-311-13/+28
* Move deletion from table inside txnErik Johnston2019-05-301-2/+5
* Fetch membership counts all at onceErik Johnston2019-05-301-16/+7
* Get events all at onceErik Johnston2019-05-301-33/+26
* Fix logging for room stats background updateTravis Ralston2019-05-251-1/+1
* Room Statistics (#4338)Amber Brown2019-05-211-0/+450