mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge "Fix console handler."
This commit is contained in:
commit
443fd93536
|
@ -65,7 +65,7 @@ func (w WebService) ServeForever() error {
|
||||||
"/alerts", w.AlertsHandler,
|
"/alerts", w.AlertsHandler,
|
||||||
))
|
))
|
||||||
http.Handle("/consoles/", prometheus.InstrumentHandler(
|
http.Handle("/consoles/", prometheus.InstrumentHandler(
|
||||||
"/consoles/", http.StripPrefix("/static/", http.FileServer(http.Dir("web/static"))),
|
"/consoles/", http.StripPrefix("/consoles/", w.ConsolesHandler),
|
||||||
))
|
))
|
||||||
http.Handle("/graph", prometheus.InstrumentHandler(
|
http.Handle("/graph", prometheus.InstrumentHandler(
|
||||||
"/graph", http.HandlerFunc(graphHandler),
|
"/graph", http.HandlerFunc(graphHandler),
|
||||||
|
|
Loading…
Reference in a new issue