summary refs log tree commit diff
path: root/synapse/util/metrics.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-18Fix logcontext spam on non-Linux platformsJ. Ryan Stinnett2-2/+12
This checks whether the current platform supports thread resource usage tracking before logging a warning to avoid log spam. Fixes https://github.com/matrix-org/synapse/issues/6055
2019-09-10Add a build info metric to Prometheus (#6005)Amber Brown3-2/+33
2019-09-09Fix code style, againJason Robinson1-3/+1
Signed-off-by: Jason Robinson <jasonr@matrix.org>
2019-09-09Fix commentsErik Johnston1-2/+3
2019-09-09Simplify count_real_users SQL to only count user_type is null rowsJason Robinson1-1/+1
Signed-off-by: Jason Robinson <jasonr@matrix.org>
2019-09-09Simplify is_real_user_txn check to trust user_type is null if real userJason Robinson1-1/+1
Signed-off-by: Jason Robinson <jasonr@matrix.org>
2019-09-09Default to censoring redactions after seven daysErik Johnston2-7/+11
2019-09-09Use better names in SQLErik Johnston1-5/+8
2019-09-09Fixup commentErik Johnston1-4/+12
2019-09-09Don't start looping call unless enabledErik Johnston1-1/+2
2019-09-09