diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index da10788e96..5861861c61 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -1352,3 +1352,18 @@ password_config: # module: "my_custom_project.SuperRulesSet" # config: # example_option: 'things' + + +## Tracer ## + +#tracer: +# # Enable / disable tracer +# tracer_enabled: false +# # The list of users who's requests will be traced +# # The list is a list of regex which is matched against the user_id +# user_whitelist: +# - "*" +# # The list of homeservers we wish to trace across +# # The list is a list of regex which is matched against the homeserver name +# homeserver_whitelist: +# - "*" diff --git a/synapse/config/tracer.py b/synapse/config/tracer.py index 5eab97ef8a..9df9f9c64e 100644 --- a/synapse/config/tracer.py +++ b/synapse/config/tracer.py @@ -47,17 +47,17 @@ class TracerConfig(Config): return """\ ## Tracer ## - tracer: - # Enable / disable tracer - tracer_enabled: false - # The list of users who's requests will be traced - # The list is a list of regex which is matched against the user_id - user_whitelist: - - "*" - # The list of homeservers we wish to trace across - # The list is a list of regex which is matched against the homeserver name - homeserver_whitelist: - - "*" + #tracer: + # # Enable / disable tracer + # tracer_enabled: false + # # The list of users who's requests will be traced + # # The list is a list of regex which is matched against the user_id + # user_whitelist: + # - "*" + # # The list of homeservers we wish to trace across + # # The list is a list of regex which is matched against the homeserver name + # homeserver_whitelist: + # - "*" """