Merge "Fix prometheus stats and perfomances dashboards"
diff --git a/metadata/service/gainsight/container.yml b/metadata/service/gainsight/container.yml
index d5a221c..04d1eb5 100644
--- a/metadata/service/gainsight/container.yml
+++ b/metadata/service/gainsight/container.yml
@@ -7,3 +7,4 @@
dir:
config: /srv/volumes/local/gainsight/config
crontab: /srv/volumes/local/gainsight/cron.d
+ csv: /srv/volumes/local/gainsight/csv
\ No newline at end of file
diff --git a/metadata/service/gainsight/elasticsearch_container.yml b/metadata/service/gainsight/elasticsearch_container.yml
index 0129de2..5f1eb9f 100644
--- a/metadata/service/gainsight/elasticsearch_container.yml
+++ b/metadata/service/gainsight/elasticsearch_container.yml
@@ -7,3 +7,4 @@
dir:
config: /srv/volumes/local/gainsight_elasticsearch/config
crontab: /srv/volumes/local/gainsight_elasticsearch/cron.d
+ csv: /srv/volumes/local/gainsight_elasticsearch/csv
diff --git a/prometheus/gainsight.sls b/prometheus/gainsight.sls
index 4862c3b..7f61fe9 100644
--- a/prometheus/gainsight.sls
+++ b/prometheus/gainsight.sls
@@ -11,6 +11,10 @@
file.directory:
- makedirs: True
+{{gainsight.dir.csv}}:
+ file.directory:
+ - makedirs: True
+
{{gainsight.dir.config}}/config.ini:
file.managed:
- source: salt://prometheus/files/gainsight/gainsight_config.yml
diff --git a/prometheus/gainsight_elasticsearch.sls b/prometheus/gainsight_elasticsearch.sls
index 3ca5c39..38ca01d 100644
--- a/prometheus/gainsight_elasticsearch.sls
+++ b/prometheus/gainsight_elasticsearch.sls
@@ -11,6 +11,10 @@
file.directory:
- makedirs: True
+{{gainsight_elasticsearch.dir.csv}}:
+ file.directory:
+ - makedirs: True
+
{{gainsight_elasticsearch.dir.config}}/config.ini:
file.managed:
- source: salt://prometheus/files/gainsight/gainsight_elasticsearch_config.yml