summary refs log tree commit diff
path: root/synapse/config/metrics.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Comment out most options in the generated config. (#4863)Richard van der Hoff2019-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | Make it so that most options in the config are optional, and commented out in the generated config. The reasons this is a good thing are as follows: * If we decide that we should change the default for an option, we can do so, and only those admins that have deliberately chosen to override that option will be stuck on the old setting. * It moves us towards a point where we can get rid of the super-surprising feature of synapse where the default settings for the config come from the generated yaml. * It makes setting up a test config for unit testing an order of magnitude easier (see forthcoming PR). * It makes the generated config more consistent, and hopefully easier for users to understand.
* Merge pull request #4694 from matrix-org/erikj/fix_sentry_config_formatErik Johnston2019-02-201-0/+2
|\ | | | | Fixup generated metrics config
| * Fixup generated metrics configErik Johnston2019-02-201-0/+2
| |
* | Attempt to make default config more consistentRichard van der Hoff2019-02-191-0/+2
|/ | | | | | The general idea here is that config examples should just have a hash and no extraneous whitespace, both to make it easier for people who don't understand yaml, and to make the examples stand out from the comments.
* Fixup error handling and messageErik Johnston2019-02-181-5/+6
|
* FixupErik Johnston2019-02-181-1/+1
|
* Fixup comments and add warningErik Johnston2019-02-131-2/+7
|
* Raise an appropriate error message if sentry_sdk missingErik Johnston2019-02-121-1/+15
|
* Basic sentry integrationErik Johnston2019-02-121-0/+8
|
* Add a script to generate a clean config file (#4315)Richard van der Hoff2018-12-221-3/+9
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-3/+5
| | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set.
* Add backwards compat support for metrics, manhole and webclient config optionsErik Johnston2015-06-121-6/+0
|
* s/metric_interface/metric_bind_host/Erik Johnston2015-05-221-3/+3
|
* Enable changing the interface the metrics listener binds toErik Johnston2015-05-221-1/+5
|
* Update metrics.pyMark Haines2015-04-301-2/+2
|
* Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-301-16/+13
| | | | arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class
* Option to serve metrics from their own localhost-only TCP port instead of ↵Paul "LeoNerd" Evans2015-03-121-0/+5
| | | | muxed on the main listener
* Commandline option to enable metrics systemPaul "LeoNerd" Evans2015-03-121-0/+31