Templating: Dashboard will now wait to load until all template variables that have refresh on load set or are initialized via url to be fully loaded and so all variables are in valid state before panels start issuing metric requests. Closes #1255

This commit is contained in:
Torkel Ödegaard
2015-03-14 15:29:41 -04:00
parent d705ee70f0
commit 2fec2c2fa0
5 changed files with 32 additions and 19 deletions

View File

@ -44,7 +44,7 @@ func NewReverseProxy(ds *m.DataSource, proxyPath string) *httputil.ReverseProxy
return &httputil.ReverseProxy{Director: director}
}
// TODO: need to cache datasources
//ProxyDataSourceRequest TODO need to cache datasources
func ProxyDataSourceRequest(c *middleware.Context) {
id := c.ParamsInt64(":id")
query := m.GetDataSourceByIdQuery{Id: id, OrgId: c.OrgId}