From 81fcbc12d942ae6c2c130b971ca9e24e6b967fdc Mon Sep 17 00:00:00 2001 From: Mathias Petermann Date: Mon, 29 Aug 2022 22:00:05 +0200 Subject: [PATCH] Add form to index page, similar to snmp exporter --- main.go | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index eae08f9..9cbbe86 100644 --- a/main.go +++ b/main.go @@ -45,9 +45,27 @@ var ( mystromRequestsCounterVec *prometheus.CounterVec ) var landingPage = []byte(` -myStrom switch report Exporter + + myStrom switch report Exporter + +

myStrom Exporter

+
+
+ +

Metrics

`)