From edf8d08a3e2215b09ea83c75444756c881b37382 Mon Sep 17 00:00:00 2001
From: reivilibre
enable_metrics: true
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 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;_total
suffix, such as synapse_federation_client_sent_edus
, therefore not adhering to the OpenMetrics standard.These legacy metric names are unconventional and not compliant with OpenMetrics standards. -They are included for backwards compatibility.
-Example configuration:
-enable_legacy_metrics: false
-
-See https://github.com/matrix-org/synapse/issues/11106 for context.
-Since v1.67.0.
-sentry
Use this option to enable sentry integration. Provide the DSN assigned to you by sentry
with the dsn
setting.