From cc0c84570cd0d0d7c7383760a98d60a33987498a Mon Sep 17 00:00:00 2001
From: squahtx
Synapse v1.71.0 disables legacy Prometheus metric names by default.
+For administrators that still rely on them and have not yet had chance to update their
+uses of the metrics, it's still possible to specify enable_legacy_metrics: true
in
+the configuration to re-enable them temporarily.
Synapse v1.73.0 will remove legacy metric names altogether and at that point, +it will no longer be possible to re-enable them.
+If you do not use metrics or you have already updated your Grafana dashboard(s), +Prometheus console(s) and alerting rule(s), there is no action needed.
+See v1.69.0: Deprecation of legacy Prometheus metric names.
Synapse now includes information indicating if a receipt applies to a thread when @@ -5265,8 +5275,8 @@ Defaults to false.
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;The duplicated metrics deprecated in Synapse 0.27.0 have been removed.
@@ -14330,11 +14343,11 @@ config value.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.
It is possible to monitor much of the internal state of Synapse using Prometheus -- cgit 1.4.1