diff --git a/visualizer/utils/datasources/datasource_influx.py b/visualizer/utils/datasources/datasource_influx.py index 5a1b095..80aa837 100644 --- a/visualizer/utils/datasources/datasource_influx.py +++ b/visualizer/utils/datasources/datasource_influx.py @@ -30,7 +30,8 @@ VERTICAL_TEMPLATE_PATH = \ './visualizer/utils/templates/dashboard-job-influxdb-vertical.template' K8S_COST_TEMPLATE_PATH = \ - './visualizer/utils/templates/dashboard-job-influxdb-kubejobs-cost.template' + './visualizer/utils/templates/' \ + 'dashboard-job-influxdb-kubejobs-cost.template' LOG_FILE = "influx-ds.log" LOG_NAME = "influx-ds" @@ -49,7 +50,7 @@ def __init__(self, monitor_plugin, database_data, app_id): self.database_name = database_data['name'] if(monitor_plugin == 'kubejobs'): self.dashboard_path = K8S_TEMPLATE_PATH - + elif(monitor_plugin == 'kubejobs_cost'): self.dashboard_path = K8S_COST_TEMPLATE_PATH