From cc0c84570cd0d0d7c7383760a98d60a33987498a Mon Sep 17 00:00:00 2001
From: squahtx
When a request is blocked, the response will have the errcode
M_RESOURCE_LIMIT_EXCEEDED
.
Synapse records several different prometheus metrics for MAU.
-synapse_admin_mau:current
records the current MAU figure for native (non-application-service) users.
synapse_admin_mau:max
records the maximum MAU as dictated by the max_mau_value
config value.
synapse_admin_mau_current
records the current MAU figure for native (non-application-service) users.
synapse_admin_mau_max
records the maximum MAU as dictated by the max_mau_value
config value.
synapse_admin_mau_current_mau_by_service
records the current MAU including application service users. The label app_service
can be used
to filter by a specific service ID. This also includes non-application-service users under app_service=native
.
synapse_admin_mau:registered_reserved_users
records the number of users specified in mau_limits_reserved_threepids
which have
+
synapse_admin_mau_registered_reserved_users
records the number of users specified in mau_limits_reserved_threepids
which have
registered accounts on the homeserver.
enable_legacy_metrics
Set to true
to publish both legacy and non-legacy Prometheus metric names,
or to false
to only publish non-legacy Prometheus metric names.
-Defaults to true
. Has no effect if enable_metrics
is false
.
-In Synapse v1.71.0, this will default to false
before being removed in Synapse v1.73.0.
false
. Has no effect if enable_metrics
is false
.
+In Synapse v1.67.0 up to and including Synapse v1.70.1, this defaulted to true
.
Legacy metric names include:
synapse_util_caches_response_cache:hits
, because colons are supposed to be reserved for user-defined recording rules;