You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
w.Write([]byte("<html><head><title>Oracle DB Exporter "+Version+"</title></head><body><h1>Oracle DB Exporter "+Version+"</h1><p><a href='"+*metricPath+"'>Metrics</a></p></body></html>"))
94
96
})
95
97
98
+
// start a ticker to cause rebirth
99
+
ticker:=time.NewTicker(time.Minute*10)
100
+
deferticker.Stop()
101
+
102
+
gofunc() {
103
+
for {
104
+
<-ticker.C
105
+
level.Info(logger).Log("msg", "Attempting to free OS memory...")
106
+
debug.FreeOSMemory()
107
+
}
108
+
// level.Info(logger).Log("msg", "Restarting the universe...")
0 commit comments