From c3aa281c9cc189ca574199555c28e51687e99507 Mon Sep 17 00:00:00 2001 From: Michal Kobus Date: Thu, 7 Jun 2018 14:16:34 +0200 Subject: [PATCH 1/1] Cosmetic changes for alerts Change-Id: Ie84879621a19f04aa8210b4d08511a29888467c0 Closes-bug: PROD-20466 --- elasticsearch/meta/prometheus.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/elasticsearch/meta/prometheus.yml b/elasticsearch/meta/prometheus.yml index f688991..ca5a991 100644 --- a/elasticsearch/meta/prometheus.yml +++ b/elasticsearch/meta/prometheus.yml @@ -14,7 +14,7 @@ server: service: elasticsearch annotations: summary: "Elasticsearch cluster status is YELLOW" - description: "The Elasticsearch cluster status is YELLOW for at least 2 minutes." + description: "The Elasticsearch cluster status is YELLOW for 2 minutes." {%- endraw %} ElasticsearchClusterHealthStatusCritical: if: >- @@ -26,7 +26,7 @@ server: service: elasticsearch annotations: summary: "Elasticsearch cluster status is RED" - description: "The Elasticsearch cluster status is RED for at least 2 minutes." + description: "The Elasticsearch cluster status is RED for 2 minutes." {%- endraw %} {%- endif %} {%- if server.get('enabled', False) %} @@ -51,7 +51,7 @@ server: service: elasticsearch annotations: summary: "{%- endraw %}{{monitoring.service_failed_warning_threshold_percent*100}}%{%- raw %} of Elasticsearch services are down" - description: "{{ $value }} Elasticsearch services are down for at least 2 minutes." + description: "{{ $value }} Elasticsearch services are down for 2 minutes." {%- endraw %} ElasticsearchServiceDownMajor: if: >- @@ -63,7 +63,7 @@ server: service: elasticsearch annotations: summary: "{%- endraw %}{{monitoring.service_failed_critical_threshold_percent*100}}%{%- raw %} of Elasticsearch services are down" - description: "{{ $value }} Elasticsearch services are down for at least 2 minutes." + description: "{{ $value }} Elasticsearch services are down for 2 minutes." {%- endraw %} ElasticsearchServiceOutage: if: >- @@ -86,7 +86,7 @@ server: service: elasticsearch annotations: summary: "Elasticsearch uses {%- endraw %}{{monitoring.service_failed_warning_threshold_percent*100}}%{%- raw %} of disk space" - description: "Elasticsearch uses {{ $value }}% of disk space on the '{{ $labels.instance }}' instance on the {{ $labels.host }} node for at least 5 minutes." + description: "The Elasticsearch '{{ $labels.instance }}' instance uses {{ $value }}% of disk space on the {{ $labels.host }} node for 5 minutes." {%- endraw %} ElasticsearchDiskWaterMarkMajor: if: >- @@ -98,7 +98,7 @@ server: service: elasticsearch annotations: summary: "Elasticsearch uses {%- endraw %}{{monitoring.service_failed_critical_threshold_percent*100}}%{%- raw %} of disk space" - description: "Elasticsearch uses {{ $value }}% of disk space on the '{{ $labels.instance }}' instance on the {{ $labels.host }} node for at least 5 minutes." + description: "The Elasticsearch '{{ $labels.instance }}' instance uses {{ $value }}% of disk space on the {{ $labels.host }} node for 5 minutes." {%- endraw %} {%- endif %} {%- endif %} -- 2.32.7