Rename measure in metric for active monitoring ts

Closes #3837
This commit is contained in:
emanuele-f 2020-04-27 14:34:44 +02:00
parent a1b72d6447
commit 2648ae372f
10 changed files with 28 additions and 16 deletions

View file

@ -53,7 +53,7 @@ local function check_http(hosts, granularity)
ts_utils.append("am_host:https_stats_" .. granularity, {
ifid = getSystemInterfaceId(),
host = host.host,
measure = host.measurement,
metric = host.measurement,
lookup_ms = lookup_time,
connect_ms = connect_time,
other_ms = (total_time - lookup_time - connect_time),
@ -62,7 +62,7 @@ local function check_http(hosts, granularity)
ts_utils.append("am_host:http_stats_" .. granularity, {
ifid = getSystemInterfaceId(),
host = host.host,
measure = host.measurement,
metric = host.measurement,
lookup_ms = lookup_time,
other_ms = (total_time - lookup_time),
}, when)