From 95b0d4a92aab4c0be6f6a1cf5adc31be9ad05df6 Mon Sep 17 00:00:00 2001 From: shenzhuan Date: Fri, 11 Nov 2022 15:39:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=AE=E7=BD=97=E7=B1=B3=E4=BF=AE=E6=96=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prometheus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus.go b/prometheus.go index d61f09c..567052c 100644 --- a/prometheus.go +++ b/prometheus.go @@ -13,7 +13,7 @@ func PrometheusBoot(port int) { go func() { err := http.ListenAndServe("0.0.0.0"+strconv.Itoa(port), nil) if err != nil { - log.Fatal("启动普罗米修斯失败!") + log.Fatal("启动普罗米修斯失败!", err) } log.Println("启动普罗米修斯监控成功! 端口:" + strconv.Itoa(port)) }()