Skip to content

Commit

Permalink
remove duplicate metric rss_bytes from PrometheusWriter (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 authored Dec 16, 2024
1 parent 4fe717c commit e027ee3
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 e027ee3

Please sign in to comment.