mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +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
|
|
@ -711,6 +711,17 @@ schema:addMetric("num_keys")
|
|||
|
||||
-- ################################################
|
||||
|
||||
schema = ts_utils.newSchema("redis:reads_writes", {
|
||||
metrics_type = ts_utils.metrics.counter,
|
||||
is_system_schema = true,
|
||||
step = 60
|
||||
})
|
||||
schema:addTag("ifid")
|
||||
schema:addMetric("num_reads")
|
||||
schema:addMetric("num_writes")
|
||||
|
||||
-- ################################################
|
||||
|
||||
-- Cache
|
||||
schema = ts_utils.newSchema("redis:hits", {
|
||||
metrics_type = ts_utils.metrics.gauge,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue