diff --git a/app/components/grafana/grafana.js b/app/components/grafana/grafana.js index f4e3e21..be51639 100644 --- a/app/components/grafana/grafana.js +++ b/app/components/grafana/grafana.js @@ -3,13 +3,13 @@ angular.module('bansho.grafana', []) .service('iframeUrl', function () { var createIFrameUrl = function (templateName, host_name, service_description, metric) { - return '/grafana/dashboard-solo/db/' + templateName + '?' + - 'panelId=' + '1' + - '&fullscreen&from=' + 'now-6h' + - '&to=' + 'now' + - '&var-metric1=' + metric + - '&var-host_name=' + host_name + - '&var-service_description=' + service_description; + return 'grafana/dashboard-solo/db/' + templateName + '?' + + 'panelId=' + '1' + + '&fullscreen&from=' + 'now-6h' + + '&to=' + 'now' + + '&var-metric1=' + metric + + '&var-host_name=' + host_name + + '&var-service_description=' + service_description; }; var getIFrameUrl = function (metric, host_name, service_description) { @@ -20,4 +20,4 @@ angular.module('bansho.grafana', []) return { getIFrameUrl: getIFrameUrl }; - }); \ No newline at end of file + });