Skip to content

Commit 0b58828

Browse files
Add warning for Prometheus rate_time_range panels
1 parent a12a1b4 commit 0b58828

File tree

7 files changed

+74
-42
lines changed

7 files changed

+74
-42
lines changed

tarantool/cluster.libsonnet

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ local prometheus = grafana.prometheus;
243243
|||
244244
Overall rate of operations performed on Tarantool spaces (*select*, *insert*, *update* etc.).
245245
If Tarantool instance is not available for Prometheus metrics extraction now, its contribution is not counted.
246+
If `No data` displayed, check up your 'rate_time_range' variable.
246247
|||
247248
else
248249
null
@@ -275,6 +276,7 @@ local prometheus = grafana.prometheus;
275276
|||
276277
Overall rate of requests processed on Tarantool instances (all methods and response codes).
277278
If Tarantool instance is not available for Prometheus metrics extraction now, its contribution is not counted.
279+
If `No data` displayed, check up your 'rate_time_range' variable.
278280
|||
279281
else
280282
null

tarantool/cpu.libsonnet

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ local prometheus = grafana.prometheus;
5656
This is the average amount of time per minute
5757
spent by instance process executing in user mode.
5858
Metrics obtained using `getrusage()` call.
59+
If `No data` displayed for Prometheus panel,
60+
check up your 'rate_time_range' variable.
5961
|||,
6062
datasource=null,
6163
policy=null,
@@ -80,6 +82,8 @@ local prometheus = grafana.prometheus;
8082
This is the average amount of time per minute
8183
spent by instance process executing in kernel mode.
8284
Metrics obtained using `getrusage()` call.
85+
If `No data` displayed for Prometheus panel,
86+
check up your 'rate_time_range' variable.
8387
|||,
8488
datasource=null,
8589
policy=null,

tarantool/http.libsonnet

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ local prometheus = grafana.prometheus;
5555
description=|||
5656
Requests, processed with success (code 2xx) on Tarantool's side.
5757
Graph shows mean count per second.
58+
If `No data` displayed for Prometheus panel,
59+
check up your 'rate_time_range' variable.
5860
|||,
5961

6062
datasource=null,
@@ -80,6 +82,8 @@ local prometheus = grafana.prometheus;
8082
description=|||
8183
Requests, processed with 4xx error on Tarantool's side.
8284
Graph shows mean count per second.
85+
If `No data` displayed for Prometheus panel,
86+
check up your 'rate_time_range' variable.
8387
|||,
8488

8589
datasource=null,
@@ -105,6 +109,8 @@ local prometheus = grafana.prometheus;
105109
description=|||
106110
Requests, processed with 5xx error on Tarantool's side.
107111
Graph shows mean count per second.
112+
If `No data` displayed for Prometheus panel,
113+
check up your 'rate_time_range' variable.
108114
|||,
109115

110116
datasource=null,

tarantool/net.libsonnet

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ local prometheus = grafana.prometheus;
5555
description=|||
5656
Data received by instance from binary protocol connections.
5757
Graph shows average bytes per second.
58+
If `No data` displayed for Prometheus panel,
59+
check up your 'rate_time_range' variable.
5860
|||,
5961
datasource=null,
6062
policy=null,
@@ -78,6 +80,8 @@ local prometheus = grafana.prometheus;
7880
description=|||
7981
Data sent by instance with binary protocol connections.
8082
Graph shows average bytes per second.
83+
If `No data` displayed for Prometheus panel,
84+
check up your 'rate_time_range' variable.
8185
|||,
8286
datasource=null,
8387
policy=null,
@@ -101,6 +105,8 @@ local prometheus = grafana.prometheus;
101105
description=|||
102106
Number of network requests this instance has handled.
103107
Graph shows mean rps.
108+
If `No data` displayed for Prometheus panel,
109+
check up your 'rate_time_range' variable.
104110
|||,
105111

106112
datasource=null,

tarantool/operations.libsonnet

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ local prometheus = grafana.prometheus;
6767
std.format(|||
6868
total count of %s requests to all instance spaces.
6969
Graph shows average requests per second.
70+
If `No data` displayed for Prometheus panel,
71+
check up your 'rate_time_range' variable.
7072
|||, std.asciiUpper(operation))
7173
),
7274
datasource=datasource,
@@ -197,6 +199,8 @@ local prometheus = grafana.prometheus;
197199
description=|||
198200
Requests to execute stored procedures.
199201
Graph shows average requests per second.
202+
If `No data` displayed for Prometheus panel,
203+
check up your 'rate_time_range' variable.
200204
|||,
201205
datasource=null,
202206
policy=null,
@@ -220,6 +224,8 @@ local prometheus = grafana.prometheus;
220224
description=|||
221225
Calls to evaluate Lua code.
222226
Graph shows average requests per second.
227+
If `No data` displayed for Prometheus panel,
228+
check up your 'rate_time_range' variable.
223229
|||,
224230
datasource=null,
225231
policy=null,
@@ -243,6 +249,8 @@ local prometheus = grafana.prometheus;
243249
description=|||
244250
Requests resulted in error.
245251
Graph shows average errors per second.
252+
If `No data` displayed for Prometheus panel,
253+
check up your 'rate_time_range' variable.
246254
|||,
247255
datasource=null,
248256
policy=null,
@@ -266,6 +274,8 @@ local prometheus = grafana.prometheus;
266274
description=|||
267275
Authentication requests.
268276
Graph shows average errors per second.
277+
If `No data` displayed for Prometheus panel,
278+
check up your 'rate_time_range' variable.
269279
|||,
270280
datasource=null,
271281
policy=null,
@@ -289,6 +299,8 @@ local prometheus = grafana.prometheus;
289299
description=|||
290300
SQL prepare calls. Panel works with Tarantool 2.x.
291301
Graph shows average errors per second.
302+
If `No data` displayed for Prometheus panel,
303+
check up your 'rate_time_range' variable.
292304
|||,
293305
datasource=null,
294306
policy=null,
@@ -312,6 +324,8 @@ local prometheus = grafana.prometheus;
312324
description=|||
313325
SQL execute calls. Panel works with Tarantool 2.x.
314326
Graph shows average errors per second.
327+
If `No data` displayed for Prometheus panel,
328+
check up your 'rate_time_range' variable.
315329
|||,
316330
datasource=null,
317331
policy=null,

tests/InfluxDB/dashboard_compiled.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
"dashes": false,
507507
"datasource": "${DS_INFLUXDB}",
508508
"decimals": 2,
509-
"description": "Requests, processed with success (code 2xx) on Tarantool's side.\nGraph shows mean count per second.\n",
509+
"description": "Requests, processed with success (code 2xx) on Tarantool's side.\nGraph shows mean count per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
510510
"fill": 0,
511511
"gridPos": {
512512
"h": 8,
@@ -667,7 +667,7 @@
667667
"dashes": false,
668668
"datasource": "${DS_INFLUXDB}",
669669
"decimals": 2,
670-
"description": "Requests, processed with 4xx error on Tarantool's side.\nGraph shows mean count per second.\n",
670+
"description": "Requests, processed with 4xx error on Tarantool's side.\nGraph shows mean count per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
671671
"fill": 0,
672672
"gridPos": {
673673
"h": 8,
@@ -828,7 +828,7 @@
828828
"dashes": false,
829829
"datasource": "${DS_INFLUXDB}",
830830
"decimals": 2,
831-
"description": "Requests, processed with 5xx error on Tarantool's side.\nGraph shows mean count per second.\n",
831+
"description": "Requests, processed with 5xx error on Tarantool's side.\nGraph shows mean count per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
832832
"fill": 0,
833833
"gridPos": {
834834
"h": 8,
@@ -1491,7 +1491,7 @@
14911491
"dashes": false,
14921492
"datasource": "${DS_INFLUXDB}",
14931493
"decimals": 2,
1494-
"description": "Data received by instance from binary protocol connections.\nGraph shows average bytes per second.\n",
1494+
"description": "Data received by instance from binary protocol connections.\nGraph shows average bytes per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
14951495
"fill": 0,
14961496
"gridPos": {
14971497
"h": 8,
@@ -1628,7 +1628,7 @@
16281628
"dashes": false,
16291629
"datasource": "${DS_INFLUXDB}",
16301630
"decimals": 2,
1631-
"description": "Data sent by instance with binary protocol connections.\nGraph shows average bytes per second.\n",
1631+
"description": "Data sent by instance with binary protocol connections.\nGraph shows average bytes per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
16321632
"fill": 0,
16331633
"gridPos": {
16341634
"h": 8,
@@ -1765,7 +1765,7 @@
17651765
"dashes": false,
17661766
"datasource": "${DS_INFLUXDB}",
17671767
"decimals": 2,
1768-
"description": "Number of network requests this instance has handled.\nGraph shows mean rps.\n",
1768+
"description": "Number of network requests this instance has handled.\nGraph shows mean rps.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
17691769
"fill": 0,
17701770
"gridPos": {
17711771
"h": 8,
@@ -3395,7 +3395,7 @@
33953395
"dashes": false,
33963396
"datasource": "${DS_INFLUXDB}",
33973397
"decimals": 3,
3398-
"description": "This is the average amount of time per minute\nspent by instance process executing in user mode.\nMetrics obtained using `getrusage()` call.\n",
3398+
"description": "Panel works with `metrics >= 0.8.0`.\nThis is the average amount of time per minute\nspent by instance process executing in user mode.\nMetrics obtained using `getrusage()` call.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
33993399
"fill": 0,
34003400
"gridPos": {
34013401
"h": 8,
@@ -3532,7 +3532,7 @@
35323532
"dashes": false,
35333533
"datasource": "${DS_INFLUXDB}",
35343534
"decimals": 3,
3535-
"description": "This is the average amount of time per minute\nspent by instance process executing in kernel mode.\nMetrics obtained using `getrusage()` call.\n",
3535+
"description": "Panel works with `metrics >= 0.8.0`.\nThis is the average amount of time per minute\nspent by instance process executing in kernel mode.\nMetrics obtained using `getrusage()` call.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
35363536
"fill": 0,
35373537
"gridPos": {
35383538
"h": 8,
@@ -3838,7 +3838,7 @@
38383838
"dashes": false,
38393839
"datasource": "${DS_INFLUXDB}",
38403840
"decimals": 2,
3841-
"description": "total count of SELECT requests to all instance spaces.\nGraph shows average requests per second.\n",
3841+
"description": "total count of SELECT requests to all instance spaces.\nGraph shows average requests per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
38423842
"fill": 0,
38433843
"gridPos": {
38443844
"h": 8,
@@ -3981,7 +3981,7 @@
39813981
"dashes": false,
39823982
"datasource": "${DS_INFLUXDB}",
39833983
"decimals": 2,
3984-
"description": "total count of INSERT requests to all instance spaces.\nGraph shows average requests per second.\n",
3984+
"description": "total count of INSERT requests to all instance spaces.\nGraph shows average requests per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
39853985
"fill": 0,
39863986
"gridPos": {
39873987
"h": 8,
@@ -4124,7 +4124,7 @@
41244124
"dashes": false,
41254125
"datasource": "${DS_INFLUXDB}",
41264126
"decimals": 2,
4127-
"description": "total count of REPLACE requests to all instance spaces.\nGraph shows average requests per second.\n",
4127+
"description": "total count of REPLACE requests to all instance spaces.\nGraph shows average requests per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
41284128
"fill": 0,
41294129
"gridPos": {
41304130
"h": 8,
@@ -4267,7 +4267,7 @@
42674267
"dashes": false,
42684268
"datasource": "${DS_INFLUXDB}",
42694269
"decimals": 2,
4270-
"description": "total count of UPSERT requests to all instance spaces.\nGraph shows average requests per second.\n",
4270+
"description": "total count of UPSERT requests to all instance spaces.\nGraph shows average requests per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
42714271
"fill": 0,
42724272
"gridPos": {
42734273
"h": 8,
@@ -4410,7 +4410,7 @@
44104410
"dashes": false,
44114411
"datasource": "${DS_INFLUXDB}",
44124412
"decimals": 2,
4413-
"description": "total count of UPDATE requests to all instance spaces.\nGraph shows average requests per second.\n",
4413+
"description": "total count of UPDATE requests to all instance spaces.\nGraph shows average requests per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
44144414
"fill": 0,
44154415
"gridPos": {
44164416
"h": 8,
@@ -4553,7 +4553,7 @@
45534553
"dashes": false,
45544554
"datasource": "${DS_INFLUXDB}",
45554555
"decimals": 2,
4556-
"description": "total count of DELETE requests to all instance spaces.\nGraph shows average requests per second.\n",
4556+
"description": "total count of DELETE requests to all instance spaces.\nGraph shows average requests per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
45574557
"fill": 0,
45584558
"gridPos": {
45594559
"h": 8,
@@ -4696,7 +4696,7 @@
46964696
"dashes": false,
46974697
"datasource": "${DS_INFLUXDB}",
46984698
"decimals": 2,
4699-
"description": "Requests to execute stored procedures.\nGraph shows average requests per second.\n",
4699+
"description": "Requests to execute stored procedures.\nGraph shows average requests per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
47004700
"fill": 0,
47014701
"gridPos": {
47024702
"h": 8,
@@ -4839,7 +4839,7 @@
48394839
"dashes": false,
48404840
"datasource": "${DS_INFLUXDB}",
48414841
"decimals": 2,
4842-
"description": "Calls to evaluate Lua code.\nGraph shows average requests per second.\n",
4842+
"description": "Calls to evaluate Lua code.\nGraph shows average requests per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
48434843
"fill": 0,
48444844
"gridPos": {
48454845
"h": 8,
@@ -4982,7 +4982,7 @@
49824982
"dashes": false,
49834983
"datasource": "${DS_INFLUXDB}",
49844984
"decimals": 2,
4985-
"description": "Requests resulted in error.\nGraph shows average errors per second.\n",
4985+
"description": "Requests resulted in error.\nGraph shows average errors per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
49864986
"fill": 0,
49874987
"gridPos": {
49884988
"h": 8,
@@ -5125,7 +5125,7 @@
51255125
"dashes": false,
51265126
"datasource": "${DS_INFLUXDB}",
51275127
"decimals": 2,
5128-
"description": "Authentication requests.\nGraph shows average errors per second.\n",
5128+
"description": "Authentication requests.\nGraph shows average errors per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
51295129
"fill": 0,
51305130
"gridPos": {
51315131
"h": 8,
@@ -5268,7 +5268,7 @@
52685268
"dashes": false,
52695269
"datasource": "${DS_INFLUXDB}",
52705270
"decimals": 2,
5271-
"description": "SQL prepare calls. Panel works with Tarantool 2.x.\nGraph shows average errors per second.\n",
5271+
"description": "SQL prepare calls. Panel works with Tarantool 2.x.\nGraph shows average errors per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
52725272
"fill": 0,
52735273
"gridPos": {
52745274
"h": 8,
@@ -5411,7 +5411,7 @@
54115411
"dashes": false,
54125412
"datasource": "${DS_INFLUXDB}",
54135413
"decimals": 2,
5414-
"description": "SQL execute calls. Panel works with Tarantool 2.x.\nGraph shows average errors per second.\n",
5414+
"description": "SQL execute calls. Panel works with Tarantool 2.x.\nGraph shows average errors per second.\nIf `No data` displayed for Prometheus panel,\ncheck up your 'rate_time_range' variable.\n",
54155415
"fill": 0,
54165416
"gridPos": {
54175417
"h": 8,

0 commit comments

Comments
 (0)