From ac37786b5c011c3dff8707732d013ed428bfe49d Mon Sep 17 00:00:00 2001 From: sberk42 Date: Wed, 2 Dec 2020 22:05:32 +0100 Subject: [PATCH] fixed ramusage metric definition --- metrics-lua.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/metrics-lua.json b/metrics-lua.json index f643acf..7b0045b 100644 --- a/metrics-lua.json +++ b/metrics-lua.json @@ -94,8 +94,8 @@ "resultKey": "-1", "fixedLabels": { "ram_type" : "Fixed" }, "promDesc": { - "fqName": "gateway_data_energy_consumption", - "help": "percentage of energy consumed from data.lua?page=energy", + "fqName": "gateway_data_ecostat_ramusage", + "help": "percentage of RAM utilization from data.lua?page=energy", "varLabels": [ "gateway", "ram_type" ] @@ -109,8 +109,8 @@ "resultKey": "-1", "fixedLabels": { "ram_type" : "Dynamic" }, "promDesc": { - "fqName": "gateway_data_energy_consumption", - "help": "percentage of energy consumed from data.lua?page=energy", + "fqName": "gateway_data_ecostat_ramusage", + "help": "percentage of RAM utilization from data.lua?page=energy", "varLabels": [ "gateway", "ram_type" ] @@ -124,8 +124,8 @@ "resultKey": "-1", "fixedLabels": { "ram_type" : "Free" }, "promDesc": { - "fqName": "gateway_data_energy_consumption", - "help": "percentage of energy consumed from data.lua?page=energy", + "fqName": "gateway_data_ecostat_ramusage", + "help": "percentage of RAM utilization from data.lua?page=energy", "varLabels": [ "gateway", "ram_type" ] @@ -161,6 +161,5 @@ "promType": "GaugeValue" } ] - }