summary refs log tree commit diff
path: root/synapse/config/metrics.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add config linting script that checks for bool casing (#6203)Andrew Morgan2019-10-231-1/+1
| | | | | Add a linting script that enforces all boolean values in the default config be lowercase. This has annoyed me for a while so I decided to fix it.
* Refactor HomeserverConfig so it can be typechecked (#6137)Amber Brown2019-10-101-0/+2
|
* add report_stats_endpoint config option (#6012)Sorunome2019-09-121-0/+9
| | | This PR adds the optional `report_stats_endpoint` to configure where stats are reported to, if enabled.
* Check dependencies on setup in the nicer way. (#5989)Jorik Schellekens2019-09-111-7/+5
|
* Servers-known-about statistic (#5981)Amber Brown2019-09-071-0/+31
|
* Don't load the generated config as the default.Richard van der Hoff2019-06-241-1/+1
| | | | It's too confusing.
* Pass config_dir_path and data_dir_path into Config.read_config. (#5522)Richard van der Hoff2019-06-241-1/+1
| | | | | | * Pull config_dir_path and data_dir_path calculation out of read_config_files * Pass config_dir_path and data_dir_path into read_config
* Run Black. (#5482)Amber Brown2019-06-201-5/+3
|
* 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