Remove properly prometheus support
Change-Id: Ia8da67de0bafc8fe60dc685a38f737e55522f468
Related-PROD: PROD-20806
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
index ae1d2a8..bc35bf3 100644
--- a/metadata/service/support.yml
+++ b/metadata/service/support.yml
@@ -12,4 +12,4 @@
grafana:
enabled: false
prometheus:
- enabled: true
+ enabled: false
diff --git a/rsyslog/map.jinja b/rsyslog/map.jinja
index f7d38d4..cdcce0a 100644
--- a/rsyslog/map.jinja
+++ b/rsyslog/map.jinja
@@ -153,10 +153,3 @@
{%- endload %}
{%- set global = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('rsyslog:client')) %}
{%- set server = salt['pillar.get']('rsyslog:server', {}) %}
-
-{%- set monitoring = salt['grains.filter_by']({
- 'default': {
- 'failed_auths_per_sec': 0.2,
- 'out_of_memory_errors_per_sec': 0.0011,
- },
-}, grain='os_family', merge=salt['pillar.get']('rsyslog:monitoring')) %}
diff --git a/rsyslog/meta/prometheus.yml b/rsyslog/meta/prometheus.yml
deleted file mode 100644
index 1ad83b8..0000000
--- a/rsyslog/meta/prometheus.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-{%- from "rsyslog/map.jinja" import global, monitoring with context %}
-
-{%- if global.get('enabled', False) %}
-{%- raw %}
-server:
- alert: []
-{%- endraw %}
-{%- endif %}