From fab726e8619c4ff42552d4f1a4af41a2565677df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20Dahl=C3=A9n?= <85930202+kickster97@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:12:00 +0100 Subject: [PATCH] remove duplicate metric rss_bytes from PrometheusWriter (#881) --- src/lavinmq/http/controller/prometheus.cr | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lavinmq/http/controller/prometheus.cr b/src/lavinmq/http/controller/prometheus.cr index bf480ed54f..fb4a85a4cd 100644 --- a/src/lavinmq/http/controller/prometheus.cr +++ b/src/lavinmq/http/controller/prometheus.cr @@ -244,10 +244,6 @@ module LavinMQ value: @amqp_server.user_time, type: "gauge", help: "Total CPU user time"}) - writer.write({name: "rss_bytes", - type: "gauge", - value: @amqp_server.rss, - help: "Memory RSS in bytes"}) writer.write({name: "stats_collection_duration_seconds_total", value: @amqp_server.stats_collection_duration_seconds_total.to_f, type: "gauge",