|
|
@ -129,9 +129,7 @@ public class GrafanaRequestHandlerUtil {
|
|
|
|
log.error(errMsg);
|
|
|
|
log.error(errMsg);
|
|
|
|
throw new RefererNotValid(errMsg);
|
|
|
|
throw new RefererNotValid(errMsg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
GrafanaConfiguration configuration = GrafanaConfigurationManager.getInstance().getGrafanaConfiguration();
|
|
|
|
GrafanaConfiguration configuration = GrafanaConfigurationManager.getInstance().getGrafanaConfiguration();
|
|
|
|
|
|
|
|
|
|
|
|
boolean dashboardIntegrationConfig = configuration.getValidationConfig().getDashboardIntegration();
|
|
|
|
boolean dashboardIntegrationConfig = configuration.getValidationConfig().getDashboardIntegration();
|
|
|
|
GrafanaPanelIdentifier panelIdentifier = GrafanaUtil.getPanelIdentifierFromReferer(referer);
|
|
|
|
GrafanaPanelIdentifier panelIdentifier = GrafanaUtil.getPanelIdentifierFromReferer(referer);
|
|
|
|
if (!dashboardIntegrationConfig) {
|
|
|
|
if (!dashboardIntegrationConfig) {
|
|
|
|