From aff8adb1ff9e1cf463a6445a4ebbee7086a94d99 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 02:06:07 +0800 Subject: Revert "Add prometheus" This reverts commit bb3b881a0cef2248e15452ed1eead630b9ba0f75. --- main.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 89a8608..444e5b0 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,6 @@ import ( "syscall" "time" - "github.com/prometheus/client_golang/prometheus/promhttp" "go.lindenii.runxiyu.org/lindenii-common/clog" ) @@ -104,9 +103,5 @@ func main() { // IRC bot go ircBotLoop() - // Prometheus - http.Handle("/metrics", promhttp.Handler()) - go http.ListenAndServe(":9112", nil) - select {} } -- cgit v1.2.3