Implemented Redis Operations ts (#8938)

Co-authored-by: Frigo <ceroroot1@gmail.com>
This commit is contained in:
Manuel Ceroni 2025-02-04 16:15:51 +01:00 committed by GitHub
parent 4b3ea9efa1
commit b8b73f5672
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 40 additions and 1 deletions

View file

@ -85,6 +85,10 @@ function redis_api.getStats()
memory = redis_status["used_memory_rss"],
-- The number of keys in the database
dbsize = redis_status["dbsize"],
-- The number of reads in the database
reads = redis_status["total_reads_processed"],
-- The number of writes in the database
writes = redis_status["total_writes_processed"],
-- Health
health = getHealth(redis_status)
}