Skip to content

Commit

Permalink
remove duplicate metric rss_bytes from PrometheusWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 committed Dec 13, 2024
1 parent 5faa7f1 commit ebf87f8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lavinmq/http/controller/prometheus.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ebf87f8

Please sign in to comment.