Renderer: add version information (#34964)

* Renderer: add version information

* fix alerting test
This commit is contained in:
Agnès Toulet
2021-06-04 14:33:49 +03:00
committed by GitHub
parent b46715ee4a
commit 5f6c172b5a
6 changed files with 54 additions and 1 deletions
+1
View File
@@ -241,6 +241,7 @@ func (hs *HTTPServer) getFrontendSettingsMap(c *models.ReqContext) (map[string]i
},
"featureToggles": hs.Cfg.FeatureToggles,
"rendererAvailable": hs.RenderService.IsAvailable(),
"rendererVersion": hs.RenderService.Version(),
"http2Enabled": hs.Cfg.Protocol == setting.HTTP2Scheme,
"sentry": hs.Cfg.Sentry,
"pluginCatalogURL": hs.Cfg.PluginCatalogURL,