aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-25 02:06:07 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-25 02:06:07 +0800
commitaff8adb1ff9e1cf463a6445a4ebbee7086a94d99 (patch)
treef6f94a2050b99cf6b7d2e5b2d662d2410126aabb /main.go
parentFix regression in tree/raw dir handling (diff)
downloadforge-aff8adb1ff9e1cf463a6445a4ebbee7086a94d99.tar.gz
forge-aff8adb1ff9e1cf463a6445a4ebbee7086a94d99.tar.zst
forge-aff8adb1ff9e1cf463a6445a4ebbee7086a94d99.zip
Revert "Add prometheus"
This reverts commit bb3b881a0cef2248e15452ed1eead630b9ba0f75.
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 0 insertions, 5 deletions
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 {}
}