Skip to content

Commit 943e7b4

Browse files
alerts: remove fiber csw example
Using rate with tnt_fiber_csw metric is incorrect. Follows up #72
1 parent 68f25d4 commit 943e7b4

File tree

3 files changed

+1
-30
lines changed

3 files changed

+1
-30
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424

2525
### Fixed
2626
- Remove rate from fiber context switches panel
27+
- Remove fiber context switches alert example
2728

2829

2930
## [1.1.0] - 2022-05-17

example_cluster/prometheus/alerts.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,6 @@ groups:
151151
description: "Instance '{{ $labels.alias }}' of job '{{ $labels.job }}' have
152152
high vinyl scheduler failed tasks rate."
153153

154-
# Alert for Tarantool low context switches rate.
155-
- alert: LowFiberCSWRate
156-
expr: rate(tnt_fiber_csw[2m]) < 10
157-
for: 1m
158-
labels:
159-
severity: warning
160-
annotations:
161-
summary: "Instance '{{ $labels.alias }}' ('{{ $labels.job }}') has low fiber context switches rate"
162-
description: "Instance '{{ $labels.alias }}' of job '{{ $labels.job }}' has low fiber context switches rate.
163-
Some high loaded fiber has too little yields. It may be the reason of 'Too long WAL write' warnings."
164-
165154
# Alert for high duration of event loop iteration in Tarantool.
166155
- alert: HighEVLoopTime
167156
expr: tnt_ev_loop_time > 0.1

example_cluster/prometheus/test_alerts.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -349,25 +349,6 @@ tests:
349349
high vinyl scheduler failed tasks rate."
350350

351351

352-
- interval: 15s
353-
input_series:
354-
- series: tnt_fiber_csw{job="tarantool_app", instance="app:8081", alias="tnt_router"}
355-
values: '15000+1x10'
356-
alert_rule_test:
357-
- eval_time: 2m
358-
alertname: LowFiberCSWRate
359-
exp_alerts:
360-
- exp_labels:
361-
severity: warning
362-
instance: app:8081
363-
alias: tnt_router
364-
job: tarantool_app
365-
exp_annotations:
366-
summary: "Instance 'tnt_router' ('tarantool_app') has low fiber context switches rate"
367-
description: "Instance 'tnt_router' of job 'tarantool_app' has low fiber context switches rate.
368-
Some high loaded fiber has too little yields. It may be the reason of 'Too long WAL write' warnings."
369-
370-
371352
- interval: 15s
372353
input_series:
373354
- series: tnt_ev_loop_time{job="tarantool_app", instance="app:8081", alias="tnt_router"}

0 commit comments

Comments
 (0)