diff options
author | Ivan Shapovalov <intelfx@intelfx.name> | 2020-05-22 13:08:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 11:08:41 +0100 |
commit | ac481a738eac021e07e591d8de0fa5f741574103 (patch) | |
tree | 0d40753054d2d0500db846f972c45dfc15bf0f98 /changelog.d/7536.misc | |
parent | Refresh apt cache when building dh_virtualenv docker image (#7555) (diff) | |
download | synapse-ac481a738eac021e07e591d8de0fa5f741574103.tar.xz |
synapse.metrics: implement detailed memory usage reporting on PyPy (#7536)
PyPy's gc.get_stats() returns an object containing detailed allocator statistics which could be beneficial to collect as metrics. Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
Diffstat (limited to 'changelog.d/7536.misc')
-rw-r--r-- | changelog.d/7536.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7536.misc b/changelog.d/7536.misc new file mode 100644 index 0000000000..c1211167fc --- /dev/null +++ b/changelog.d/7536.misc @@ -0,0 +1 @@ +Synapse now exports [detailed allocator statistics](https://doc.pypy.org/en/latest/gc_info.html#gc-get-stats) and basic GC timings as Prometheus metrics (`pypy_gc_time_seconds_total` and `pypy_memory_bytes`) when run under PyPy. Contributed by Ivan Shapovalov. |