From e65fbd1feb298cff746764c8725ce7115e0e572e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 14 Dec 2022 03:26:16 +0000 Subject: [PATCH] assets,site/content: daily assets regeneration --- assets/memcached/alerts.yaml | 15 ++++++++++++--- site/content/memcached/_index.md | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/assets/memcached/alerts.yaml b/assets/memcached/alerts.yaml index 87814ea..9a1c8f9 100644 --- a/assets/memcached/alerts.yaml +++ b/assets/memcached/alerts.yaml @@ -3,8 +3,11 @@ groups: rules: - alert: MemcachedDown annotations: + description: Memcached Instance {{ $labels.job }} / {{ $labels.instance }} is + down for more than 15 minutes. message: | - Memcached Instance {{ $labels.job }} / {{ $labels.instance }} is down for more than 15mins. + Memcached Instance {{ $labels.job }} / {{ $labels.instance }} is down for more than 15 minutes. + summary: Memcached instance is down. expr: | memcached_up == 0 for: 15m @@ -12,8 +15,11 @@ groups: severity: critical - alert: MemcachedConnectionLimitApproaching annotations: + description: Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection + usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes. message: | - Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection usage is at {{ printf "%0.0f" $value }}% for at least 15m. + Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes. + summary: Memcached max connection limit is approaching. expr: | (memcached_current_connections / memcached_max_connections * 100) > 80 for: 15m @@ -21,8 +27,11 @@ groups: severity: warning - alert: MemcachedConnectionLimitApproaching annotations: + description: Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection + usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes. message: | - Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection usage is at {{ printf "%0.0f" $value }}% for at least 15m. + Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes. + summary: Memcached connections at critical level. expr: | (memcached_current_connections / memcached_max_connections * 100) > 95 for: 15m diff --git a/site/content/memcached/_index.md b/site/content/memcached/_index.md index 7067e3c..0421e86 100644 --- a/site/content/memcached/_index.md +++ b/site/content/memcached/_index.md @@ -23,8 +23,11 @@ Complete list of pregenerated alerts is available [here](https://github.com/moni {{< code lang="yaml" >}} alert: MemcachedDown annotations: + description: Memcached Instance {{ $labels.job }} / {{ $labels.instance }} is down + for more than 15 minutes. message: | - Memcached Instance {{ $labels.job }} / {{ $labels.instance }} is down for more than 15mins. + Memcached Instance {{ $labels.job }} / {{ $labels.instance }} is down for more than 15 minutes. + summary: Memcached instance is down. expr: | memcached_up == 0 for: 15m @@ -37,8 +40,11 @@ labels: {{< code lang="yaml" >}} alert: MemcachedConnectionLimitApproaching annotations: + description: Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection + usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes. message: | - Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection usage is at {{ printf "%0.0f" $value }}% for at least 15m. + Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes. + summary: Memcached max connection limit is approaching. expr: | (memcached_current_connections / memcached_max_connections * 100) > 80 for: 15m @@ -51,8 +57,11 @@ labels: {{< code lang="yaml" >}} alert: MemcachedConnectionLimitApproaching annotations: + description: Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection + usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes. message: | - Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection usage is at {{ printf "%0.0f" $value }}% for at least 15m. + Memcached Instance {{ $labels.job }} / {{ $labels.instance }} connection usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes. + summary: Memcached connections at critical level. expr: | (memcached_current_connections / memcached_max_connections * 100) > 95 for: 15m