mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-09 15:47:08 +02: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 New Issue
Block a user