-
Notifications
You must be signed in to change notification settings - Fork 19
/
main.libsonnet
6846 lines (5020 loc) · 312 KB
/
main.libsonnet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
local g = import 'g.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonnet';
local elasticsearch = grafonnet.query.elasticsearch;
local stateTimeline = grafonnet.panel.stateTimeline;
local var = g.dashboard.variable;
g.dashboard.new('PerfCI-Regression-Summary')
+ g.dashboard.time.withFrom('now-45d')
+ g.dashboard.time.withTo('now')
+ g.dashboard.withTimepicker({},)
+ g.dashboard.withTimezone("")
+ g.dashboard.withUid('T4775LKnzzmichey')
+ g.dashboard.withWeekStart("")
+ g.dashboard.withLiveNow(false)
+ g.dashboard.withLinks([
g.dashboard.link.link.new('Details', 'https://docs.google.com/spreadsheets/d/1eSOmyZKJ6f0RIHN0zJNnH-S2YrqrU0oyzp7PNSQvksE/edit#gid=0')
+ g.dashboard.link.link.options.withAsDropdown(false)
+ g.dashboard.link.link.withIcon('info')
+ g.dashboard.link.link.options.withIncludeVars(false)
+ g.dashboard.link.link.options.withKeepTime(false)
+ g.dashboard.link.link.options.withTargetBlank(true),
g.dashboard.link.link.new('Issues', 'https://docs.google.com/spreadsheets/d/1vZtg0Gj8IxKPGLWAkB4iD1O59u_WA4ky5P7gGX6xW3M/edit#gid=0')
+ g.dashboard.link.link.options.withAsDropdown(false)
+ g.dashboard.link.link.withIcon('bolt')
+ g.dashboard.link.link.options.withIncludeVars(false)
+ g.dashboard.link.link.options.withKeepTime(false)
+ g.dashboard.link.link.options.withTargetBlank(true),
])
//////////////////////////////////////////////////////
+ g.dashboard.templating.withList([
/*
g.dashboard.variable.datasource.new('Elasticsearch-hammerdb-results', 'elasticsearch')
+ g.dashboard.variable.datasource.withRegex('/^Elasticsearch-hammerdb-results/'),
g.dashboard.variable.datasource.new('Elasticsearch-ci-status', 'elasticsearch')
+ g.dashboard.variable.datasource.withRegex('/^Elasticsearch-ci-status/'),
g.dashboard.variable.datasource.new('Elasticsearch-uperf-results', 'elasticsearch')
+ g.dashboard.variable.datasource.withRegex('/^Elasticsearch-uperf-results/'),
g.dashboard.variable.datasource.new('Elasticsearch-vdbench-results', 'elasticsearch')
+ g.dashboard.variable.datasource.withRegex('/^Elasticsearch-vdbench-results/'),
*/
g.dashboard.variable.query.new('ocp_version', '{\"find\":\"terms\",\"field\":\"ocp_version.keyword\"}')
+ elasticsearch.withDatasource('Elasticsearch-hammerdb-results')
+ g.query.azureMonitor.withHide(0)
+ g.dashboard.variable.query.selectionOptions.withIncludeAll(true, '')
+ g.dashboard.variable.query.selectionOptions.withMulti(true)
+ g.dashboard.variable.query.withRegex('')
+ g.dashboard.variable.query.withSort(6)
+ g.dashboard.variable.query.withRefresh(2),
g.dashboard.variable.query.new('db_type', '{\"find\":\"terms\",\"field\":\"db_type.keyword\"}')
+ elasticsearch.withDatasource('Elasticsearch-hammerdb-results')
+ g.query.azureMonitor.withHide(0)
+ g.dashboard.variable.query.selectionOptions.withIncludeAll(true, '')
+ g.dashboard.variable.query.selectionOptions.withMulti(true)
+ g.dashboard.variable.query.withRegex('')
+ g.dashboard.variable.query.withSort(1)
+ g.dashboard.variable.query.withRefresh(2),
g.dashboard.variable.query.new('current_worker', '{\"find\":\"terms\",\"field\":\"current_worker\"}')
+ elasticsearch.withDatasource('Elasticsearch-hammerdb-results')
+ g.query.azureMonitor.withHide(0)
+ g.dashboard.variable.query.selectionOptions.withIncludeAll(true, '')
+ g.dashboard.variable.query.selectionOptions.withMulti(true)
+ g.dashboard.variable.query.withRegex('')
+ g.dashboard.variable.query.withSort(1)
+ g.dashboard.variable.query.withRefresh(2),
g.dashboard.variable.query.new('kind', '{\"find\":\"terms\",\"field\":\"kind.keyword\"}')
+ elasticsearch.withDatasource('Elasticsearch-hammerdb-results')
+ g.query.azureMonitor.withHide(0)
+ g.dashboard.variable.query.selectionOptions.withIncludeAll(true, '')
+ g.dashboard.variable.query.selectionOptions.withMulti(true)
+ g.dashboard.variable.query.withRegex('')
+ g.dashboard.variable.query.withSort(1)
+ g.dashboard.variable.query.withRefresh(2),
g.dashboard.variable.query.new('vdbench_type', '{\"find\":\"terms\",\"field\":\"Run.keyword\"}')
+ elasticsearch.withDatasource('Elasticsearch-vdbench-results')
+ g.query.azureMonitor.withHide(0)
+ g.dashboard.variable.query.selectionOptions.withIncludeAll(true, '')
+ g.dashboard.variable.query.selectionOptions.withMulti(true)
+ g.dashboard.variable.query.withRegex('')
+ g.dashboard.variable.query.withSort(6)
+ g.dashboard.variable.query.withRefresh(2),
])
///////////////////////////////////////////////////////
+ g.dashboard.withRefresh('')
+ g.dashboard.withSchemaVersion(34)
+ g.dashboard.withStyle('dark')
+ g.dashboard.withTags([],)
+ g.dashboard.withPanels([
/////////////////////////////////////////
///////////////////////////////////////////
g.panel.text.new('Workloads Legend')
+ g.panel.text.gridPos.withH(6)
+ g.panel.text.gridPos.withW(5)
+ g.panel.text.gridPos.withX(0)
+ g.panel.text.gridPos.withY(0)
+ g.panel.text.withId('188')
+ g.panel.text.options.withContent('\n<p style=\"background-color:#000099;text-align: center;\" > > 100% new peak</p>\n<p style=\"background-color:#006600;text-align: center;color:black;\" > 90% - 100% of peak</p>\n<p style=\"background-color:#9fdf9f;text-align: center;color:black;\" > 80% - 90% of peak</p>\n<p style=\"background-color:#cc6600;text-align: center;color:black;\" > 50% - 80% of peak</p>\n<p style=\"background-color:#992600;text-align: center;\" > 0% - 50% of peak</p>\n\n\n ')
+ g.panel.text.options.withMode("html")
+ g.panel.text.withPluginVersion()
+ g.panel.text.withTargets([
elasticsearch.withAlias('')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ g.panel.text.datasource.withType('elasticsearch')
+ g.panel.text.datasource.withUid('cd4b9568-576c-4528-b200-89b91a098410')
+ elasticsearch.withMetrics([
elasticsearch.metrics.Count.withId('1')
+ elasticsearch.metrics.Count.withType('count')
])
+ elasticsearch.withQuery('')
+ elasticsearch.withRefId('A')
+ elasticsearch.withTimeField('timestamp')
]),
////////////////////////////////////////////
g.panel.text.new('')
+ g.panel.text.panelOptions.withDescription("")
+ g.panel.text.gridPos.withH(6)
+ g.panel.text.gridPos.withW(5)
+ g.panel.text.gridPos.withX(19)
+ g.panel.text.gridPos.withY(0)
+ g.panel.text.withId('187')
+ g.panel.text.options.withContent('![PerfCi](https://www.cielhr.com/wp-content/uploads/2019/10/PerformancewSpace-1080x675.png \"Tooltip Text\")\n')
+ g.panel.text.options.withMode("markdown")
+ g.panel.text.withPluginVersion()
+ g.panel.text.withTargets([
elasticsearch.withAlias('')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ g.panel.text.datasource.withType('elasticsearch')
+ g.panel.text.datasource.withUid('cd4b9568-576c-4528-b200-89b91a098410')
+ elasticsearch.withMetrics([
elasticsearch.metrics.Count.withId('1')
+ elasticsearch.metrics.Count.withType('count')
])
+ elasticsearch.withQuery('')
+ elasticsearch.withRefId('A')
+ elasticsearch.withTimeField('timestamp')
]),
////////////////////////////////////////
stateTimeline.new('Product Versions')
+ stateTimeline.withDescription("OVN - 09/19")
+ stateTimeline.queryOptions.withDatasource('Elasticsearch-ci-status')
+ stateTimeline.standardOptions.color.withFixedColor('#132dc3')
+ stateTimeline.standardOptions.color.withMode('fixed')
+ stateTimeline.fieldConfig.defaults.custom.withFillOpacity(85)
+ stateTimeline.fieldConfig.defaults.custom.withLineWidth(0)
+ stateTimeline.fieldConfig.defaults.withMappings([
stateTimeline.valueMapping.RegexMap.withOptions(
//START_VALUE_MAPPING_227
{"0": {"index": 0, "text": "fail"}, "1": {"index": 1, "text": "pass"}, "102": {"index": 13, "text": "1.0.2"}, "110": {"index": 14, "text": "1.1.0"}, "120": {"index": 15, "text": "1.2.0"}, "121": {"index": 16, "text": "1.2.1"}, "130": {"index": 45, "text": "1.3.0"}, "131": {"index": 117, "text": "1.3.1"}, "132": {"index": 76, "text": "1.3.2"}, "133": {"index": 77, "text": "1.3.3"}, "140": {"index": 118, "text": "1.4.0"}, "483": {"index": 0, "text": "4.8.3"}, "484": {"index": 1, "text": "4.8.4"}, "485": {"index": 2, "text": "4.8.5"}, "486": {"index": 3, "text": "4.8.6"}, "487": {"index": 4, "text": "4.8.7"}, "488": {"index": 5, "text": "4.8.8"}, "3025": {"index": 86, "text": "3.0.2-5"}, "3026": {"index": 119, "text": "3.0.2-6"}, "4102": {"index": 33, "text": "4.10.2"}, "4104": {"index": 34, "text": "4.10.4"}, "4105": {"index": 35, "text": "4.10.5"}, "4106": {"index": 36, "text": "4.10.6"}, "4108": {"index": 37, "text": "4.10.8"}, "4109": {"index": 38, "text": "4.10.9"}, "4114": {"index": 54, "text": "4.11.4"}, "4115": {"index": 55, "text": "4.11.5"}, "4116": {"index": 56, "text": "4.11.6"}, "4117": {"index": 57, "text": "4.11.7"}, "4118": {"index": 58, "text": "4.11.8"}, "4119": {"index": 59, "text": "4.11.9"}, "4120": {"index": 68, "text": "4.12.0"}, "4121": {"index": 69, "text": "4.12.1"}, "4122": {"index": 70, "text": "4.12.2"}, "4124": {"index": 80, "text": "4.12.4"}, "4130": {"index": 106, "text": "4.13.0"}, "4131": {"index": 109, "text": "4.13.1"}, "4132": {"index": 110, "text": "4.13.2"}, "4133": {"index": 111, "text": "4.13.3"}, "4814": {"index": 6, "text": "4.8.14"}, "4932": {"index": 8, "text": "4.9.3-2"}, "4947": {"index": 9, "text": "4.9.4-7"}, "4955": {"index": 10, "text": "4.9.5-5"}, "4961": {"index": 11, "text": "4.9.6-1"}, "4972": {"index": 12, "text": "4.9.7-2"}, "41002": {"index": 30, "text": "4.10.0-rc.2"}, "41003": {"index": 31, "text": "4.10.0-rc.3"}, "41007": {"index": 32, "text": "4.10.0-rc.7"}, "41010": {"index": 39, "text": "4.10.10"}, "41011": {"index": 40, "text": "4.10.11"}, "41012": {"index": 41, "text": "4.10.12"}, "41013": {"index": 42, "text": "4.10.13"}, "41014": {"index": 43, "text": "4.10.14"}, "41015": {"index": 44, "text": "4.10.15"}, "41016": {"index": 21, "text": "4.10.1-6"}, "41021": {"index": 28, "text": "4.10.2-1"}, "41023": {"index": 29, "text": "4.10.2-3"}, "41054": {"index": 49, "text": "4.10.5-4"}, "41066": {"index": 48, "text": "4.10.6-6"}, "41110": {"index": 60, "text": "4.11.10"}, "41111": {"index": 61, "text": "4.11.11"}, "41112": {"index": 62, "text": "4.11.12"}, "41113": {"index": 63, "text": "4.11.13"}, "41114": {"index": 64, "text": "4.11.14"}, "41144": {"index": 78, "text": "4.11.4-4"}, "41159": {"index": 79, "text": "4.11.5-9"}, "41206": {"index": 65, "text": "4.12.0.6"}, "41207": {"index": 66, "text": "4.12.0.7"}, "41208": {"index": 67, "text": "4.12.0.8"}, "41218": {"index": 73, "text": "4.12.1-8"}, "41224": {"index": 85, "text": "4.12.2-4"}, "41304": {"index": 102, "text": "4.13.0-rc.4"}, "41305": {"index": 103, "text": "4.13.0-rc.5"}, "41307": {"index": 104, "text": "4.13.0-rc.7"}, "41308": {"index": 105, "text": "4.13.0-rc.8"}, "49211": {"index": 7, "text": "4.9.2-11"}, "410129": {"index": 22, "text": "4.10.1-29"}, "410136": {"index": 23, "text": "4.10.1-36"}, "410160": {"index": 24, "text": "4.10.1-60"}, "410170": {"index": 25, "text": "4.10.1-70"}, "410197": {"index": 26, "text": "4.10.1-97"}, "411115": {"index": 52, "text": "4.11.1-15"}, "411121": {"index": 51, "text": "4.11.1-21"}, "411135": {"index": 46, "text": "4.11.1-35"}, "411142": {"index": 47, "text": "4.11.1-42"}, "411605": {"index": 53, "text": "4.11.6-5"}, "412116": {"index": 74, "text": "4.12.1-16"}, "412119": {"index": 84, "text": "4.12.1-19"}, "412122": {"index": 75, "text": "4.12.1-22"}, "412139": {"index": 82, "text": "4.12.1-39"}, "412140": {"index": 81, "text": "4.12.1-40"}, "412317": {"index": 121, "text": "4.12.3-17"}, "413014": {"index": 101, "text": "4.13.0-ec.4"}, "413118": {"index": 113, "text": "4.13.1-18"}, "413140": {"index": 114, "text": "4.13.1-40"}, "4100683": {"index": 17, "text": "4.10.0-683"}, "4100688": {"index": 18, "text": "4.10.0-688"}, "4100700": {"index": 19, "text": "4.10.0-700"}, "4100729": {"index": 20, "text": "4.10.0-729"}, "4101101": {"index": 27, "text": "4.10.1-101"}, "4110137": {"index": 50, "text": "4.11.0-137"}, "4120173": {"index": 83, "text": "4.12.0-173"}, "4120777": {"index": 71, "text": "4.12.0-777"}, "4120781": {"index": 72, "text": "4.12.0-781"}, "4131154": {"index": 115, "text": "4.13.1-154"}, "41301586": {"index": 88, "text": "4.13.0-1586"}, "41301649": {"index": 89, "text": "4.13.0-1649"}, "41301666": {"index": 91, "text": "4.13.0-1666"}, "41301689": {"index": 90, "text": "4.13.0-1689"}, "41301782": {"index": 92, "text": "4.13.0-1782"}, "41301856": {"index": 93, "text": "4.13.0-1856"}, "41301938": {"index": 94, "text": "4.13.0-1938"}, "41301943": {"index": 95, "text": "4.13.0-1943"}, "41302115": {"index": 96, "text": "4.13.0-2115"}, "41302176": {"index": 97, "text": "4.13.0-2176"}, "41302229": {"index": 98, "text": "4.13.0-2229"}, "41302251": {"index": 99, "text": "4.13.0-2251"}, "41302269": {"index": 100, "text": "4.13.0-2269"}, "4130ec3": {"index": 87, "text": "4.13.0-ec.3"}, "CNV": {"index": 112, "text": "CNV"}, "KATA": {"index": 116, "text": "KATA"}, "OCP": {"index": 108, "text": "OCP"}, "ODF": {"index": 120, "text": "ODF"}, "Product Versions": {"index": 107, "text": "Product Versions"}, "4136": {"index": 122, "text": "4.13.6"}, "413360": {"index": 123, "text": "4.13.3-60"}, "41244": {"index": 126, "text": "4.12.4-4"}, "4134": {"index": 130, "text": "4.13.4"}, "4131206": {"index": 131, "text": "4.13.1-206"}, "4131214": {"index": 132, "text": "4.13.1-214"}, "41323": {"index": 133, "text": "4.13.2-3"}, "413273": {"index": 134, "text": "4.13.2-73"}, "41338": {"index": 135, "text": "4.13.3-8"}, "413267": {"index": 136, "text": "4.13.2-67"}, "4137": {"index": 137, "text": "4.13.7"}, "4133166": {"index": 138, "text": "4.13.3-166"}, "141": {"index": 139, "text": "1.4.1"}, "41252": {"index": 140, "text": "4.12.5-2"}, "4138": {"index": 141, "text": "4.13.8"}, "4133203": {"index": 142, "text": "4.13.3-203"}, "4139": {"index": 143, "text": "4.13.9"}, "413426": {"index": 145, "text": "4.13.4-26"}, "4133266": {"index": 146, "text": "4.13.3-266"}, "41310": {"index": 147, "text": "4.13.10"}, "413482": {"index": 148, "text": "4.13.4-82"}, "41263": {"index": 149, "text": "4.12.6-3"}, "41311": {"index": 150, "text": "4.13.11"}, "4134140": {"index": 151, "text": "4.13.4-140"}, "41272": {"index": 152, "text": "4.12.7-2"}, "41312": {"index": 153, "text": "4.13.12"}, "4134192": {"index": 154, "text": "4.13.4-192"}, "41313": {"index": 155, "text": "4.13.13"}, "4134237": {"index": 156, "text": "4.13.4-237"}, "41401": {"index": 157, "text": "4.14.0-rc.1"}, "41401991": {"index": 158, "text": "4.14.0-1991"}, "3132": {"index": 159, "text": "3.1.3-2"}, "41402040": {"index": 160, "text": "4.14.0-2040"}, "41402": {"index": 161, "text": "4.14.0-rc.2"}, "41402084": {"index": 162, "text": "4.14.0-2084"}, "41402117": {"index": 163, "text": "4.14.0-2117"}, "41336": {"index": 164, "text": "4.13.3-6"}, "41404": {"index": 165, "text": "4.14.0-rc.4"}, "41402178": {"index": 166, "text": "4.14.0-2178"}, "41402197": {"index": 167, "text": "4.14.0-2197"}, "41406": {"index": 168, "text": "4.14.0-rc.6"}, "41402245": {"index": 169, "text": "4.14.0-2245"}, "3134": {"index": 170, "text": "3.1.3-4"}, "41402256": {"index": 171, "text": "4.14.0-2256"}, "41402257": {"index": 172, "text": "4.14.0-2257"}, "41402258": {"index": 173, "text": "4.14.0-2258"}, "41407": {"index": 174, "text": "4.14.0-rc.7"}, "41402337": {"index": 175, "text": "4.14.0-2337"}, "41348": {"index": 176, "text": "4.13.4-8"}, "4141": {"index": 177, "text": "4.14.1"}, "41402356": {"index": 178, "text": "4.14.0-2356"}, "41402391": {"index": 179, "text": "4.14.0-2391"}, "41402399": {"index": 180, "text": "4.14.0-2399"}, "41402401": {"index": 181, "text": "4.14.0-2401"}, "41402419": {"index": 182, "text": "4.14.0-2419"}, "41402424": {"index": 183, "text": "4.14.0-2424"}, "4142": {"index": 184, "text": "4.14.2"}, "41402432": {"index": 185, "text": "4.14.0-2432"}, "4140161": {"index": 186, "text": "4.14.0-161"}, "414112": {"index": 187, "text": "4.14.1-12"}, "4143": {"index": 188, "text": "4.14.3"}, "414157": {"index": 189, "text": "4.14.1-57"}, "4144": {"index": 190, "text": "4.14.4"}, "414183": {"index": 191, "text": "4.14.1-83"}, "4141118": {"index": 192, "text": "4.14.1-118"}, "150": {"index": 193, "text": "1.5.0"}, "4145": {"index": 194, "text": "4.14.5"}, "4141136": {"index": 195, "text": "4.14.1-136"}, "4146": {"index": 196, "text": "4.14.6"}, "414162": {"index": 197, "text": "4.14.1-62"}, "414216": {"index": 198, "text": "4.14.2-16"}, "413511": {"index": 199, "text": "4.13.5-11"}, "4147": {"index": 200, "text": "4.14.7"}, "414294": {"index": 201, "text": "4.14.2-94"}, "41361": {"index": 202, "text": "4.13.6-1"}, "4142127": {"index": 203, "text": "4.14.2-127"}, "4142148": {"index": 204, "text": "4.14.2-148"}, "4148": {"index": 205, "text": "4.14.8"}, "4142199": {"index": 206, "text": "4.14.2-199"}, "414356": {"index": 207, "text": "4.14.3-56"}, "151": {"index": 208, "text": "1.5.1"}, "41329": {"index": 209, "text": "4.13.29"}, "4137315": {"index": 210, "text": "4.13.7-315"}, "412102": {"index": 211, "text": "4.12.10-2"}, "41410": {"index": 212, "text": "4.14.10"}, "4143123": {"index": 213, "text": "4.14.3-123"}, "4143168": {"index": 214, "text": "4.14.3-168"}, "4143196": {"index": 215, "text": "4.14.3-196"}, "41371": {"index": 216, "text": "4.13.7-1"}, "41412": {"index": 217, "text": "4.14.12"}, "414413": {"index": 218, "text": "4.14.4-13"}, "41413": {"index": 219, "text": "4.14.13"}, "152": {"index": 220, "text": "1.5.2"}, "414496": {"index": 221, "text": "4.14.4-96"}, "41414": {"index": 222, "text": "4.14.14"}, "4144142": {"index": 223, "text": "4.14.4-142"}, "41415": {"index": 224, "text": "4.14.15"}, "4144196": {"index": 225, "text": "4.14.4-196"}, "4144200": {"index": 226, "text": "4.14.4-200"}, "4152": {"index": 227, "text": "4.15.2"}, "415178": {"index": 228, "text": "4.15.1-78"}, "41459": {"index": 229, "text": "4.14.5-9"}, "4144204": {"index": 230, "text": "4.14.4-204"}, "": {"index": 231, "text": ""}, "4144237": {"index": 232, "text": "4.14.4-237"}, "4144248": {"index": 233, "text": "4.14.4-248"}, "4144265": {"index": 234, "text": "4.14.4-265"}, "4153": {"index": 235, "text": "4.15.3"}, "4151117": {"index": 236, "text": "4.15.1-117"}, "3204": {"index": 237, "text": "3.2.0-4"}, "4151140": {"index": 238, "text": "4.15.1-140"}, "4154": {"index": 239, "text": "4.15.4"}, "4151174": {"index": 240, "text": "4.15.1-174"}, "4144310": {"index": 241, "text": "4.14.4-310"}, "4144320": {"index": 242, "text": "4.14.4-320"}, "4144334": {"index": 243, "text": "4.14.4-334"}, "414580": {"index": 244, "text": "4.14.5-80"}, "414588": {"index": 245, "text": "4.14.5-88"}, "41420": {"index": 246, "text": "4.14.20"}, "4145146": {"index": 247, "text": "4.14.5-146"}, "41381": {"index": 248, "text": "4.13.8-1"}, "4159": {"index": 249, "text": "4.15.9"}, "415287": {"index": 250, "text": "4.15.2-87"}, "41461": {"index": 251, "text": "4.14.6-1"}, "41510": {"index": 252, "text": "4.15.10"}, "4152143": {"index": 253, "text": "4.15.2-143"}, "4152187": {"index": 254, "text": "4.15.2-187"}, "41512": {"index": 255, "text": "4.15.12"}, "4152249": {"index": 256, "text": "4.15.2-249"}, "41513": {"index": 257, "text": "4.15.13"}, "4152335": {"index": 258, "text": "4.15.2-335"}, "41601": {"index": 259, "text": "4.16.0-rc.1"}, "41602528": {"index": 260, "text": "4.16.0-2528"}, "41521": {"index": 261, "text": "4.15.2-1"}, "41602": {"index": 262, "text": "4.16.0-rc.2"}, "41602581": {"index": 263, "text": "4.16.0-2581"}, "41602591": {"index": 264, "text": "4.16.0-2591"}, "41602588": {"index": 265, "text": "4.16.0-2588"}, "41603": {"index": 266, "text": "4.16.0-rc.3"}, "41602624": {"index": 267, "text": "4.16.0-2624"}, "41604": {"index": 268, "text": "4.16.0-rc.4"}, "41602656": {"index": 269, "text": "4.16.0-2656"}, "41602666": {"index": 270, "text": "4.16.0-2666"}, "41539": {"index": 271, "text": "4.15.3-9"}, "41606": {"index": 272, "text": "4.16.0-rc.6"}, "41602693": {"index": 273, "text": "4.16.0-2693"}, "41602694": {"index": 274, "text": "4.16.0-2694"}, "41602702": {"index": 275, "text": "4.16.0-2702"}, "4160": {"index": 276, "text": "4.16.0"}, "41602730": {"index": 277, "text": "4.16.0-2730"}, "41608": {"index": 278, "text": "4.16.0-rc.8"}, "41602718": {"index": 279, "text": "4.16.0-2718"}, "4161": {"index": 280, "text": "4.16.1"}, "41602733": {"index": 281, "text": "4.16.0-2733"}, "41602732": {"index": 282, "text": "4.16.0-2732"}, "41602746": {"index": 283, "text": "4.16.0-2746"}, "4162": {"index": 284, "text": "4.16.2"}, "41602756": {"index": 285, "text": "4.16.0-2756"}, "41541": {"index": 286, "text": "4.15.4-1"}, "41602769": {"index": 287, "text": "4.16.0-2769"}, "4163": {"index": 288, "text": "4.16.3"}, "41555": {"index": 289, "text": "4.15.5-5"}, "4164": {"index": 290, "text": "4.16.4"}, "416170": {"index": 291, "text": "4.16.1-70"}, "4165": {"index": 292, "text": "4.16.5"}, "4161142": {"index": 293, "text": "4.16.1-142"}, "4166": {"index": 294, "text": "4.16.6"}, "4161160": {"index": 295, "text": "4.16.1-160"}, "416221": {"index": 296, "text": "4.16.2-21"}, "4167": {"index": 297, "text": "4.16.7"}, "416225": {"index": 298, "text": "4.16.2-25"}, "416224": {"index": 299, "text": "4.16.2-24"}, "416245": {"index": 300, "text": "4.16.2-45"}, "4168": {"index": 301, "text": "4.16.8"}, "416297": {"index": 302, "text": "4.16.2-97"}, "4169": {"index": 303, "text": "4.16.9"}, "4162113": {"index": 304, "text": "4.16.2-113"}, "4162124": {"index": 305, "text": "4.16.2-124"}, "41610": {"index": 306, "text": "4.16.10"}, "4162136": {"index": 307, "text": "4.16.2-136"}, "4162150": {"index": 308, "text": "4.16.2-150"}, "41611": {"index": 309, "text": "4.16.11"}, "41563": {"index": 310, "text": "4.15.6-3"}, "416333": {"index": 311, "text": "4.16.3-33"}, "41612": {"index": 312, "text": "4.16.12"}, "416350": {"index": 313, "text": "4.16.3-50"}, "41613": {"index": 314, "text": "4.16.13"}, "416397": {"index": 315, "text": "4.16.3-97"}, "41614": {"index": 316, "text": "4.16.14"}, "416399": {"index": 317, "text": "4.16.3-99"}, "41615": {"index": 318, "text": "4.16.15"}, "41649": {"index": 319, "text": "4.16.4-9"}, "416424": {"index": 320, "text": "4.16.4-24"}, "416427": {"index": 321, "text": "4.16.4-27"}, "41645": {"index": 322, "text": "4.16.4-5"}, "416430": {"index": 323, "text": "4.16.4-30"}, "416447": {"index": 324, "text": "4.16.4-47"}, "41616": {"index": 325, "text": "4.16.16"}, "416449": {"index": 326, "text": "4.16.4-49"}, "41572": {"index": 327, "text": "4.15.7-2"}, "416476": {"index": 328, "text": "4.16.4-76"}, "41617": {"index": 329, "text": "4.16.17"}, "416479": {"index": 330, "text": "4.16.4-79"}, "4164130": {"index": 331, "text": "4.16.4-130"}, "41618": {"index": 332, "text": "4.16.18"}, "4164132": {"index": 333, "text": "4.16.4-132"}, "4164171": {"index": 334, "text": "4.16.4-171"}, "41619": {"index": 335, "text": "4.16.19"}, "4164224": {"index": 336, "text": "4.16.4-224"}, "41620": {"index": 337, "text": "4.16.20"}, "4164226": {"index": 338, "text": "4.16.4-226"}, "4164253": {"index": 339, "text": "4.16.4-253"}, "41621": {"index": 340, "text": "4.16.21"}, "4164261": {"index": 341, "text": "4.16.4-261"}, "4164271": {"index": 342, "text": "4.16.4-271"}, "41623": {"index": 343, "text": "4.16.23"}, "4164287": {"index": 344, "text": "4.16.4-287"}, "4164302": {"index": 345, "text": "4.16.4-302"}, "416517": {"index": 346, "text": "4.16.5-17"}, "41586": {"index": 347, "text": "4.15.8-6"}, "41624": {"index": 348, "text": "4.16.24"}, "416562": {"index": 349, "text": "4.16.5-62"}}
//END_VALUE_MAPPING_227
)
+ stateTimeline.valueMapping.RegexMap.withType('value')
])
+ stateTimeline.fieldConfig.defaults.thresholds.withMode('absolute')
+ stateTimeline.fieldConfig.defaults.thresholds.withSteps([
g.panel.alertGroups.thresholdStep.withColor('green')
+ g.panel.alertGroups.thresholdStep.withValue(null)
])
+ stateTimeline.fieldConfig.withOverrides([
stateTimeline.fieldOverride.byName.new('Ci Status')
+ g.panel.table.fieldOverride.byName.withProperty('color', {"mode": "continuous-GrYlRd"})
])
+ stateTimeline.gridPos.withH(6)
+ stateTimeline.gridPos.withW(24)
+ stateTimeline.gridPos.withX(0)
+ stateTimeline.gridPos.withY(6)
+ stateTimeline.withId(171)
+ stateTimeline.queryOptions.withInterval("1d")
+ stateTimeline.panelOptions.withLinks([
stateTimeline.link.withTargetBlank(true)
+ stateTimeline.link.withTitle('CI Status')
+ stateTimeline.link.withUrl('http://jenkins.perf.lab.eng.bos.redhat.com/view/PerfCI/job/PerfCI-Workloads-Deployment')
])
+ stateTimeline.options.withAlignValue("right")
+ stateTimeline.options.legend.withDisplayMode("hidden")
+ stateTimeline.options.legend.withPlacement("bottom")
+ stateTimeline.options.withMergeValues(true)
+ stateTimeline.options.withRowHeight(0.85)
+ stateTimeline.options.withShowValue("always")
+ stateTimeline.options.tooltip.withMode("single")
+ stateTimeline.withPluginVersion()
+ g.panel.stateTimeline.withTargets([
elasticsearch.withAlias('Openshift')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withHide(false)
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('ci_minutes_time')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.settings.withScript('Integer.parseInt(\"0\"+doc["ocp_version.keyword"].value.replace(\".\",\"\").replace(\"r\",\"\").replace(\"c\",\"\").replace(\"f\",\"\").replace(\"-\",\"\").replace(\"e\",\"1\").replace(\"c\",\"\").replace(\"r\",\"\"))')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max')
])
+ elasticsearch.withQuery('_exists_:ocp_version AND ocp_version:$ocp_version')
+ elasticsearch.withRefId('A')
+ elasticsearch.withTimeField('timestamp'),
////
elasticsearch.withAlias('CNV Nightly op.')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withHide(false)
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('ci_minutes_time')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.settings.withScript('(doc["cnv_version.keyword"].value.indexOf(\" \") == -1) ? Integer.parseInt(\"0\"+doc["cnv_version.keyword"].value.replace(\".\",\"\").replace(\"r\",\"\").replace(\"c\",\"\").replace(\"f\",\"\").replace(\"-\",\"\")) : 0')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max')
])
+ elasticsearch.withQuery('_exists_:cnv_version AND ocp_version:$ocp_version')
+ elasticsearch.withRefId('B')
+ elasticsearch.withTimeField('timestamp'),
////
elasticsearch.withAlias('ODF op.')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withHide(false)
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('ci_minutes_time')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.settings.withScript('((doc["odf_version.keyword"].size() != 0) ? ((doc["odf_version.keyword"].value.indexOf(\" \") == -1) ? Integer.parseInt(\"0\"+doc["odf_version.keyword"].value.replace(\".\",\"\").replace(\"r\",\"\").replace(\"c\",\"\").replace(\"f\",\"\").replace(\"-\",\"\")) : 0) : 0)')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max')
])
+ elasticsearch.withQuery('_exists_:odf_version AND ocp_version:$ocp_version')
+ elasticsearch.withRefId('C')
+ elasticsearch.withTimeField('timestamp'),
////
elasticsearch.withAlias('ODF # disks')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withHide(false)
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('odf_disk_count')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withSettings({})
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max')
])
+ elasticsearch.withQuery('ocp_version:$ocp_version')
+ elasticsearch.withRefId('D')
+ elasticsearch.withTimeField('timestamp'),
////
elasticsearch.withAlias('Ci Status')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withHide(false)
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('status#')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withSettings({})
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max')
])
+ elasticsearch.withQuery('ocp_version:$ocp_version')
+ elasticsearch.withRefId('E')
+ elasticsearch.withTimeField('timestamp')
]),
//////////////////////////////////////////
g.panel.row.new("Hammerdb")
+ g.panel.row.withCollapsed(value=true)
+ g.panel.row.gridPos.withH(1)
+ g.panel.row.gridPos.withW(24)
+ g.panel.row.gridPos.withX(0)
+ g.panel.row.gridPos.withY(12)
+ g.panel.row.withId(136)
+ g.panel.row.withPanels([
g.panel.stateTimeline.new('HammerDB KTPM')
+ stateTimeline.queryOptions.withDatasource('Elasticsearch-hammerdb-results')
+ stateTimeline.standardOptions.color.withMode('thresholds')
+ stateTimeline.fieldConfig.defaults.custom.withFillOpacity(70)
+ stateTimeline.fieldConfig.defaults.custom.withLineWidth(0)
+ stateTimeline.fieldConfig.defaults.withMappings([])
+ stateTimeline.standardOptions.withMin(0)
+ stateTimeline.fieldConfig.defaults.thresholds.withMode('percentage')
+ stateTimeline.fieldConfig.defaults.thresholds.withSteps([
stateTimeline.thresholdStep.withColor('dark-red'),
stateTimeline.thresholdStep.withColor('semi-dark-orange')
+ stateTimeline.thresholdStep.withValue(50),
stateTimeline.thresholdStep.withColor('super-light-green')
+ stateTimeline.thresholdStep.withValue(80),
stateTimeline.thresholdStep.withColor('dark-green')
+ stateTimeline.thresholdStep.withValue(90),
stateTimeline.thresholdStep.withColor('dark-blue')
+ stateTimeline.thresholdStep.withValue(100)
])
+ stateTimeline.fieldConfig.withOverrides([])
+ stateTimeline.gridPos.withH(38)
+ stateTimeline.gridPos.withW(24)
+ stateTimeline.gridPos.withX(0)
+ stateTimeline.gridPos.withY(13)
+ stateTimeline.withId(120)
+ stateTimeline.withInterval('1d')
+ stateTimeline.panelOptions.withLinks([
stateTimeline.link.withTargetBlank(true)
+ stateTimeline.link.withTitle('artifacts link')
+ stateTimeline.link.withUrl('http://cnv-intel-15.perf.eng.bos2.dc.redhat.com:3000/d/T4775LKnzzmichey/perfci-regression-summary?orgId=1&from=now-45d&to=now&viewPanel=39')
])
+ stateTimeline.options.withAlignValue('center')
+ stateTimeline.options.legend.withDisplayMode('list')
+ stateTimeline.options.legend.withPlacement('bottom')
+ stateTimeline.options.withMergeValues(value = false)
+ stateTimeline.options.withRowHeight(value = 0.9)
+ stateTimeline.options.withShowValue('always')
+ stateTimeline.options.tooltip.withMode('single')
+ stateTimeline.withPluginVersion()
+ g.panel.stateTimeline.withTargets([
elasticsearch.withAlias('{{term db_type.keyword}} : {{term current_worker}} threads : {{term kind.keyword}}: {{term storage_type.keyword}}')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.Terms.withField('db_type.keyword')
+ elasticsearch.bucketAggs.Terms.withId('3')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('asc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.Terms.withField('current_worker')
+ elasticsearch.bucketAggs.Terms.withId('4')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('asc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.Terms.withField('storage_type.keyword')
+ elasticsearch.bucketAggs.Terms.withId('5')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('desc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.Terms.withField('kind.keyword')
+ elasticsearch.bucketAggs.Terms.withId('6')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('desc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('tpm')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.settings.withScript('_value/1000')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max')
])
+ elasticsearch.withQuery('_exists_:tpm AND db_type:$db_type AND current_worker:$current_worker AND kind:$kind AND ocp_version:$ocp_version')
+ elasticsearch.withRefId('A')
+ elasticsearch.withTimeField('timestamp')
]),
////
g.panel.stateTimeline.new('HammerDB VM Memory')
+ stateTimeline.queryOptions.withDatasource('Elasticsearch-hammerdb-results')
+ stateTimeline.withDescription("MariaDB: innodb_buffer_pool_size = 8GB \n\nPostgreSQL: shared_buffers = 4GB")
+ stateTimeline.standardOptions.color.withMode('thresholds')
+ stateTimeline.fieldConfig.defaults.custom.withFillOpacity(70)
+ stateTimeline.fieldConfig.defaults.custom.withLineWidth(0)
+ stateTimeline.fieldConfig.defaults.withMappings([])
+ stateTimeline.standardOptions.withMin(0)
+ stateTimeline.fieldConfig.defaults.thresholds.withMode('percentage')
+ stateTimeline.fieldConfig.defaults.thresholds.withSteps([
stateTimeline.thresholdStep.withColor('dark-red'),
stateTimeline.thresholdStep.withColor('semi-dark-orange')
+ stateTimeline.thresholdStep.withValue(50),
stateTimeline.thresholdStep.withColor('super-light-green')
+ stateTimeline.thresholdStep.withValue(80),
stateTimeline.thresholdStep.withColor('dark-green')
+ stateTimeline.thresholdStep.withValue(90),
stateTimeline.thresholdStep.withColor('dark-blue')
+ stateTimeline.thresholdStep.withValue(100)
])
+ stateTimeline.fieldConfig.withOverrides([])
+ stateTimeline.gridPos.withH(13)
+ stateTimeline.gridPos.withW(24)
+ stateTimeline.gridPos.withX(0)
+ stateTimeline.gridPos.withY(51)
+ stateTimeline.withId(120)
+ stateTimeline.withInterval('1d')
+ stateTimeline.panelOptions.withLinks([
stateTimeline.link.withTargetBlank(true)
+ stateTimeline.link.withTitle('artifacts link')
+ stateTimeline.link.withUrl('http://cnv-intel-15.perf.eng.bos2.dc.redhat.com:3000/d/T4775LKnzzmichey/perfci-regression-summary?orgId=1&from=now-45d&to=now&viewPanel=39')
])
+ stateTimeline.options.withAlignValue('center')
+ stateTimeline.options.legend.withDisplayMode('list')
+ stateTimeline.options.legend.withPlacement('bottom')
+ stateTimeline.options.withMergeValues(value = false)
+ stateTimeline.options.withRowHeight(value = 0.9)
+ stateTimeline.options.withShowValue('always')
+ stateTimeline.options.tooltip.withMode('single')
+ stateTimeline.withPluginVersion()
+ g.panel.stateTimeline.withTargets([
elasticsearch.withAlias('{{term db_type.keyword}} : {{field}} [GB]: {{term storage_type.keyword}}')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.Terms.withField('db_type.keyword')
+ elasticsearch.bucketAggs.Terms.withId('3')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('asc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.Terms.withField('storage_type.keyword')
+ elasticsearch.bucketAggs.Terms.withId('5')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('desc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('virt launcher Cache')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.settings.withScript('_value/1000000000')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max'),
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('virt launcher working set bytes')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('2')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.settings.withScript('_value/1000000000')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max'),
])
+ elasticsearch.withQuery('_exists_:tpm AND db_type:$db_type AND kind:vm AND ocp_version:$ocp_version')
+ elasticsearch.withRefId('A')
+ elasticsearch.withTimeField('timestamp')
])
]),
//////////////////////////////////////////
g.panel.row.new("Uperf")
+ g.panel.row.withCollapsed(value=true)
+ g.panel.row.gridPos.withH(1)
+ g.panel.row.gridPos.withW(24)
+ g.panel.row.gridPos.withX(0)
+ g.panel.row.gridPos.withY(13)
+ g.panel.row.withId(138)
+ g.panel.row.withPanels([
g.panel.stateTimeline.new('Uperf Latency (usecs)')
+ stateTimeline.queryOptions.withDatasource('Elasticsearch-uperf-results')
+ g.panel.stateTimeline.withDescription('Lower is better')
+ stateTimeline.standardOptions.color.withMode('thresholds')
+ stateTimeline.fieldConfig.defaults.custom.withFillOpacity(70)
+ stateTimeline.fieldConfig.defaults.custom.withLineWidth(0)
+ stateTimeline.fieldConfig.defaults.withDecimals(1)
+ stateTimeline.fieldConfig.defaults.withMappings([])
+ stateTimeline.standardOptions.withMax(-1)
+ stateTimeline.fieldConfig.defaults.thresholds.withMode('percentage')
+ stateTimeline.fieldConfig.defaults.thresholds.withSteps([
stateTimeline.thresholdStep.withColor('dark-blue'),
stateTimeline.thresholdStep.withColor('dark-green')
+ stateTimeline.thresholdStep.withValue(1),
stateTimeline.thresholdStep.withColor('super-light-green')
+ stateTimeline.thresholdStep.withValue(10),
stateTimeline.thresholdStep.withColor('semi-dark-orange')
+ stateTimeline.thresholdStep.withValue(20),
stateTimeline.thresholdStep.withColor('dark-red')
+ stateTimeline.thresholdStep.withValue(50)
])
+ stateTimeline.fieldConfig.withOverrides([])
+ stateTimeline.gridPos.withH(15)
+ stateTimeline.gridPos.withW(24)
+ stateTimeline.gridPos.withX(0)
+ stateTimeline.gridPos.withY(52)
+ stateTimeline.withId(116)
+ stateTimeline.withInterval('1d')
+ stateTimeline.panelOptions.withLinks([
stateTimeline.link.withTargetBlank(true)
+ stateTimeline.link.withTitle('artifacts link')
+ stateTimeline.link.withUrl('http://cnv-intel-15.perf.eng.bos2.dc.redhat.com:3000/d/T4775LKnzzmichey/perfci-regression-summary?orgId=1&from=now-45d&to=now&viewPanel=40')
])
+ stateTimeline.options.withAlignValue('center')
+ stateTimeline.options.legend.withDisplayMode('list')
+ stateTimeline.options.legend.withPlacement('bottom')
+ stateTimeline.options.withMergeValues(value = false)
+ stateTimeline.options.withRowHeight(value = 0.9)
+ stateTimeline.options.withShowValue('always')
+ stateTimeline.options.tooltip.withMode('single')
+ g.panel.stateTimeline.withTargets([
elasticsearch.withAlias('msg size: {{term read_message_size}} :{{term num_threads}}th: {{term kind.keyword}}')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.Terms.withField('read_message_size')
+ elasticsearch.bucketAggs.Terms.withId('4')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('asc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.Terms.withField('num_threads')
+ elasticsearch.bucketAggs.Terms.withId('5')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('asc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.Terms.withField('kind.keyword')
+ elasticsearch.bucketAggs.Terms.withId('6')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('desc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.settings.withMinDocCount('0')
+ elasticsearch.bucketAggs.DateHistogram.settings.withTimeZone('utc')
+ elasticsearch.bucketAggs.DateHistogram.settings.withTrimEdges('0')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ stateTimeline.datasource.withType('elasticsearch')
+ stateTimeline.datasource.withUid('cd4b9568-576c-4528-b200-89b91a098410')
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Average.withField('norm_ltcy')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.withSettings({})
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.withType('avg')
])
+elasticsearch.withQuery('_exists_:norm_ltcy AND read_message_size:(64 OR 1024 OR 8192) AND num_threads:(1 OR 8) AND test_type:rr AND norm_ltcy:<1000 AND kind:$kind AND ocp_version:$ocp_version')
+elasticsearch.withRefId('A')
+elasticsearch.withTimeField('timestamp')
]),
g.panel.stateTimeline.new('Uperf Throughput (Gbits/s)')
+ stateTimeline.queryOptions.withDatasource('Elasticsearch-uperf-results')
+ stateTimeline.standardOptions.color.withMode('thresholds')
+ stateTimeline.fieldConfig.defaults.custom.withFillOpacity(70)
+ stateTimeline.fieldConfig.defaults.custom.withLineWidth(0)
+ stateTimeline.fieldConfig.defaults.withDecimals(1)
+ stateTimeline.fieldConfig.defaults.withMappings([])
+ stateTimeline.standardOptions.withMin(0)
+ stateTimeline.fieldConfig.defaults.thresholds.withMode('percentage')
+ stateTimeline.fieldConfig.defaults.thresholds.withSteps([
stateTimeline.thresholdStep.withColor('semi-dark-red'),
stateTimeline.thresholdStep.withColor('semi-dark-orange')
+ stateTimeline.thresholdStep.withValue(50),
stateTimeline.thresholdStep.withColor('super-light-green')
+ stateTimeline.thresholdStep.withValue(80),
stateTimeline.thresholdStep.withColor('dark-green')
+ stateTimeline.thresholdStep.withValue(90),
stateTimeline.thresholdStep.withColor('dark-blue')
+ stateTimeline.thresholdStep.withValue(100)
])
+ stateTimeline.fieldConfig.withOverrides([])
+ stateTimeline.gridPos.withH(15)
+ stateTimeline.gridPos.withW(24)
+ stateTimeline.gridPos.withX(0)
+ stateTimeline.gridPos.withY(67)
+ stateTimeline.withId(115)
+ stateTimeline.withInterval('1d')
+ stateTimeline.panelOptions.withLinks([
stateTimeline.link.withTitle('artifacts link')
+ stateTimeline.link.withUrl('http://cnv-intel-15.perf.eng.bos2.dc.redhat.com:3000/d/T4775LKnzzmichey/perfci-regression-summary?orgId=1&from=now-45d&to=now&viewPanel=40')
])
+ stateTimeline.options.withAlignValue('center')
+ stateTimeline.options.legend.withDisplayMode('list')
+ stateTimeline.options.legend.withPlacement('bottom')
+ stateTimeline.options.withMergeValues(value = false)
+ stateTimeline.options.withRowHeight(value = 0.9)
+ stateTimeline.options.withShowValue('always')
+ stateTimeline.options.tooltip.withMode('single')
+ g.panel.stateTimeline.withTargets([
elasticsearch.withAlias('msg size: {{term read_message_size}} :{{term num_threads}}th: {{term kind.keyword}}')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.Terms.withField('read_message_size')
+ elasticsearch.bucketAggs.Terms.withId('4')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('asc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.Terms.withField('num_threads')
+ elasticsearch.bucketAggs.Terms.withId('5')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('asc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.Terms.withField('kind.keyword')
+ elasticsearch.bucketAggs.Terms.withId('6')
+ elasticsearch.bucketAggs.Terms.settings.withMinDocCount('1')
+ elasticsearch.bucketAggs.Terms.settings.withOrder('desc')
+ elasticsearch.bucketAggs.Terms.settings.withOrderBy('_term')
+ elasticsearch.bucketAggs.Terms.settings.withSize('10')
+ elasticsearch.bucketAggs.Terms.withType('terms'),
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.settings.withMinDocCount('0')
+ elasticsearch.bucketAggs.DateHistogram.settings.withTimeZone('utc')
+ elasticsearch.bucketAggs.DateHistogram.settings.withTrimEdges('0')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Average.withField('norm_byte')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.settings.withScript('_value*8/1000000000')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.withType('avg')
])
+elasticsearch.withQuery('_exists_:norm_ops AND read_message_size:(64 OR 1024 OR 8192) AND num_threads:(1 OR 8) AND test_type:stream AND kind:$kind AND ocp_version:$ocp_version')
+elasticsearch.withRefId('A')
+elasticsearch.withTimeField('timestamp')
]),
g.panel.stateTimeline.new('Uperf VM Memory')
+ stateTimeline.queryOptions.withDatasource('Elasticsearch-uperf-results')
+ stateTimeline.standardOptions.color.withMode('thresholds')
+ stateTimeline.fieldConfig.defaults.custom.withFillOpacity(70)
+ stateTimeline.fieldConfig.defaults.custom.withLineWidth(0)
+ stateTimeline.fieldConfig.defaults.withDecimals(1)
+ stateTimeline.fieldConfig.defaults.withMappings([])
+ stateTimeline.standardOptions.withMin(0)
+ stateTimeline.fieldConfig.defaults.thresholds.withMode('percentage')
+ stateTimeline.fieldConfig.defaults.thresholds.withSteps([
stateTimeline.thresholdStep.withColor('semi-dark-red'),
stateTimeline.thresholdStep.withColor('semi-dark-orange')
+ stateTimeline.thresholdStep.withValue(50),
stateTimeline.thresholdStep.withColor('super-light-green')
+ stateTimeline.thresholdStep.withValue(80),
stateTimeline.thresholdStep.withColor('dark-green')
+ stateTimeline.thresholdStep.withValue(90),
stateTimeline.thresholdStep.withColor('dark-blue')
+ stateTimeline.thresholdStep.withValue(100)
])
+ stateTimeline.fieldConfig.withOverrides([])
+ stateTimeline.gridPos.withH(6)
+ stateTimeline.gridPos.withW(24)
+ stateTimeline.gridPos.withX(0)
+ stateTimeline.gridPos.withY(67)
+ stateTimeline.withId(115)
+ stateTimeline.withInterval('1d')
+ stateTimeline.panelOptions.withLinks([
stateTimeline.link.withTitle('artifacts link')
+ stateTimeline.link.withUrl('http://cnv-intel-15.perf.eng.bos2.dc.redhat.com:3000/d/T4775LKnzzmichey/perfci-regression-summary?orgId=1&from=now-45d&to=now&viewPanel=40')
])
+ stateTimeline.options.withAlignValue('center')
+ stateTimeline.options.legend.withDisplayMode('list')
+ stateTimeline.options.legend.withPlacement('bottom')
+ stateTimeline.options.withMergeValues(value = false)
+ stateTimeline.options.withRowHeight(value = 0.9)
+ stateTimeline.options.withShowValue('always')
+ stateTimeline.options.tooltip.withMode('single')
+ g.panel.stateTimeline.withTargets([
elasticsearch.withAlias('{{field}} [GB]')
+ elasticsearch.withBucketAggs([
elasticsearch.bucketAggs.DateHistogram.withField('timestamp')
+ elasticsearch.bucketAggs.DateHistogram.withId('2')
+ elasticsearch.bucketAggs.DateHistogram.settings.withInterval('auto')
+ elasticsearch.bucketAggs.DateHistogram.settings.withMinDocCount('0')
+ elasticsearch.bucketAggs.DateHistogram.settings.withTimeZone('utc')
+ elasticsearch.bucketAggs.DateHistogram.settings.withTrimEdges('0')
+ elasticsearch.bucketAggs.DateHistogram.withType('date_histogram')
])
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('virt launcher Cache')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.settings.withScript('_value/1000000000')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max'),
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('virt launcher working set bytes')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('2')
+ elasticsearch.metrics.MetricAggregationWithSettings.Average.settings.withScript('_value/1000000000')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max'),
])
+elasticsearch.withQuery('_exists_:norm_ops AND kind:vm AND ocp_version:$ocp_version')
+elasticsearch.withRefId('A')
+elasticsearch.withTimeField('timestamp')
])
]),
//////////////////////////////////////////
g.panel.row.new("Vdbench")
+ g.panel.row.withCollapsed(value=true)
+ g.panel.row.gridPos.withH(1)
+ g.panel.row.gridPos.withW(24)
+ g.panel.row.gridPos.withX(0)