From 62ca310ed9b338faafbd7eaa65bf05c9fd68524d Mon Sep 17 00:00:00 2001 From: richvdh Date: Thu, 8 Jul 2021 15:57:34 +0000 Subject: deploy: f6767abc054f3461cd9a70ba096fcf9a8e640edb --- develop/room_and_user_statistics.html | 48 ++++------------------------------- 1 file changed, 5 insertions(+), 43 deletions(-) (limited to 'develop/room_and_user_statistics.html') diff --git a/develop/room_and_user_statistics.html b/develop/room_and_user_statistics.html index e328737f15..633b9ced88 100644 --- a/develop/room_and_user_statistics.html +++ b/develop/room_and_user_statistics.html @@ -183,9 +183,9 @@

Room and User Statistics

-

Synapse maintains room and user statistics (as well as a cache of room state), -in various tables. These can be used for administrative purposes but are also -used when generating the public room directory.

+

Synapse maintains room and user statistics in various tables. These can be used +for administrative purposes but are also used when generating the public room +directory.

Synapse Developer Documentation

High-Level Concepts

Definitions

@@ -193,48 +193,10 @@ used when generating the public room directory.

  • subject: Something we are tracking stats about – currently a room or user.
  • current row: An entry for a subject in the appropriate current statistics table. Each subject can have only one.
  • -
  • historical row: An entry for a subject in the appropriate historical -statistics table. Each subject can have any number of these.
  • Overview

    -

    Stats are maintained as time series. There are two kinds of column:

    - -

    Stats are maintained in two tables (for each type): current and historical.

    -

    Current stats correspond to the present values. Each subject can only have one -entry.

    -

    Historical stats correspond to values in the past. Subjects may have multiple -entries.

    -

    Concepts around the management of stats

    -

    Current rows

    -

    Current rows contain the most up-to-date statistics for a room. -They only contain absolute columns

    -

    Historical rows

    -

    Historical rows can always be considered to be valid for the time slice and -end time specified.

    - -

    Purge

    -

    The purging of historical rows is not yet implemented.

    +

    Stats correspond to the present values. Current rows contain the most up-to-date +statistics for a room. Each subject can only have one entry.

    -- cgit 1.5.1