Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -2/+1 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Clean up some LoggingContext stuff (#7120) | Richard van der Hoff | 2020-03-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | * Pull Sentinel out of LoggingContext ... and drop a few unnecessary references to it * Factor out LoggingContext.current_context move `current_context` and `set_context` out to top-level functions. Mostly this means that I can more easily trace what's actually referring to LoggingContext, but I think it's generally neater. * move copy-to-parent into `stop` this really just makes `start` and `stop` more symetric. It also means that it behaves correctly if you manually `set_log_context` rather than using the context manager. * Replace `LoggingContext.alive` with `finished` Turn `alive` into `finished` and make it a bit better defined. | ||||
* | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 1 | -1/+1 |
| | | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. | ||||
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | Make the metrics less racy (#4061) | Amber Brown | 2018-10-19 | 1 | -13/+18 |
| | |||||
* | Fix more b'abcd' noise in metrics | Richard van der Hoff | 2018-09-17 | 1 | -11/+11 |
| | |||||
* | Fix typo | Erik Johnston | 2018-08-21 | 1 | -4/+4 |
| | |||||
* | Make the in flight requests metrics thread safe | Erik Johnston | 2018-08-20 | 1 | -3/+10 |
| | |||||
* | pep8 | Erik Johnston | 2018-07-18 | 1 | -1/+2 |
| | |||||
* | Add response code to response timer metrics | Erik Johnston | 2018-07-18 | 1 | -3/+5 |
| | |||||
* | Refactor logcontext resource usage tracking (#3501) | Richard van der Hoff | 2018-07-10 | 1 | -66/+17 |
| | | | | | Factor out the resource usage tracking out to a separate object, which can be passed around and copied independently of the logcontext itself. | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -1/+1 |
| | |||||
* | Fix inflight requests metric (incorrect name & traceback) (#3413) | Amber Brown | 2018-06-20 | 1 | -3/+7 |
| | |||||
* | update to more consistently use seconds in any metrics or logging | Amber Brown | 2018-05-28 | 1 | -19/+19 |
| | |||||
* | update metrics to be in seconds | Amber Brown | 2018-05-28 | 1 | -3/+3 |
| | |||||
* | fixes | Amber Brown | 2018-05-23 | 1 | -7/+7 |
| | |||||
* | cleanup pep8 errors | Amber Brown | 2018-05-22 | 1 | -28/+86 |
| | |||||
* | cleanups, self-registration | Amber Brown | 2018-05-22 | 1 | -12/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/develop' into 3218-official-prom | Amber Brown | 2018-05-22 | 1 | -1/+136 |
|\ | |||||
| * | Don't store context | Erik Johnston | 2018-05-22 | 1 | -8/+5 |
| | | |||||
| * | Move in_flight_requests_count to be a callback metric | Erik Johnston | 2018-05-22 | 1 | -10/+21 |
| | | |||||
| * | Add in flight request metrics | Erik Johnston | 2018-05-21 | 1 | -1/+151 |
| | | | | | | | | | | This tracks CPU and DB usage while requests are in flight, rather than when we write the response. | ||||
* | | rest of the changes | Amber Brown | 2018-05-21 | 1 | -83/+23 |
|/ | |||||
* | Move outgoing_responses_counter handling to RequestMetrics | Richard van der Hoff | 2018-05-10 | 1 | -0/+2 |
| | | | | it's much neater there. | ||||
* | Make RequestMetrics take a raw time rather than a clock | Richard van der Hoff | 2018-05-10 | 1 | -4/+4 |
| | | | | ... which is going to make it easier to move around. | ||||
* | Move RequestsMetrics to its own file | Richard van der Hoff | 2018-05-09 | 1 | -0/+147 |
This is useful in its own right, because server.py is full of stuff; but more importantly, I want to do some refactoring that will cause a circular reference as it is. |