From ac481a738eac021e07e591d8de0fa5f741574103 Mon Sep 17 00:00:00 2001 From: Ivan Shapovalov Date: Fri, 22 May 2020 13:08:41 +0300 Subject: 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 --- changelog.d/7536.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/7536.misc (limited to 'changelog.d/7536.misc') 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. -- cgit 1.5.1