Browse Source

Merge pull request #1039 from prometheus/startpage

Change UI start page
pull/1077/head
Fabian Reinartz 9 years ago
parent
commit
d7b21f2fdb
  1. 153
      web/blob/files.go
  2. 2
      web/blob/templates/_base.html
  3. 8
      web/web.go

153
web/blob/files.go

@ -1,17 +1,14 @@
// Code generated by go-bindata. // Code generated by go-bindata.
// sources: // sources:
// templates/.alerts.html.swp
// templates/_base.html // templates/_base.html
// templates/alerts.html // templates/alerts.html
// templates/graph.html // templates/graph.html
// templates/status.html // templates/status.html
// static/css/.alerts.css.swp
// static/css/alerts.css // static/css/alerts.css
// static/css/graph.css // static/css/graph.css
// static/css/prom_console.css // static/css/prom_console.css
// static/css/prometheus.css // static/css/prometheus.css
// static/img/ajax-loader.gif // static/img/ajax-loader.gif
// static/js/.alerts.js.swp
// static/js/alerts.js // static/js/alerts.js
// static/js/graph.js // static/js/graph.js
// static/js/graph_template.handlebar // static/js/graph_template.handlebar
@ -107,27 +104,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil return nil
} }
var _templatesAlertsHtmlSwp = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\x5a\xbf\x8f\x1c\x35\x14\x76\x22\x8a\x1c\x49\x08\x02\x51\xd1\x98\x01\xa1\x20\xb1\x3b\x47\x82\xc4\x0f\xcd\xad\x38\xd2\x10\x29\x17\x50\xee\x2e\x54\xe8\x34\x3f\xde\xed\xf8\x6e\x76\x66\x64\x7b\xf7\xee\x34\x59\xa8\x90\x42\x45\x01\xa2\x40\x20\x24\x7a\x3a\x6a\x1a\x24\x68\x11\x14\x14\x14\x54\x94\x90\x7f\x81\xcf\x9e\xd9\xbd\xc9\xfe\xb8\x5c\x81\x88\x22\xf9\x93\xbe\x19\xdb\xef\xd9\xfe\xfc\x9e\x6d\x69\xb5\x13\xad\xde\xbe\xbe\xc1\x5f\xeb\xbe\xca\x80\x27\x19\xfb\xee\xf2\x6f\xdb\xfd\xf3\x77\xd9\x9f\x2f\x32\xb6\x37\xcc\xc4\x50\xb1\x07\xa2\xf6\xeb\xe8\x54\xe4\xfb\x65\x98\x2c\xf5\xfb\xb0\x76\xf4\xfb\x85\x92\xb1\x6f\xd8\x17\x3a\x1d\x46\xdd\xb8\x18\xf8\xa5\x2c\x06\xa4\x53\x82\xbd\x55\x3c\xa0\xc8\x8f\xb2\x22\xf2\x35\x0d\xca\x2c\xd4\xa4\xfc\x30\x23\xa9\x55\x37\xd5\x83\xec\xc1\xd2\x1c\x1c\x1c\x0c\x86\x7a\xb7\xf3\xfa\x45\x76\xf5\xca\x2b\xab\xa6\xfa\xbc\xf7\x1c\x7f\xfa\xa9\xed\x87\xad\xca\xc1\xc1\xc1\xc1\xc1\xc1\xc1\xc1\xc1\xc1\xe1\x7f\x84\x2e\xcf\xb0\x8f\xf0\x3e\xdb\xd4\xaf\x36\xef\x33\x33\x6f\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\x87\x47\x17\xe6\xef\xfa\xc1\x39\xc6\xb6\x57\x98\xfd\xff\x7f\xf2\xfb\xff\x9f\x4b\x8c\x7d\x01\xbe\x0f\xbe\x0b\xde\x04\xdf\x00\x9f\x05\x57\xc0\x5f\x9f\x60\xec\x27\xf0\x53\x50\x82\xd7\xc1\xb3\xe0\x37\x17\x19\xfb\x0c\x94\x20\x81\xdb\xe0\x33\xe0\x63\xe0\x5f\x17\x18\xfb\x18\xdc\x07\x37\xc0\x55\xf0\x02\x78\xef\x3c\x63\xbf\x80\x3f\x80\x5f\x82\x9f\x80\x23\xf0\x6d\xf0\xde\xe3\x8c\xfd\x0e\xfe\x08\xbe\x05\x5e\x02\xff\x86\xd6\x3f\xc0\x9f\xc1\xef\xc1\x6f\xc1\xcf\xc1\xbb\xe0\x1d\xb0\x00\x13\xf0\x83\x95\x7a\x5d\x1c\xfc\x1a\x6b\xfc\xea\xdc\xc3\x8c\xb4\x83\x83\x83\x83\x83\x83\xc3\xa9\x50\x55\x94\x27\xe3\x31\x0b\xfc\x44\x8c\x7a\x8c\xf3\xc0\xd7\x61\x94\x91\x29\xda\x4a\x54\x24\x47\x75\x65\xe2\xca\x79\x63\x92\xbd\xa6\x6c\x6b\x49\x53\x33\x6e\xd5\x3c\x96\x4d\x73\x92\xed\x04\x09\xff\xbd\x6e\x3e\xef\xdb\x78\x1c\x8f\xbb\xdc\x6d\x76\xe0\xa6\x0d\xa3\x57\x55\xf7\x76\x98\x0d\x69\x3c\x9e\x9d\xac\xe5\xb1\x1e\x6b\x31\xa2\x4d\x91\xc7\xd4\xdd\x12\x03\xea\x6e\x6f\x5d\x5b\xde\x21\x50\x65\x98\xf3\x38\x0b\x95\x5a\xf3\xec\xc7\x9a\xdc\x3e\x3b\x55\xc5\xbb\x9b\x3a\xd4\xc4\xef\xd4\x2d\xb6\xb2\x55\x5c\x33\xae\x7c\x3c\xe6\xca\xd4\x77\x44\x9e\x88\x38\xd4\x85\xe4\x9a\x0e\x75\x67\x58\x96\x24\xe3\x50\x91\x67\xa4\xd8\x2e\x66\x6e\x33\x49\x6f\xa1\x84\x05\x6d\x8b\x63\xd2\xf8\xb7\xe5\x66\x61\x44\x19\xb7\xcf\x4e\x29\xc5\x20\x94\x47\x66\xda\x17\x6c\xcb\x78\xbc\xe6\xa1\x3c\xaa\xe3\xe5\x35\x1a\x16\x4c\x25\xc3\xbc\x4f\xbc\xee\xf4\x32\xaf\x3b\xf0\x37\xd7\x78\xf7\x86\x69\x51\x73\x32\x82\x59\xc5\xc1\x6c\xb2\xa6\x63\x86\x36\x15\xeb\xf6\x13\xd8\x53\xa5\x38\xed\x6d\x8a\x8c\x90\x39\x98\xd3\x45\x66\x9b\xfe\x65\xc6\x3a\xf3\xdc\xa6\x7e\x99\x8f\x4d\xc9\x32\x63\xbd\xe2\x79\x2b\x56\x38\x89\xb9\xd7\xb6\x04\x76\x3f\x4f\x4c\x75\xc5\x3e\x3b\x51\x21\x13\x92\x94\x34\xd5\xb4\x18\x91\x6c\xca\x71\x91\x27\x94\x2b\xd8\xec\xb6\xda\xa1\x8c\x06\x94\x6b\xb5\x63\xcd\xde\xfd\x47\x48\xec\x9e\x10\xc5\xe9\x81\x6d\x35\x95\x92\x7a\x41\x5c\x24\x64\xf6\xdf\x3b\x5b\x1b\x37\x36\x73\x81\x3d\xa9\x79\x19\xea\xf4\x3d\x49\xbb\xe2\xd0\x6c\x48\xeb\x11\xf8\xc6\xbb\x3d\xe0\x7d\xe3\xb5\x12\xdd\x0a\x40\x2d\x3a\x21\x1d\x8a\x4c\x4d\xd5\xce\x5c\x05\xe6\x60\x89\x49\x0f\x81\x15\x77\xe2\x94\x46\x12\xef\xa4\x38\xc8\x3d\xcc\x2c\x7a\x3c\x88\x8c\xc6\x9b\xe1\xc0\x1e\x91\xa8\xc7\x2f\x57\x15\x92\x3f\xbb\x60\x5e\x57\x5f\x6a\x1f\x95\x96\x1e\xc4\x08\xf1\x3c\x44\xaf\xd6\x21\xbd\x55\x1c\xd4\xe7\x74\x72\x04\x9b\x58\xa7\x14\x22\x2d\x53\xd5\x38\x1f\xed\xb9\xec\xae\x5f\x9f\x8f\xf6\x64\x3f\x77\x6d\xab\xc8\xfb\xb7\x86\x19\x1d\x1b\x17\xcf\x6c\xc7\x5a\x60\x68\xba\x05\xd3\x5b\xf5\xd4\x9b\x28\x2e\xb2\x2c\x2c\xb1\x71\xac\xfe\x20\xbd\xd2\xab\x55\x06\x3e\x8a\xcc\xe4\x6e\x32\x08\x02\x8e\xf4\xe4\x24\x3b\xbb\xd9\x50\x18\xff\xaa\x4a\x90\xfa\x9c\xb8\xb5\x61\xbb\x79\xd0\xc1\x8e\xef\x99\x40\xc5\x52\x94\x9a\x2b\x19\x9b\x90\xb6\x76\x0b\xae\x3a\xdf\x5c\x75\x22\xf6\xf7\xa6\x9f\xb3\xef\x29\x93\xc3\xba\x8f\x15\x93\x89\x7c\x9f\xeb\xa3\x92\xb0\x02\xdc\x83\x7e\xac\x94\xc7\x25\x65\x6b\x9e\xd2\x47\x08\x56\x4a\xa4\x3d\x9e\x62\xc4\xe5\xc3\xa3\xcf\x64\x7c\xd3\xbd\x2d\xda\xe4\xcd\x28\xfe\x37\x00\x00\xff\xff\x38\xfa\xf6\xcf\x00\x30\x00\x00") var _templates_baseHtml = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xbc\x55\x4f\x6f\xdb\x3a\x0c\xbf\xf7\x53\xf0\xe9\x15\x68\x7b\x70\x84\x87\x5e\x1e\x5a\xdb\x40\x91\x75\xeb\x4e\x0b\xd6\x1c\x36\x0c\x43\xa1\xd8\x4c\xac\x56\xb1\x5c\x49\x0e\x1a\x04\xf9\xee\xa3\x22\xdb\xb3\xbd\xb6\x40\x87\x61\x27\xd1\xf4\x8f\x3f\x52\xfc\xa7\xf8\x9f\x77\x9f\xa6\xf3\xaf\xb3\x6b\x28\xdc\x5a\xa5\x47\xb1\x3f\x40\x89\x72\x95\x30\x2c\x59\x7a\x04\x10\x17\x28\x72\x2f\x90\xb8\x46\x27\x08\xe9\xaa\x08\x1f\x6b\xb9\x49\xd8\x54\x97\x0e\x4b\x17\xcd\xb7\x15\x32\xc8\xc2\x57\xc2\x1c\x3e\x39\xee\xa9\x2e\x21\x2b\x84\xb1\xe8\x92\xda\x2d\xa3\xff\x59\xc3\xe3\xa4\x53\x98\xce\x8c\x26\xc2\x02\x6b\x0b\x73\xb9\x46\xb8\x45\x23\xd1\xc2\x54\x2b\x85\x99\x93\xba\x04\x51\xe6\x40\xa8\x0c\xad\x95\xe5\xca\x03\x36\x68\x62\x1e\xcc\x03\x95\xcd\x8c\xac\x1c\x58\x93\x25\x6c\xb7\x83\x4a\xb8\x62\x66\x70\x29\x9f\x60\xbf\xe7\xd6\x09\x27\x33\xbe\xc1\x32\xd7\x86\xdf\x5b\x7e\xff\x58\xa3\xd9\x4e\xd6\xb2\x9c\xdc\x5b\x96\xc6\x3c\x98\xbf\x9d\x6b\xa1\xb5\xb3\xce\x88\x2a\x3a\x9f\x9c\x4f\xfe\xf3\xdc\x9d\xea\x19\xfa\xc0\xaf\x64\xf9\x00\x8e\x52\xd5\x64\x28\xb3\x96\x81\x41\x95\x30\xeb\xb6\x0a\x6d\x81\xe8\x18\x14\xe4\xf2\xcd\xfe\x89\x6a\x14\x80\x27\x4f\xff\x9c\x5f\xef\xa0\xea\x0a\xd6\xb0\xf7\xd3\x16\x7c\x01\x6c\x84\x81\xd9\xd5\xfc\xe6\x6e\xf6\xf9\xfa\xfd\xc7\x2f\x90\xc0\x2f\x9c\xec\xb2\xc1\x1e\x9f\x2e\xeb\x32\x94\xfa\xf4\x0c\x76\x8d\xd6\xeb\x4f\xbe\xe5\xc2\x89\xc8\xe9\xd5\x4a\xf9\xb0\xb5\x56\x4e\x56\xec\xfb\xc9\xd9\xa4\x91\x4f\xcf\x1a\xf8\x3e\x08\xa3\x64\xef\x76\x0e\xd7\x95\x12\x0e\x81\xf9\x0e\x66\x30\xd9\xef\x7d\x3b\xf3\xd0\xcf\x5e\x5c\xe8\x7c\xdb\xa4\xa8\x14\x1b\xc8\x94\xb0\x36\x61\x24\x2e\xe8\x0e\xe1\x88\x64\x49\x2d\x67\xb1\xfd\xa4\x0b\x60\x4e\x61\x55\xac\xbd\x6f\x9c\xcb\xce\xd4\x0f\x80\x90\x25\x12\x4e\xd5\x32\xef\x30\x43\x54\x43\xe5\xe3\x40\xd3\xc3\xf8\x88\x6a\xe7\x28\x19\xa1\x56\xe1\x83\x8d\xcc\x42\x4a\x68\xd6\x94\x12\x95\x45\xba\xd8\x20\x53\xad\xbe\x55\x0b\xb3\xa2\xe9\x63\xff\x06\x6b\x06\xc2\x48\x11\xe1\x53\x45\xa3\x85\x79\xc2\x96\x42\x79\xec\x41\xeb\xa3\x37\x5a\x75\xae\x06\xa1\xf9\x3a\x93\x51\x1b\x8c\x35\x91\x2e\xd5\x96\xa5\xf3\x10\x0e\x59\xc8\x95\xf0\x95\xa4\x3a\x10\xee\x15\x53\x49\x7e\xa2\x03\xfd\xdf\x82\xc6\x3c\xa4\x72\xa0\x13\xa3\xbc\x2e\x0c\xa5\xe4\xc5\x29\x60\xbd\x6d\x15\x73\xd1\x2b\x2c\xa7\xca\x8e\xea\x2c\xf3\x2e\x85\x23\x27\x6d\x75\xba\xf2\x0d\xcb\x5f\xab\x1e\xbe\x6d\xb9\x9e\xa8\x70\xe9\x46\x55\xd9\xed\x8e\xe9\xe6\x56\xd3\x18\xc3\x45\x02\xad\x3c\xa3\xe8\x0f\xfd\xde\x47\xca\x25\x74\xe0\xd1\x4f\xda\x11\x29\xa5\xa4\xbd\x7d\x0f\xc6\xd2\x69\x23\xfb\x7b\xc7\x9c\x80\x23\x5a\xa0\x95\x04\xaf\xf3\x8d\xb2\x29\x14\x1a\x47\x0b\xe4\xea\x70\x3e\xcf\xfb\x3a\xc3\x8a\xd6\x5c\xc1\xd2\x0f\xfe\xf8\x1d\x7b\xbf\xd5\x6a\x8a\xe0\xf6\x70\xbe\xcc\x30\x50\x1c\xba\x26\x10\xfa\x47\xf0\x82\xf7\x37\xa2\xd4\x0c\xda\x69\xbb\x5b\xd0\x13\xfa\xc0\xd2\x1b\x54\xd5\xa0\x5b\x42\xc7\x0c\x79\x63\x5e\xab\x17\xfa\xa9\xf7\x11\x73\xea\x81\x67\x76\x5b\xf3\xe6\xfe\x5c\x6f\x61\xa9\xc5\x3c\x3c\xe8\x3f\x02\x00\x00\xff\xff\x2c\xb4\xe9\x67\xe1\x07\x00\x00")
func templatesAlertsHtmlSwpBytes() ([]byte, error) {
return bindataRead(
_templatesAlertsHtmlSwp,
"templates/.alerts.html.swp",
)
}
func templatesAlertsHtmlSwp() (*asset, error) {
bytes, err := templatesAlertsHtmlSwpBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "templates/.alerts.html.swp", size: 12288, mode: os.FileMode(420), modTime: time.Unix(1439901886, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _templates_baseHtml = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xbc\x55\xcd\x6e\xdb\x38\x10\xbe\xe7\x29\x66\xb9\x01\x92\x1c\x64\x62\x91\xcb\x22\x91\x04\x04\xde\xec\x66\x4f\x35\x1a\x1f\x5a\x14\x45\x40\x4b\x63\x8b\x09\x2d\x2a\x24\x65\xc4\x30\xfc\xee\x1d\x9a\x92\x2a\xa9\x89\x81\x14\x45\x4f\x1a\x8e\xbe\xf9\x66\x38\x7f\x8c\xff\xf8\xe7\xc3\x74\xfe\x79\x76\x0b\x85\x5b\xab\xf4\x24\xf6\x1f\x50\xa2\x5c\x25\x0c\x4b\x96\x9e\x00\xc4\x05\x8a\xdc\x0b\x24\xae\xd1\x09\x42\xba\x2a\xc2\xe7\x5a\x6e\x12\x36\xd5\xa5\xc3\xd2\x45\xf3\x6d\x85\x0c\xb2\x70\x4a\x98\xc3\x17\xc7\x3d\xd5\x35\x64\x85\x30\x16\x5d\x52\xbb\x65\xf4\x37\x6b\x78\x9c\x74\x0a\xd3\x99\xd1\x44\x58\x60\x6d\x61\x2e\xd7\x08\xf7\x68\x24\x5a\x98\x6a\xa5\x30\x73\x52\x97\x20\xca\x1c\x08\x95\xa1\xb5\xb2\x5c\x79\xc0\x06\x4d\xcc\x83\x79\xa0\xb2\x99\x91\x95\x03\x6b\xb2\x84\xed\x76\x50\x09\x57\xcc\x0c\x2e\xe5\x0b\xec\xf7\xdc\x3a\xe1\x64\xc6\x37\x58\xe6\xda\xf0\x47\xcb\x1f\x9f\x6b\x34\xdb\xc9\x5a\x96\x93\x47\xcb\xd2\x98\x07\xf3\xf7\x73\x2d\xb4\x76\xd6\x19\x51\x45\x97\x93\xcb\xc9\x5f\x9e\xbb\x53\xbd\x42\x1f\xf8\x95\x2c\x9f\xc0\x51\xaa\x9a\x0c\x65\xd6\x32\x30\xa8\x12\x66\xdd\x56\xa1\x2d\x10\x1d\x83\x82\x5c\xbe\xdb\x3f\x51\x8d\x02\xf0\xe4\xe9\xaf\xf3\xeb\x1d\x54\x5d\xc1\x1a\xf6\x7e\xda\x82\x2f\x80\x8d\x30\x30\xbb\x99\xdf\x3d\xcc\x3e\xde\xfe\xfb\xff\x27\x48\xe0\x07\x4e\x76\xdd\x60\x4f\xcf\x97\x75\x19\x4a\x7d\x7e\x01\xbb\x46\xeb\xf5\x67\x5f\x72\xe1\x44\xe4\xf4\x6a\xa5\x7c\xd8\x5a\x2b\x27\x2b\xf6\xf5\xec\x62\xd2\xc8\xe7\x17\x0d\x7c\x1f\x84\x51\xb2\x77\x3b\x87\xeb\x4a\x09\x87\xc0\x7c\x07\x33\x98\xec\xf7\xbe\x9d\x79\xe8\x67\x2f\x2e\x74\xbe\x6d\x52\x54\x8a\x0d\x64\x4a\x58\x9b\x30\x12\x17\x74\x87\xf0\x89\x64\x49\x2d\x67\xb1\x3d\xd2\x05\x30\xa7\xb0\x2a\xd6\xde\x37\xce\x65\x67\xea\x07\x40\xc8\x12\x09\xa7\x6a\x99\x77\x98\x21\xaa\xa1\xf2\x71\xa0\xe9\x61\x7c\x44\xb5\x73\x94\x8c\x50\xab\x70\x60\x23\xb3\x90\x12\x9a\x35\xa5\x44\x65\x91\x2e\x36\xc8\x54\xab\x6f\xd5\xc2\xac\x68\xfa\xd8\x9f\xc1\x9a\x81\x30\x52\x44\xf8\x52\xd1\x68\x61\x9e\xb0\xa5\x50\x1e\x7b\xd0\xfa\xe8\x8d\x56\x9d\xab\x41\x68\xbe\xce\x64\xd4\x06\x63\x4d\xa4\x4b\xb5\x65\xe9\x3c\x84\x43\x16\x72\x25\x7c\x25\xa9\x0e\x84\x3b\x62\x2a\xc9\x4f\x74\xa0\xff\x5d\xd0\x98\x87\x54\x0e\x74\x62\x94\xd7\x85\xa1\x94\xbc\x39\x05\xac\xb7\xad\x62\x2e\x7a\x85\xe5\x54\xd9\x51\x9d\x65\xde\xa5\x70\xe4\xa4\xad\x4e\x57\xbe\x61\xf9\x6b\xd5\xc3\xb7\x2d\xd7\x13\x15\x2e\xdd\xa8\x2a\xbb\xdd\x29\xdd\xdc\x6a\x1a\x63\xb8\x4a\xa0\x95\x67\x14\xfd\xa1\xdf\xfb\x48\xb9\x84\x0e\x3c\xfa\x49\x3b\x22\xa5\x94\xb4\xb7\xef\xc1\x58\x3a\x6d\x64\x7f\xef\x98\x13\x70\x44\x0b\xb4\x92\xe0\x38\xdf\x28\x9b\x42\xa1\x71\xb4\x40\x6e\x0e\xdf\xd7\x79\x8f\x33\xac\x68\xcd\x15\x2c\xfd\xcf\x7f\x7e\xc6\x9e\xa5\xf7\xb4\xd7\xea\x23\xbe\x07\x8a\x43\xbf\x04\x2a\xff\xfc\x5d\xf1\xfe\x2e\x94\x9a\x41\x3b\x67\x0f\x0b\x7a\x3c\x9f\x58\x7a\x87\xaa\x1a\xf4\x49\xe8\x95\x21\x6f\xcc\x6b\xf5\x46\x27\xf5\x0e\x31\xa7\xea\xbf\xb2\xd5\x9a\xd7\xf6\xfb\x62\x0b\xeb\x2c\xe6\xe1\x29\xff\x16\x00\x00\xff\xff\xbb\x27\xc9\xaf\xdb\x07\x00\x00")
func templates_baseHtmlBytes() ([]byte, error) { func templates_baseHtmlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@ -142,7 +119,7 @@ func templates_baseHtml() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "templates/_base.html", size: 2011, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "templates/_base.html", size: 2017, mode: os.FileMode(420), modTime: time.Unix(1442039984, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -162,7 +139,7 @@ func templatesAlertsHtml() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "templates/alerts.html", size: 1707, mode: os.FileMode(436), modTime: time.Unix(1439901869, 0)} info := bindataFileInfo{name: "templates/alerts.html", size: 1707, mode: os.FileMode(420), modTime: time.Unix(1440235560, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -182,7 +159,7 @@ func templatesGraphHtml() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "templates/graph.html", size: 1559, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "templates/graph.html", size: 1559, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -202,27 +179,7 @@ func templatesStatusHtml() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "templates/status.html", size: 3393, mode: os.FileMode(436), modTime: time.Unix(1439814752, 0)} info := bindataFileInfo{name: "templates/status.html", size: 3393, mode: os.FileMode(420), modTime: time.Unix(1440235337, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _staticCssAlertsCssSwp = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\xda\x4f\x4a\xf3\x40\x18\x06\xf0\xb7\x1f\x1f\xb8\x2a\x15\xbd\xc0\xa8\xe0\xce\x4c\xfd\x03\x42\x3d\x81\x82\xcb\xba\x95\x49\x32\x34\xa3\x69\x26\xcc\x4c\x10\x11\xab\x57\x72\xa1\x78\x05\xaf\xa0\x88\x57\xf0\x08\xbe\x31\xb1\x88\x20\xdd\x59\xc4\xe7\x07\x0f\xf3\x0e\x7d\x16\xef\xb6\x4c\xe2\xfe\xd1\xfe\xa1\xd8\x8d\x76\x88\x2d\x12\xfd\x3f\xb8\x19\x76\xbb\xd7\xf4\xb2\x4e\x74\x52\xe5\xa6\xf2\x34\x53\xd3\xdb\x08\x99\x29\x4e\x4b\x95\x7e\xdb\x9b\x34\x45\x39\xb2\xde\x25\xb2\xce\xc8\x84\xac\x8a\xa3\xc4\x8e\x65\xe9\xec\x58\x87\x4c\xf3\xef\x9f\xc6\x33\x1d\xcb\x38\xb7\xb1\xf4\x41\x05\x93\xc8\xc4\x7b\xa9\x72\xed\x82\x8f\x78\x9c\xbd\x1a\x00\x4c\x75\x69\x7b\x6b\xb3\x5f\x4f\x6b\xab\x2b\x62\x79\x69\x38\xef\x85\x00\x00\x00\x00\x00\xe0\x07\x85\xb2\x43\x57\x7c\xfe\x6b\xef\x0b\xed\xd9\xf9\x72\x02\x00\x00\x00\x00\x00\x00\xc0\xef\x55\x3f\xd7\x4f\x7a\x44\x77\x9c\xfa\xfd\xff\xe3\xff\xff\x2b\xdf\x9f\x39\x4f\x9c\x47\xce\x03\xe7\xbe\xed\xdd\xf6\xe6\xb9\x31\x00\x00\x00\x00\x00\x00\xc0\x5f\x71\x49\x42\xa4\xc6\x97\xb9\x3a\x1f\x88\xc2\x16\x7a\x8f\xa2\xf7\xcf\xe2\x8f\x53\x1d\x94\xc9\xbd\xb8\x68\x4a\x49\xe5\xbc\x75\x03\x51\x5a\x53\x04\xed\xa6\xb5\x4c\xab\x54\x3b\x6e\xbd\x05\x00\x00\xff\xff\xcc\x68\x04\x6a\x00\x30\x00\x00")
func staticCssAlertsCssSwpBytes() ([]byte, error) {
return bindataRead(
_staticCssAlertsCssSwp,
"static/css/.alerts.css.swp",
)
}
func staticCssAlertsCssSwp() (*asset, error) {
bytes, err := staticCssAlertsCssSwpBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "static/css/.alerts.css.swp", size: 12288, mode: os.FileMode(420), modTime: time.Unix(1439901865, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -242,7 +199,7 @@ func staticCssAlertsCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/css/alerts.css", size: 74, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/css/alerts.css", size: 74, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -262,7 +219,7 @@ func staticCssGraphCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/css/graph.css", size: 2668, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/css/graph.css", size: 2668, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -282,7 +239,7 @@ func staticCssProm_consoleCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/css/prom_console.css", size: 2883, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/css/prom_console.css", size: 2883, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -302,7 +259,7 @@ func staticCssPrometheusCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/css/prometheus.css", size: 346, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/css/prometheus.css", size: 346, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -322,27 +279,7 @@ func staticImgAjaxLoaderGif() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/img/ajax-loader.gif", size: 847, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/img/ajax-loader.gif", size: 847, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _staticJsAlertsJsSwp = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\xda\xcb\x6e\xd3\x40\x14\x06\xe0\x29\x2b\x36\x2d\x11\x08\xd6\x53\x13\xa1\xc9\x22\x76\xb8\x48\x20\xa1\xb2\x81\x4d\x17\x45\x48\xa8\xdd\x22\xc7\x9e\xd8\x93\x4e\x66\x2c\xcf\x38\x6d\x85\x02\xac\x79\x20\x1e\x01\x71\x59\xf2\x00\xbc\x01\xe2\x11\x38\xbe\x40\x5a\x68\x15\xd8\x50\x81\xfe\x4f\xfa\x3b\xbe\x1c\x1f\x1f\xd7\x2b\xab\x1d\x8f\xf6\xb6\x77\xf8\xdd\xf0\x0e\x23\x3d\xc6\xde\x88\x4f\xbb\xd5\xb5\x57\xec\xf3\x0d\xc6\xa6\x95\x56\x95\x63\x2b\xb5\x75\x43\x9f\x2b\xb3\x5f\xc4\xe9\x99\x75\x2f\xda\xc2\x28\xb3\xae\x4c\xa2\x3a\x99\xf2\x79\x35\x0e\x13\x3b\x8b\x8a\xd2\xce\xa4\xcf\x25\x9d\x3f\xb6\x79\x20\xc7\xd1\x58\xdb\x71\xe4\x7c\xec\x55\x12\x4d\x5d\x14\x6b\x59\x7a\x17\x4e\x7f\x63\x30\x00\x68\x55\x7e\x32\xbc\xb7\xce\x6e\xdf\xba\x39\xaa\x77\xaf\x07\x9b\xfc\xca\xe5\xdd\xf3\x9e\x0a\x00\x00\x00\x00\x00\xfe\x22\x5f\xac\xb1\x97\xb4\x5e\xe8\xf6\x37\xba\x75\xed\xa7\x15\x00\x00\x00\x00\x00\x00\x00\xfe\x5d\xf5\x9f\xeb\xbf\xae\x33\xf6\xa8\xfe\xf0\xef\x2d\xbf\xff\xbf\x5c\x62\xec\x2d\xe5\x35\x65\x42\xb9\x4a\xb9\x48\xf9\x48\x05\x47\x14\x47\xd9\xa3\x3c\xa1\x3c\xa6\xec\x6c\xb4\x3d\x1e\x50\x7a\x94\x0f\xd4\xf3\x3d\xe5\xdd\xfa\x79\x3e\x1d\x00\x00\x00\x00\x00\xc0\x7f\xa8\xdf\x17\xca\x28\x3f\xb8\xcf\xd8\x82\x71\xbe\xa0\x0d\x4e\x9a\xff\x96\x16\xc1\x53\xa5\xa5\x49\x94\xc9\xb8\x72\xdc\x58\xcf\x8f\xa4\xe7\xae\x2a\x0a\x5b\x7a\x99\x86\x41\x53\xdd\x17\x41\xf8\x67\x5d\xda\xea\xd3\xaf\xe9\x0b\x9f\x2b\x37\x08\x8d\x3c\xf4\x62\x10\x7a\x9b\x65\x5a\x8a\xee\xe4\xa2\xf9\xc9\x79\x62\xb5\x8e\x0b\x27\xcb\xed\xc4\x9a\xb0\x94\x33\x3b\x97\x0f\x75\xec\x9c\x08\x14\x1d\x19\x26\xb9\x9c\x97\xb4\x56\x45\x30\x08\xe3\x34\x3d\xed\x5c\x6a\x0f\x4c\xd0\xf5\xe5\x7c\x1e\x97\x27\xbb\xf2\xad\x1f\xa3\x4c\x94\x49\xe9\xe2\xf0\x97\xd6\xdd\x50\x5c\x6a\x27\xf9\xf3\xae\x93\x3c\x2c\x62\x93\xae\x1c\xad\xbd\xfd\x59\xc3\x2d\xbb\xab\x09\x17\x27\x5a\xd2\xef\x32\xf3\x39\xdf\xdc\xe2\xa3\x41\x77\xd3\x7a\xf8\xe3\x35\xab\x66\x5f\x3e\x7a\xfd\xee\x9a\xb7\xf4\x2c\x97\x31\x5d\x4d\x13\x25\x5a\x25\xfb\x62\x52\x99\xc4\x2b\x6b\x44\x7d\x8f\xef\x3b\xbc\x7e\x61\xcd\x91\x6f\x01\x00\x00\xff\xff\x9b\xe9\x96\xad\x00\x30\x00\x00")
func staticJsAlertsJsSwpBytes() ([]byte, error) {
return bindataRead(
_staticJsAlertsJsSwp,
"static/js/.alerts.js.swp",
)
}
func staticJsAlertsJsSwp() (*asset, error) {
bytes, err := staticJsAlertsJsSwpBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "static/js/.alerts.js.swp", size: 12288, mode: os.FileMode(420), modTime: time.Unix(1439901886, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -362,7 +299,7 @@ func staticJsAlertsJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/js/alerts.js", size: 444, mode: os.FileMode(436), modTime: time.Unix(1439901878, 0)} info := bindataFileInfo{name: "static/js/alerts.js", size: 444, mode: os.FileMode(420), modTime: time.Unix(1440235560, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -382,7 +319,7 @@ func staticJsGraphJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/js/graph.js", size: 19790, mode: os.FileMode(436), modTime: time.Unix(1439814752, 0)} info := bindataFileInfo{name: "static/js/graph.js", size: 19790, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -402,7 +339,7 @@ func staticJsGraph_templateHandlebar() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/js/graph_template.handlebar", size: 6134, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/js/graph_template.handlebar", size: 6134, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -422,7 +359,7 @@ func staticJsProm_consoleJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/js/prom_console.js", size: 20889, mode: os.FileMode(436), modTime: time.Unix(1439814752, 0)} info := bindataFileInfo{name: "static/js/prom_console.js", size: 20889, mode: os.FileMode(420), modTime: time.Unix(1440235337, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -442,7 +379,7 @@ func staticVendorBootstrap331CssBootstrapThemeCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap-theme.css", size: 22474, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap-theme.css", size: 22474, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -462,7 +399,7 @@ func staticVendorBootstrap331CssBootstrapThemeCssMap() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap-theme.css.map", size: 43029, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap-theme.css.map", size: 43029, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -482,7 +419,7 @@ func staticVendorBootstrap331CssBootstrapThemeMinCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap-theme.min.css", size: 19835, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap-theme.min.css", size: 19835, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -502,7 +439,7 @@ func staticVendorBootstrap331CssBootstrapCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap.css", size: 137067, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap.css", size: 137067, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -522,7 +459,7 @@ func staticVendorBootstrap331CssBootstrapCssMap() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap.css.map", size: 366144, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap.css.map", size: 366144, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -542,7 +479,7 @@ func staticVendorBootstrap331CssBootstrapMinCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap.min.css", size: 113498, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/css/bootstrap.min.css", size: 113498, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -562,7 +499,7 @@ func staticVendorBootstrap331FontsGlyphiconsHalflingsRegularEot() (*asset, error
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.eot", size: 20335, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.eot", size: 20335, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -582,7 +519,7 @@ func staticVendorBootstrap331FontsGlyphiconsHalflingsRegularSvg() (*asset, error
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.svg", size: 62926, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.svg", size: 62926, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -602,7 +539,7 @@ func staticVendorBootstrap331FontsGlyphiconsHalflingsRegularTtf() (*asset, error
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.ttf", size: 41280, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.ttf", size: 41280, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -622,7 +559,7 @@ func staticVendorBootstrap331FontsGlyphiconsHalflingsRegularWoff() (*asset, erro
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.woff", size: 23320, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.woff", size: 23320, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -642,7 +579,7 @@ func staticVendorBootstrap331JsBootstrapJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/js/bootstrap.js", size: 67155, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/js/bootstrap.js", size: 67155, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -662,7 +599,7 @@ func staticVendorBootstrap331JsBootstrapMinJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/js/bootstrap.min.js", size: 35601, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/js/bootstrap.min.js", size: 35601, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -682,7 +619,7 @@ func staticVendorBootstrap331JsNpmJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/js/npm.js", size: 484, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-3.3.1/js/npm.js", size: 484, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -702,7 +639,7 @@ func staticVendorBootstrapDatetimepickerBootstrapDatetimepickerJs() (*asset, err
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.js", size: 53185, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.js", size: 53185, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -722,7 +659,7 @@ func staticVendorBootstrapDatetimepickerBootstrapDatetimepickerMinCss() (*asset,
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css", size: 5059, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css", size: 5059, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -742,7 +679,7 @@ func staticVendorBootstrap3TypeaheadBootstrap3TypeaheadMinJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/bootstrap3-typeahead/bootstrap3-typeahead.min.js", size: 7856, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/bootstrap3-typeahead/bootstrap3-typeahead.min.js", size: 7856, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -762,7 +699,7 @@ func staticVendorJsHandlebarsJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/js/handlebars.js", size: 65639, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/js/handlebars.js", size: 65639, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -782,7 +719,7 @@ func staticVendorJsJqueryHotkeysJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/js/jquery.hotkeys.js", size: 3283, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/js/jquery.hotkeys.js", size: 3283, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -802,7 +739,7 @@ func staticVendorJsJqueryMinJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/js/jquery.min.js", size: 95935, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/js/jquery.min.js", size: 95935, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -822,7 +759,7 @@ func staticVendorJsJquerySelectionJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/js/jquery.selection.js", size: 13320, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/js/jquery.selection.js", size: 13320, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -842,7 +779,7 @@ func staticVendorRickshawRickshawMinCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/rickshaw/rickshaw.min.css", size: 6102, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/rickshaw/rickshaw.min.css", size: 6102, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -862,7 +799,7 @@ func staticVendorRickshawRickshawMinJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/rickshaw/rickshaw.min.js", size: 76322, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/rickshaw/rickshaw.min.js", size: 76322, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -882,7 +819,7 @@ func staticVendorRickshawVendorD3LayoutMinJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/rickshaw/vendor/d3.layout.min.js", size: 17514, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/rickshaw/vendor/d3.layout.min.js", size: 17514, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -902,7 +839,7 @@ func staticVendorRickshawVendorD3V3Js() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "static/vendor/rickshaw/vendor/d3.v3.js", size: 144718, mode: os.FileMode(436), modTime: time.Unix(1437682180, 0)} info := bindataFileInfo{name: "static/vendor/rickshaw/vendor/d3.v3.js", size: 144718, mode: os.FileMode(420), modTime: time.Unix(1439724748, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -959,18 +896,15 @@ func AssetNames() []string {
// _bindata is a table, holding each asset generator, mapped to its name. // _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){ var _bindata = map[string]func() (*asset, error){
"templates/.alerts.html.swp": templatesAlertsHtmlSwp,
"templates/_base.html": templates_baseHtml, "templates/_base.html": templates_baseHtml,
"templates/alerts.html": templatesAlertsHtml, "templates/alerts.html": templatesAlertsHtml,
"templates/graph.html": templatesGraphHtml, "templates/graph.html": templatesGraphHtml,
"templates/status.html": templatesStatusHtml, "templates/status.html": templatesStatusHtml,
"static/css/.alerts.css.swp": staticCssAlertsCssSwp,
"static/css/alerts.css": staticCssAlertsCss, "static/css/alerts.css": staticCssAlertsCss,
"static/css/graph.css": staticCssGraphCss, "static/css/graph.css": staticCssGraphCss,
"static/css/prom_console.css": staticCssProm_consoleCss, "static/css/prom_console.css": staticCssProm_consoleCss,
"static/css/prometheus.css": staticCssPrometheusCss, "static/css/prometheus.css": staticCssPrometheusCss,
"static/img/ajax-loader.gif": staticImgAjaxLoaderGif, "static/img/ajax-loader.gif": staticImgAjaxLoaderGif,
"static/js/.alerts.js.swp": staticJsAlertsJsSwp,
"static/js/alerts.js": staticJsAlertsJs, "static/js/alerts.js": staticJsAlertsJs,
"static/js/graph.js": staticJsGraphJs, "static/js/graph.js": staticJsGraphJs,
"static/js/graph_template.handlebar": staticJsGraph_templateHandlebar, "static/js/graph_template.handlebar": staticJsGraph_templateHandlebar,
@ -1044,7 +978,6 @@ type bintree struct {
var _bintree = &bintree{nil, map[string]*bintree{ var _bintree = &bintree{nil, map[string]*bintree{
"static": {nil, map[string]*bintree{ "static": {nil, map[string]*bintree{
"css": {nil, map[string]*bintree{ "css": {nil, map[string]*bintree{
".alerts.css.swp": {staticCssAlertsCssSwp, map[string]*bintree{}},
"alerts.css": {staticCssAlertsCss, map[string]*bintree{}}, "alerts.css": {staticCssAlertsCss, map[string]*bintree{}},
"graph.css": {staticCssGraphCss, map[string]*bintree{}}, "graph.css": {staticCssGraphCss, map[string]*bintree{}},
"prom_console.css": {staticCssProm_consoleCss, map[string]*bintree{}}, "prom_console.css": {staticCssProm_consoleCss, map[string]*bintree{}},
@ -1054,7 +987,6 @@ var _bintree = &bintree{nil, map[string]*bintree{
"ajax-loader.gif": {staticImgAjaxLoaderGif, map[string]*bintree{}}, "ajax-loader.gif": {staticImgAjaxLoaderGif, map[string]*bintree{}},
}}, }},
"js": {nil, map[string]*bintree{ "js": {nil, map[string]*bintree{
".alerts.js.swp": {staticJsAlertsJsSwp, map[string]*bintree{}},
"alerts.js": {staticJsAlertsJs, map[string]*bintree{}}, "alerts.js": {staticJsAlertsJs, map[string]*bintree{}},
"graph.js": {staticJsGraphJs, map[string]*bintree{}}, "graph.js": {staticJsGraphJs, map[string]*bintree{}},
"graph_template.handlebar": {staticJsGraph_templateHandlebar, map[string]*bintree{}}, "graph_template.handlebar": {staticJsGraph_templateHandlebar, map[string]*bintree{}},
@ -1106,11 +1038,10 @@ var _bintree = &bintree{nil, map[string]*bintree{
}}, }},
}}, }},
"templates": {nil, map[string]*bintree{ "templates": {nil, map[string]*bintree{
".alerts.html.swp": {templatesAlertsHtmlSwp, map[string]*bintree{}}, "_base.html": {templates_baseHtml, map[string]*bintree{}},
"_base.html": {templates_baseHtml, map[string]*bintree{}}, "alerts.html": {templatesAlertsHtml, map[string]*bintree{}},
"alerts.html": {templatesAlertsHtml, map[string]*bintree{}}, "graph.html": {templatesGraphHtml, map[string]*bintree{}},
"graph.html": {templatesGraphHtml, map[string]*bintree{}}, "status.html": {templatesStatusHtml, map[string]*bintree{}},
"status.html": {templatesStatusHtml, map[string]*bintree{}},
}}, }},
}} }}

2
web/blob/templates/_base.html

@ -39,7 +39,7 @@
{{ end }} {{ end }}
<li><a href="{{ pathPrefix }}/alerts">Alerts</a></li> <li><a href="{{ pathPrefix }}/alerts">Alerts</a></li>
<li><a href="{{ pathPrefix }}/graph">Graph</a></li> <li><a href="{{ pathPrefix }}/graph">Graph</a></li>
<li><a href="{{ pathPrefix }}/">Status</a></li> <li><a href="{{ pathPrefix }}/status">Status</a></li>
<li> <li>
<a href="http://prometheus.io" target="_blank">Help</a> <a href="http://prometheus.io" target="_blank">Help</a>
</li> </li>

8
web/web.go

@ -158,9 +158,13 @@ func New(st local.Storage, qe *promql.Engine, rm *rules.Manager, status *Prometh
instrf := prometheus.InstrumentHandlerFunc instrf := prometheus.InstrumentHandlerFunc
instrh := prometheus.InstrumentHandler instrh := prometheus.InstrumentHandler
router.Get("/", instrf("status", h.status)) router.Get("/", func(w http.ResponseWriter, r *http.Request) {
router.Get("/alerts", instrf("alerts", h.alerts)) http.Redirect(w, r, "/", http.StatusFound)
})
router.Get("/graph", instrf("graph", h.graph)) router.Get("/graph", instrf("graph", h.graph))
router.Get("/status", instrf("status", h.status))
router.Get("/alerts", instrf("alerts", h.alerts))
router.Get("/version", instrf("version", h.version)) router.Get("/version", instrf("version", h.version))
router.Get("/heap", instrf("heap", dumpHeap)) router.Get("/heap", instrf("heap", dumpHeap))

Loading…
Cancel
Save