mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-21 07:42:53 +00:00
Register the metrics we collect
This commit is contained in:
@@ -23,6 +23,7 @@ var (
|
||||
)
|
||||
|
||||
func Handle(address string) error {
|
||||
Register(prometheus.DefaultRegisterer)
|
||||
handler := promhttp.Handler()
|
||||
return http.ListenAndServe(address, handler)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user