diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-25 02:06:07 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-25 02:06:07 +0800 |
commit | aff8adb1ff9e1cf463a6445a4ebbee7086a94d99 (patch) | |
tree | f6f94a2050b99cf6b7d2e5b2d662d2410126aabb /main.go | |
parent | Fix regression in tree/raw dir handling (diff) | |
download | forge-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.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 {} } |