Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove legacy Prometheus metrics names. They were deprecated in Synapse ↵ | reivilibre | 2022-11-24 | 1 | -2/+0 |
| | | | | v1.69.0 and disabled by default in Synapse v1.71.0. (#14538) | ||||
* | Disable legacy Prometheus metric names by default. They can still be ↵ | reivilibre | 2022-11-02 | 1 | -1/+1 |
| | | | | re-enabled for now, but they will be removed altogether in Synapse 1.73.0. (#14353) | ||||
* | Announce that legacy metric names are deprecated, will be turned off by ↵ | reivilibre | 2022-10-03 | 1 | -26/+0 |
| | | | | default in Synapse v1.71.0 and removed altogether in Synapse v1.73.0. (#14024) | ||||
* | Add experimental configuration option to allow disabling legacy Prometheus ↵ | reivilibre | 2022-08-24 | 1 | -0/+29 |
| | | | | | metric names. (#13540) Co-authored-by: David Robertson <davidr@element.io> | ||||
* | Allow dependency errors to pass through (#13113) | Jacek Kuśnierz | 2022-06-30 | 1 | -7/+2 |
| | | | | Signed-off-by: Jacek Kusnierz <jacek.kusnierz@tum.de> Co-authored-by: Brendan Abolivier <babolivier@matrix.org> | ||||
* | Remove code generating comments in configuration file (#12941) | Shay | 2022-06-14 | 1 | -41/+3 |
| | |||||
* | Add missing type hints to config classes. (#12402) | Patrick Cloke | 2022-04-11 | 1 | -2/+7 |
| | |||||
* | Use importlib.metadata to read requirements (#12088) | David Robertson | 2022-03-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * Pull runtime dep checks into their own module * Reimplement `check_requirements` using `importlib` I've tried to make this clearer. We start by working out which of Synapse's requirements we need to be installed here and now. I was surprised that there wasn't an easier way to see which packages were installed by a given extra. I've pulled out the error messages into functions that deal with "is this for an extra or not". And I've rearranged the loop over two different sets of requirements into one loop with a "must be instaled" flag. I hope you agree that this is clearer. * Test cases | ||||
* | Additional type hints for the config module, part 2. (#11480) | Patrick Cloke | 2021-12-09 | 1 | -2/+4 |
| | |||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Enable flake8-bugbear, but disable most checks. (#9499) | Jonathan de Jong | 2021-03-16 | 1 | -1/+3 |
| | | | | * Adds B00 to ignored checks. * Fixes remaining issues. | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Fix some DETECTED VIOLATIONS in the config file (#7550) | Richard van der Hoff | 2020-05-22 | 1 | -1/+2 |
| | | | consistency ftw | ||||
* | Fix a small typo in the `metrics_flags` config option. (#7171) | Andrew Morgan | 2020-03-30 | 1 | -1/+1 |
| | |||||
* | Add config linting script that checks for bool casing (#6203) | Andrew Morgan | 2019-10-23 | 1 | -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 Brown | 2019-10-10 | 1 | -0/+2 |
| | |||||
* | add report_stats_endpoint config option (#6012) | Sorunome | 2019-09-12 | 1 | -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 Schellekens | 2019-09-11 | 1 | -7/+5 |
| | |||||
* | Servers-known-about statistic (#5981) | Amber Brown | 2019-09-07 | 1 | -0/+31 |
| | |||||
* | Don't load the generated config as the default. | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
| | | | | It's too confusing. | ||||
* | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) | Richard van der Hoff | 2019-06-24 | 1 | -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 Brown | 2019-06-20 | 1 | -5/+3 |
| | |||||
* | Comment out most options in the generated config. (#4863) | Richard van der Hoff | 2019-03-19 | 1 | -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_format | Erik Johnston | 2019-02-20 | 1 | -0/+2 |
|\ | | | | | Fixup generated metrics config | ||||
| * | Fixup generated metrics config | Erik Johnston | 2019-02-20 | 1 | -0/+2 |
| | | |||||
* | | Attempt to make default config more consistent | Richard van der Hoff | 2019-02-19 | 1 | -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 message | Erik Johnston | 2019-02-18 | 1 | -5/+6 |
| | |||||
* | Fixup | Erik Johnston | 2019-02-18 | 1 | -1/+1 |
| | |||||
* | Fixup comments and add warning | Erik Johnston | 2019-02-13 | 1 | -2/+7 |
| | |||||
* | Raise an appropriate error message if sentry_sdk missing | Erik Johnston | 2019-02-12 | 1 | -1/+15 |
| | |||||
* | Basic sentry integration | Erik Johnston | 2019-02-12 | 1 | -0/+8 |
| | |||||
* | Add a script to generate a clean config file (#4315) | Richard van der Hoff | 2018-12-22 | 1 | -3/+9 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 1 | -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 options | Erik Johnston | 2015-06-12 | 1 | -6/+0 |
| | |||||
* | s/metric_interface/metric_bind_host/ | Erik Johnston | 2015-05-22 | 1 | -3/+3 |
| | |||||
* | Enable changing the interface the metrics listener binds to | Erik Johnston | 2015-05-22 | 1 | -1/+5 |
| | |||||
* | Update metrics.py | Mark Haines | 2015-04-30 | 1 | -2/+2 |
| | |||||
* | Manually generate the default config yaml, remove most of the commandline ↵ | Mark Haines | 2015-04-30 | 1 | -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" Evans | 2015-03-12 | 1 | -0/+5 |
| | | | | muxed on the main listener | ||||
* | Commandline option to enable metrics system | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -0/+31 |