Implements lua interpreters telemetry

This commit is contained in:
Simone Mainardi 2019-10-28 23:47:03 +01:00
parent 51f7a0a03f
commit cce73c2f44
17 changed files with 161 additions and 24 deletions

View file

@ -0,0 +1,16 @@
--
-- (C) 2019 - ntop.org
--
local ts_utils = require "ts_utils_core"
local schema
-------------------------------------------------------
-- HASH_TABLES SCHEMAS
-------------------------------------------------------
schema = ts_utils.newSchema("ht:lua_calls", {step = 5, rrd_fname="ht_lua_calls", metrics_type = ts_utils.metrics.gauge})
schema:addTag("ifid")
schema:addTag("hash_table")
schema:addMetric("num_ms")
schema:addMetric("num_calls")