This commit is contained in:
Torkel Ödegaard
2016-01-18 07:28:01 +01:00
parent a8e3f731b7
commit 1adb7b286c
5 changed files with 11 additions and 15 deletions
+4
View File
@@ -89,6 +89,10 @@ func getFrontendSettingsMap(c *middleware.Context) (map[string]interface{}, erro
dsMap["index"] = ds.Database
}
if ds.Type == m.DS_INFLUXDB {
dsMap["database"] = ds.Database
}
if ds.Type == m.DS_PROMETHEUS {
// add unproxied server URL for link to Prometheus web UI
dsMap["directUrl"] = ds.Url