Skip to content

Commit 89ea9d5

Browse files
alerts: fix file format
1 parent 22218c4 commit 89ea9d5

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

example_cluster/prometheus/alerts.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ groups:
1616
rules:
1717
# Warning for any instance that uses too much Lua runtime memory.
1818
- alert: HighLuaMemoryWarning
19-
expr: tnt_info_memory_lua >= (512 * 1024 * 1024)
19+
expr: tnt_info_memory_lua >= (512 * 1024 * 1024)
2020
for: 1m
2121
labels:
2222
severity: warning
@@ -27,7 +27,7 @@ groups:
2727

2828
# Alert for any instance that uses too much Lua runtime memory.
2929
- alert: HighLuaMemory
30-
expr: tnt_info_memory_lua >= (1024 * 1024 * 1024)
30+
expr: tnt_info_memory_lua >= (1024 * 1024 * 1024)
3131
for: 1m
3232
labels:
3333
severity: page
@@ -56,8 +56,8 @@ groups:
5656
annotations:
5757
summary: "Instance '{{ $labels.alias }}' ('{{ $labels.job }}') low arena memory remaining"
5858
description: "Low arena memory (tuples and indexes) remaining for '{{ $labels.alias }}' instance of job '{{ $labels.job }}'.
59-
You are likely to hit limit soon.
60-
It is strongly recommended to increase memtx_memory or number of storages in case of sharded data."
59+
You are likely to hit limit soon.
60+
It is strongly recommended to increase memtx_memory or number of storages in case of sharded data."
6161

6262
# Warning for any instance that have low remaining items memory.
6363
- alert: LowMemtxItemsRemainingWarning
@@ -170,9 +170,9 @@ groups:
170170
severity: critical
171171
annotations:
172172
summary: "Instance '{{ $labels.alias }}' ('{{ $labels.job }}') {{ $labels.stream }} (id {{ $labels.id }})
173-
replication is not running"
173+
replication is not running"
174174
description: "Instance '{{ $labels.alias }}' ('{{ $labels.job }}') {{ $labels.stream }} (id {{ $labels.id }})
175-
replication is not running. Check Cartridge UI for details."
175+
replication is not running. Check Cartridge UI for details."
176176

177177

178178
- name: tarantool-crud
@@ -186,7 +186,7 @@ groups:
186186
annotations:
187187
summary: "Instance '{{ $labels.alias }}' ('{{ $labels.job }}') too many CRUD {{ $labels.operation }} errors."
188188
description: "Too many {{ $labels.operation }} CRUD requests for '{{ $labels.name }}' space on
189-
'{{ $labels.alias }}' instance of job '{{ $labels.job }}' get module error responses."
189+
'{{ $labels.alias }}' instance of job '{{ $labels.job }}' get module error responses."
190190

191191
# Warning for CRUD module requests too long responses.
192192
- alert: HighCRUDLatency
@@ -197,7 +197,7 @@ groups:
197197
annotations:
198198
summary: "Instance '{{ $labels.alias }}' ('{{ $labels.job }}') too high CRUD {{ $labels.operation }} latency."
199199
description: "Some {{ $labels.operation }} {{ $labels.status }} CRUD requests for '{{ $labels.name }}' space on
200-
'{{ $labels.alias }}' instance of job '{{ $labels.job }}' are processed too long."
200+
'{{ $labels.alias }}' instance of job '{{ $labels.job }}' are processed too long."
201201

202202
# Warning for too many map reduce CRUD module requests.
203203
- alert: HighCRUDMapReduceRate
@@ -208,8 +208,8 @@ groups:
208208
annotations:
209209
summary: "Instance '{{ $labels.alias }}' ('{{ $labels.job }}') too many CRUD {{ $labels.operation }} map reduces."
210210
description: "There are too many {{ $labels.operation }} CRUD map reduce requests for '{{ $labels.name }}' space on
211-
'{{ $labels.alias }}' instance of job '{{ $labels.job }}'.
212-
Check your request conditions or consider changing sharding schema."
211+
'{{ $labels.alias }}' instance of job '{{ $labels.job }}'.
212+
Check your request conditions or consider changing sharding schema."
213213

214214

215215
- name: tarantool-business
@@ -281,5 +281,5 @@ groups:
281281
severity: warning
282282
annotations:
283283
summary: "Router '{{ $labels.alias }}' ('{{ $labels.job }}') low activity"
284-
description: Router '{{ $labels.alias }}' instance of job '{{ $labels.job }}' gets too little requests.
284+
description: "Router '{{ $labels.alias }}' instance of job '{{ $labels.job }}' gets too little requests.
285285
Please, check up your balancer middleware."

example_cluster/prometheus/test_alerts.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ tests:
387387
exp_annotations:
388388
summary: "Instance 'tnt_storage_master' ('tarantool') upstream (id 1) replication is not running"
389389
description: "Instance 'tnt_storage_master' ('tarantool') upstream (id 1) replication is
390-
not running. Check Cartridge UI for details."
390+
not running. Check Cartridge UI for details."
391391

392392

393393
- interval: 15s
@@ -453,8 +453,8 @@ tests:
453453
exp_annotations:
454454
summary: "Instance 'tnt_router' ('tarantool') too many CRUD select map reduces."
455455
description: "There are too many select CRUD map reduce requests for 'customers' space on
456-
'tnt_router' instance of job 'tarantool'.
457-
Check your request conditions or consider changing sharding schema."
456+
'tnt_router' instance of job 'tarantool'.
457+
Check your request conditions or consider changing sharding schema."
458458

459459

460460
- interval: 15s
@@ -617,5 +617,5 @@ tests:
617617
job: tarantool
618618
exp_annotations:
619619
summary: "Router 'tnt_router' ('tarantool') low activity"
620-
description: Router 'tnt_router' instance of job 'tarantool' gets too little requests.
620+
description: "Router 'tnt_router' instance of job 'tarantool' gets too little requests.
621621
Please, check up your balancer middleware."

0 commit comments

Comments
 (0)