ctucx.git: fritzbox-exporter

[nimlang] prometheus exporter for lte fritzboxes

commit 2e4762465179097b028bfa695389392415c7d112
parent 4888bd75374ec1a58ab66f0592c3408d9bf94da1
Author: Isabelle K <hi@f2k1.de>
Date: Tue, 20 Apr 2021 18:12:45 +0200

fix typo
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fb_exporter.nim b/src/fb_exporter.nim
@@ -36,7 +36,7 @@ proc prometheusResponse* (request: Request, state: JsonNode) {.async.} =
 
       if data["ue0"].hasKey("conn_rate_rx"):
         let downstream = data["ue0"]["conn_rate_rx"].getInt()
-        res &= "fritzbox_network_downstram " & $(downstream) & " " & $(lastUpdated * 1000) & "\n"
+        res &= "fritzbox_network_downstream " & $(downstream) & " " & $(lastUpdated * 1000) & "\n"
 
 
       if data["ue0"].hasKey("conn_rate_tx"):