summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-25 11:37:02 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-25 11:37:02 +0000
commit87856c6aa923b92f8ffb874082c7d977b0859946 (patch)
treeeb28943bab11740a34630f0dcfb31f94d2790dcd /docs
parentEnsure a sid parameter is passed to bind_threepid (#5995) (diff)
parentServers-known-about statistic (#5981) (diff)
downloadsynapse-87856c6aa923b92f8ffb874082c7d977b0859946.tar.xz
Servers-known-about statistic (#5981)
Diffstat (limited to 'docs')
-rw-r--r--docs/sample_config.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 872ee379ce..1d86351356 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -1115,6 +1115,16 @@ account_threepid_delegates:
 #sentry:
 #    dsn: "..."
 
+# Flags to enable Prometheus metrics which are not suitable to be
+# enabled by default, either for performance reasons or limited use.
+#
+metrics_flags:
+    # Publish synapse_federation_known_servers, a g auge of the number of
+    # servers this homeserver knows about, including itself. May cause
+    # performance problems on large homeservers.
+    #
+    #known_servers: true
+
 # Whether or not to report anonymized homeserver usage statistics.
 # report_stats: true|false