2 Commits

Author SHA1 Message Date
  Stephen McQuay b8491e384d
Adds dummy prom metrics for alerting 1 year ago
  Stephen McQuay 3a1f698ead
Adds dummy prom metrics for alerting 1 year ago
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      control.go

+ 1
- 1
control.go View File

@@ -110,7 +110,7 @@ func NewController(conf Config, mprof, pprof, staticFiles string) *http.ServeMux
110 110
 	sm.HandleFunc(prefix["fsu"], c.KillServer)
111 111
 	sm.HandleFunc(prefix["info"], c.Info)
112 112
 	sm.HandleFunc(prefix["metrics"], func(w http.ResponseWriter, req *http.Request) {
113
-		fmt.Fprintf(w, "up 1")
113
+		fmt.Fprintf(w, "up 1\n")
114 114
 	})
115 115
 
116 116
 	return sm

Loading…
Cancel
Save