1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00

assets,site/content: daily assets regeneration

This commit is contained in:
github-actions[bot] 2021-05-27 04:15:26 +00:00
parent 6415d1cb91
commit 827690e20d
2 changed files with 40 additions and 0 deletions

View file

@ -282,6 +282,23 @@ groups:
for: 3h
labels:
severity: critical
- alert: ThanosReceiveTrafficBelowThreshold
annotations:
description: At Thanos Receive {{$labels.job}} in {{$labels.namespace}} , the
average 1-hr avg. metrics ingestion rate is {{$value | humanize}}% of 12-hr
avg. ingestion rate.
runbook_url: https://github.com/thanos-io/thanos/tree/main/mixin/runbook.md#alert-name-thanosreceivetrafficbelowthreshold
summary: Thanos Receive is experiencing low avg. 1-hr ingestion rate relative
to avg. 12-hr ingestion rate.
expr: |
(
avg_over_time(rate(http_requests_total{job=~".*thanos-receive.*", code=~"2..", handler="receive"}[5m])[1h:5m])
/
avg_over_time(rate(http_requests_total{job=~".*thanos-receive.*", code=~"2..", handler="receive"}[5m])[12h:5m])
) * 100 < 50
for: 1h
labels:
severity: warning
- name: thanos-sidecar
rules:
- alert: ThanosSidecarPrometheusDown

View file

@ -412,6 +412,29 @@ labels:
severity: critical
{{< /code >}}
##### ThanosReceiveTrafficBelowThreshold
https://github.com/thanos-io/thanos/tree/main/mixin/runbook.md#alert-name-thanosreceivetrafficbelowthreshold
{{< code lang="yaml" >}}
alert: ThanosReceiveTrafficBelowThreshold
annotations:
description: At Thanos Receive {{$labels.job}} in {{$labels.namespace}} , the average
1-hr avg. metrics ingestion rate is {{$value | humanize}}% of 12-hr avg. ingestion
rate.
runbook_url: https://github.com/thanos-io/thanos/tree/main/mixin/runbook.md#alert-name-thanosreceivetrafficbelowthreshold
summary: Thanos Receive is experiencing low avg. 1-hr ingestion rate relative to
avg. 12-hr ingestion rate.
expr: |
(
avg_over_time(rate(http_requests_total{job=~".*thanos-receive.*", code=~"2..", handler="receive"}[5m])[1h:5m])
/
avg_over_time(rate(http_requests_total{job=~".*thanos-receive.*", code=~"2..", handler="receive"}[5m])[12h:5m])
) * 100 < 50
for: 1h
labels:
severity: warning
{{< /code >}}
### thanos-sidecar
##### ThanosSidecarPrometheusDown