mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 14:09:41 -08:00
web.StartServing prints listening address
This commit is contained in:
parent
a2a4f94aae
commit
862054e88b
|
@ -56,6 +56,7 @@ func StartServing(appState *appstate.ApplicationState) {
|
||||||
exp.Handle("/static/", http.StripPrefix("/static/", new(blob.Handler)))
|
exp.Handle("/static/", http.StripPrefix("/static/", new(blob.Handler)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Printf("listening on %s", *listenAddress)
|
||||||
go http.ListenAndServe(*listenAddress, exp.DefaultCoarseMux)
|
go http.ListenAndServe(*listenAddress, exp.DefaultCoarseMux)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue