1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-04-06 12:23:30 +00:00
synapse/synapse
Richard van der Hoff 6d2d42f8fb Rewrite BucketCollector
This was a bit unweildy for what I wanted: in particular, I wanted to assign
each measurement straight into a bucket, rather than storing an intermediate
Counter which didn't do any bucketing at all.

I've replaced it with something that is hopefully a bit easier to use.

(I'm not entirely sure what the difference between a HistogramMetricFamily and
a GaugeHistogramMetricFamily is, but given our counters can go down as well as
up the latter *sounds* more accurate?)
2020-09-30 16:49:15 +01:00
..
_scripts Remove obsolete __future__ imports () 2020-09-17 08:37:01 -04:00
api Don't push if an user account has expired () 2020-09-23 16:06:28 +01:00
app Simplify super() calls to Python 3 syntax. () 2020-09-18 09:56:44 -04:00
appservice Add type annotations to SimpleHttpClient () 2020-09-24 15:47:20 +01:00
config Update description of server_name config option () 2020-09-29 13:50:25 -04:00
crypto Fix occasional "Re-starting finished log context" from keyring () 2020-09-25 12:29:54 +01:00
events Various clean ups to room stream tokens. () 2020-09-29 21:48:33 +01:00
federation Mypy fixes for synapse.handlers.federation () 2020-09-29 15:57:36 +01:00
groups Simplify super() calls to Python 3 syntax. () 2020-09-18 09:56:44 -04:00
handlers Merge pull request from matrix-org/rav/state_res_stats 2020-09-30 10:37:52 +01:00
http Fix handling of connection timeouts in outgoing http requests () 2020-09-29 10:29:21 +01:00
logging Create a mechanism for marking tests "logcontext clean" () 2020-09-28 17:58:33 +01:00
metrics Rewrite BucketCollector 2020-09-30 16:49:15 +01:00
module_api Stop sub-classing object () 2020-09-04 06:54:56 -04:00
push Don't push if an user account has expired () 2020-09-23 16:06:28 +01:00
replication Various clean ups to room stream tokens. () 2020-09-29 21:48:33 +01:00
res/templates Escape the error description on the sso_error template. () 2020-09-25 11:05:54 -04:00
rest Various clean ups to room stream tokens. () 2020-09-29 21:48:33 +01:00
server_notices Stop sub-classing object () 2020-09-04 06:54:56 -04:00
spam_checker_api Stop sub-classing object () 2020-09-04 06:54:56 -04:00
state Report state res metrics to Prometheus and log 2020-09-29 17:35:20 +01:00
static Clean-up the fallback login code. () 2020-06-10 09:50:39 -04:00
storage Rewrite BucketCollector 2020-09-30 16:49:15 +01:00
streams Clean up types for PaginationConfig () 2020-09-08 15:00:17 +01:00
util Expose a get_resource_usage method in Measure 2020-09-29 17:35:20 +01:00
__init__.py 1.20.1 2020-09-24 16:25:33 +01:00
event_auth.py Convert events worker database to async/await. () 2020-08-18 16:20:49 -04:00
notifier.py Various clean ups to room stream tokens. () 2020-09-29 21:48:33 +01:00
python_dependencies.py Drop support for ancient prometheus_client () 2020-09-30 16:42:05 +01:00
secrets.py Stop sub-classing object () 2020-09-04 06:54:56 -04:00
server.py Fix ratelimiting for federation /send requests. () 2020-09-18 10:49:29 +01:00
types.py Various clean ups to room stream tokens. () 2020-09-29 21:48:33 +01:00
visibility.py Convert groups and visibility code to async / await. () 2020-07-27 12:32:08 -04:00