mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Implemented Redis Operations ts (#8938)
Co-authored-by: Frigo <ceroroot1@gmail.com>
This commit is contained in:
parent
4b3ea9efa1
commit
b8b73f5672
6 changed files with 40 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue