From 685d6b354e020649d649d5bf2c66bea001220711 Mon Sep 17 00:00:00 2001 From: Johan Ryberg Date: Thu, 27 Feb 2025 16:59:49 +0100 Subject: [PATCH] fix: Added logging when connected --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 5ce0635..02d3818 100644 --- a/main.go +++ b/main.go @@ -217,6 +217,7 @@ func runServer(c *cli.Context) error { } time.Sleep(5 * time.Second) } + log.Infof("Connected to %s", c.String("endpoint")) // init the router and server http.Handle("/metrics", promhttp.Handler())