weaviate

Форк
0
883 строки · 22.8 Кб
1
{
2
  "annotations": {
3
    "list": [
4
      {
5
        "builtIn": 1,
6
        "datasource": {
7
          "type": "datasource",
8
          "uid": "grafana"
9
        },
10
        "enable": true,
11
        "hide": true,
12
        "iconColor": "rgba(0, 211, 255, 1)",
13
        "name": "Annotations & Alerts",
14
        "target": {
15
          "limit": 100,
16
          "matchAny": false,
17
          "tags": [],
18
          "type": "dashboard"
19
        },
20
        "type": "dashboard"
21
      }
22
    ]
23
  },
24
  "editable": true,
25
  "fiscalYearStartMonth": 0,
26
  "graphTooltip": 0,
27
  "links": [],
28
  "liveNow": false,
29
  "panels": [
30
    {
31
      "datasource": {
32
        "type": "prometheus",
33
        "uid": "Prometheus"
34
      },
35
      "description": "Average query latency per time interval for each class.",
36
      "fieldConfig": {
37
        "defaults": {
38
          "color": {
39
            "mode": "continuous-GrYlRd"
40
          },
41
          "custom": {
42
            "axisCenteredZero": false,
43
            "axisColorMode": "text",
44
            "axisLabel": "",
45
            "axisPlacement": "auto",
46
            "barAlignment": 0,
47
            "drawStyle": "line",
48
            "fillOpacity": 0,
49
            "gradientMode": "none",
50
            "hideFrom": {
51
              "legend": false,
52
              "tooltip": false,
53
              "viz": false
54
            },
55
            "lineInterpolation": "linear",
56
            "lineWidth": 1,
57
            "pointSize": 5,
58
            "scaleDistribution": {
59
              "type": "linear"
60
            },
61
            "showPoints": "auto",
62
            "spanNulls": false,
63
            "stacking": {
64
              "group": "A",
65
              "mode": "none"
66
            },
67
            "thresholdsStyle": {
68
              "mode": "off"
69
            }
70
          },
71
          "mappings": [],
72
          "thresholds": {
73
            "mode": "absolute",
74
            "steps": [
75
              {
76
                "color": "green",
77
                "value": null
78
              },
79
              {
80
                "color": "red",
81
                "value": 80
82
              }
83
            ]
84
          },
85
          "unit": "ms"
86
        },
87
        "overrides": []
88
      },
89
      "gridPos": {
90
        "h": 9,
91
        "w": 12,
92
        "x": 0,
93
        "y": 0
94
      },
95
      "id": 5,
96
      "options": {
97
        "legend": {
98
          "calcs": [],
99
          "displayMode": "list",
100
          "placement": "bottom",
101
          "showLegend": true
102
        },
103
        "tooltip": {
104
          "mode": "single",
105
          "sort": "none"
106
        }
107
      },
108
      "targets": [
109
        {
110
          "datasource": {
111
            "type": "prometheus",
112
            "uid": "Prometheus"
113
          },
114
          "editorMode": "code",
115
          "exemplar": true,
116
          "expr": "rate(queries_durations_ms_sum{}[$__interval]) / rate(queries_durations_ms_count{}[$__interval])",
117
          "legendFormat": "{{class_name}} ",
118
          "range": true,
119
          "refId": "A"
120
        }
121
      ],
122
      "title": "Average Query Latency",
123
      "type": "timeseries"
124
    },
125
    {
126
      "datasource": {
127
        "type": "prometheus",
128
        "uid": "Prometheus"
129
      },
130
      "description": "Number of queries per second for each class",
131
      "fieldConfig": {
132
        "defaults": {
133
          "color": {
134
            "mode": "continuous-YlBl"
135
          },
136
          "custom": {
137
            "axisCenteredZero": false,
138
            "axisColorMode": "text",
139
            "axisLabel": "",
140
            "axisPlacement": "auto",
141
            "barAlignment": 0,
142
            "drawStyle": "line",
143
            "fillOpacity": 0,
144
            "gradientMode": "none",
145
            "hideFrom": {
146
              "legend": false,
147
              "tooltip": false,
148
              "viz": false
149
            },
150
            "lineInterpolation": "linear",
151
            "lineWidth": 1,
152
            "pointSize": 5,
153
            "scaleDistribution": {
154
              "type": "linear"
155
            },
156
            "showPoints": "auto",
157
            "spanNulls": false,
158
            "stacking": {
159
              "group": "A",
160
              "mode": "none"
161
            },
162
            "thresholdsStyle": {
163
              "mode": "off"
164
            }
165
          },
166
          "mappings": [],
167
          "thresholds": {
168
            "mode": "absolute",
169
            "steps": [
170
              {
171
                "color": "green",
172
                "value": null
173
              },
174
              {
175
                "color": "red",
176
                "value": 80
177
              }
178
            ]
179
          }
180
        },
181
        "overrides": []
182
      },
183
      "gridPos": {
184
        "h": 9,
185
        "w": 12,
186
        "x": 12,
187
        "y": 0
188
      },
189
      "id": 7,
190
      "options": {
191
        "legend": {
192
          "calcs": [],
193
          "displayMode": "list",
194
          "placement": "bottom",
195
          "showLegend": true
196
        },
197
        "tooltip": {
198
          "mode": "single",
199
          "sort": "none"
200
        }
201
      },
202
      "targets": [
203
        {
204
          "datasource": {
205
            "type": "prometheus",
206
            "uid": "Prometheus"
207
          },
208
          "editorMode": "code",
209
          "exemplar": true,
210
          "expr": "rate(queries_durations_ms_count{}[$__interval])",
211
          "legendFormat": "{{class_name}}",
212
          "range": true,
213
          "refId": "A"
214
        }
215
      ],
216
      "title": "Query Rate",
217
      "type": "timeseries"
218
    },
219
    {
220
      "datasource": {
221
        "type": "prometheus",
222
        "uid": "Prometheus"
223
      },
224
      "description": "Note the percentiles are calculated from histogram buckets so have an associated error see https://prometheus.io/docs/practices/histograms/#errors-of-quantile-estimation",
225
      "fieldConfig": {
226
        "defaults": {
227
          "color": {
228
            "mode": "continuous-YlRd"
229
          },
230
          "custom": {
231
            "axisCenteredZero": false,
232
            "axisColorMode": "text",
233
            "axisLabel": "",
234
            "axisPlacement": "auto",
235
            "barAlignment": 0,
236
            "drawStyle": "line",
237
            "fillOpacity": 0,
238
            "gradientMode": "none",
239
            "hideFrom": {
240
              "legend": false,
241
              "tooltip": false,
242
              "viz": false
243
            },
244
            "lineInterpolation": "linear",
245
            "lineWidth": 1,
246
            "pointSize": 5,
247
            "scaleDistribution": {
248
              "type": "linear"
249
            },
250
            "showPoints": "auto",
251
            "spanNulls": false,
252
            "stacking": {
253
              "group": "A",
254
              "mode": "none"
255
            },
256
            "thresholdsStyle": {
257
              "mode": "off"
258
            }
259
          },
260
          "mappings": [],
261
          "thresholds": {
262
            "mode": "absolute",
263
            "steps": [
264
              {
265
                "color": "green",
266
                "value": null
267
              },
268
              {
269
                "color": "red",
270
                "value": 80
271
              }
272
            ]
273
          },
274
          "unit": "ms"
275
        },
276
        "overrides": []
277
      },
278
      "gridPos": {
279
        "h": 8,
280
        "w": 12,
281
        "x": 0,
282
        "y": 9
283
      },
284
      "id": 9,
285
      "options": {
286
        "legend": {
287
          "calcs": [],
288
          "displayMode": "list",
289
          "placement": "bottom",
290
          "showLegend": true
291
        },
292
        "tooltip": {
293
          "mode": "single",
294
          "sort": "none"
295
        }
296
      },
297
      "targets": [
298
        {
299
          "datasource": {
300
            "type": "prometheus",
301
            "uid": "Prometheus"
302
          },
303
          "editorMode": "code",
304
          "expr": "histogram_quantile(0.90, sum(rate(queries_durations_ms_bucket{}[$__interval])) by (le,class_name))",
305
          "legendFormat": "__auto",
306
          "range": true,
307
          "refId": "A"
308
        }
309
      ],
310
      "title": "90th Percentile Query Latency (Estimated)",
311
      "type": "timeseries"
312
    },
313
    {
314
      "datasource": {
315
        "type": "prometheus",
316
        "uid": "Prometheus"
317
      },
318
      "description": "Note the percentiles are calculated from histogram buckets so have an associated error see https://prometheus.io/docs/practices/histograms/#errors-of-quantile-estimation",
319
      "fieldConfig": {
320
        "defaults": {
321
          "color": {
322
            "mode": "continuous-YlRd"
323
          },
324
          "custom": {
325
            "axisCenteredZero": false,
326
            "axisColorMode": "text",
327
            "axisLabel": "",
328
            "axisPlacement": "auto",
329
            "barAlignment": 0,
330
            "drawStyle": "line",
331
            "fillOpacity": 0,
332
            "gradientMode": "none",
333
            "hideFrom": {
334
              "legend": false,
335
              "tooltip": false,
336
              "viz": false
337
            },
338
            "lineInterpolation": "linear",
339
            "lineWidth": 1,
340
            "pointSize": 5,
341
            "scaleDistribution": {
342
              "type": "linear"
343
            },
344
            "showPoints": "auto",
345
            "spanNulls": false,
346
            "stacking": {
347
              "group": "A",
348
              "mode": "none"
349
            },
350
            "thresholdsStyle": {
351
              "mode": "off"
352
            }
353
          },
354
          "mappings": [],
355
          "thresholds": {
356
            "mode": "absolute",
357
            "steps": [
358
              {
359
                "color": "green",
360
                "value": null
361
              },
362
              {
363
                "color": "red",
364
                "value": 80
365
              }
366
            ]
367
          },
368
          "unit": "ms"
369
        },
370
        "overrides": []
371
      },
372
      "gridPos": {
373
        "h": 8,
374
        "w": 12,
375
        "x": 12,
376
        "y": 9
377
      },
378
      "id": 10,
379
      "options": {
380
        "legend": {
381
          "calcs": [],
382
          "displayMode": "list",
383
          "placement": "bottom",
384
          "showLegend": true
385
        },
386
        "tooltip": {
387
          "mode": "single",
388
          "sort": "none"
389
        }
390
      },
391
      "targets": [
392
        {
393
          "datasource": {
394
            "type": "prometheus",
395
            "uid": "Prometheus"
396
          },
397
          "editorMode": "code",
398
          "expr": "histogram_quantile(0.95, sum(rate(queries_durations_ms_bucket{}[$__interval])) by (le,class_name))",
399
          "legendFormat": "__auto",
400
          "range": true,
401
          "refId": "A"
402
        }
403
      ],
404
      "title": "95th Percentile Query Latency (Estimated)",
405
      "type": "timeseries"
406
    },
407
    {
408
      "datasource": {
409
        "type": "prometheus",
410
        "uid": "Prometheus"
411
      },
412
      "description": "Break down of filtered query latency by operation",
413
      "fieldConfig": {
414
        "defaults": {
415
          "color": {
416
            "mode": "continuous-GrYlRd"
417
          },
418
          "custom": {
419
            "axisCenteredZero": false,
420
            "axisColorMode": "text",
421
            "axisLabel": "",
422
            "axisPlacement": "auto",
423
            "barAlignment": 0,
424
            "drawStyle": "line",
425
            "fillOpacity": 0,
426
            "gradientMode": "none",
427
            "hideFrom": {
428
              "legend": false,
429
              "tooltip": false,
430
              "viz": false
431
            },
432
            "lineInterpolation": "linear",
433
            "lineWidth": 1,
434
            "pointSize": 5,
435
            "scaleDistribution": {
436
              "type": "linear"
437
            },
438
            "showPoints": "auto",
439
            "spanNulls": false,
440
            "stacking": {
441
              "group": "A",
442
              "mode": "none"
443
            },
444
            "thresholdsStyle": {
445
              "mode": "off"
446
            }
447
          },
448
          "mappings": [],
449
          "thresholds": {
450
            "mode": "absolute",
451
            "steps": [
452
              {
453
                "color": "green",
454
                "value": null
455
              },
456
              {
457
                "color": "red",
458
                "value": 80
459
              }
460
            ]
461
          },
462
          "unit": "ms"
463
        },
464
        "overrides": []
465
      },
466
      "gridPos": {
467
        "h": 9,
468
        "w": 12,
469
        "x": 0,
470
        "y": 17
471
      },
472
      "id": 11,
473
      "options": {
474
        "legend": {
475
          "calcs": [],
476
          "displayMode": "list",
477
          "placement": "bottom",
478
          "showLegend": true
479
        },
480
        "tooltip": {
481
          "mode": "single",
482
          "sort": "none"
483
        }
484
      },
485
      "targets": [
486
        {
487
          "datasource": {
488
            "type": "prometheus",
489
            "uid": "Prometheus"
490
          },
491
          "editorMode": "code",
492
          "exemplar": true,
493
          "expr": "rate(queries_filtered_vector_durations_ms_sum{operation=\"filter\"}[$__interval]) / rate(queries_filtered_vector_durations_ms_count{operation=\"filter\"}[$__interval])",
494
          "legendFormat": "{{class_name}}/{{operation}}/{{shard_name}}",
495
          "range": true,
496
          "refId": "Filter"
497
        },
498
        {
499
          "datasource": {
500
            "type": "prometheus",
501
            "uid": "Prometheus"
502
          },
503
          "editorMode": "code",
504
          "exemplar": true,
505
          "expr": "rate(queries_filtered_vector_durations_ms_sum{operation=\"sort\"}[$__interval]) / rate(queries_filtered_vector_durations_ms_count{operation=\"sort\"}[$__interval])",
506
          "hide": false,
507
          "legendFormat": "{{class_name}}/{{operation}}/{{shard_name}}",
508
          "range": true,
509
          "refId": "Sort"
510
        },
511
        {
512
          "datasource": {
513
            "type": "prometheus",
514
            "uid": "Prometheus"
515
          },
516
          "editorMode": "code",
517
          "exemplar": true,
518
          "expr": "rate(queries_filtered_vector_durations_ms_sum{operation=\"vector\"}[$__interval]) / rate(queries_filtered_vector_durations_ms_count{operation=\"vector\"}[$__interval])",
519
          "hide": false,
520
          "legendFormat": "{{class_name}}/{{operation}}/{{shard_name}}",
521
          "range": true,
522
          "refId": "Vector"
523
        },
524
        {
525
          "datasource": {
526
            "type": "prometheus",
527
            "uid": "Prometheus"
528
          },
529
          "editorMode": "code",
530
          "exemplar": true,
531
          "expr": "rate(queries_filtered_vector_durations_ms_sum{operation=\"objects\"}[$__interval]) / rate(queries_filtered_vector_durations_ms_count{operation=\"objects\"}[$__interval])",
532
          "hide": false,
533
          "legendFormat": "{{class_name}}/{{operation}}/{{shard_name}}",
534
          "range": true,
535
          "refId": "Objects"
536
        }
537
      ],
538
      "title": "Filtered Query Latency",
539
      "type": "timeseries"
540
    },
541
    {
542
      "datasource": {
543
        "type": "prometheus",
544
        "uid": "Prometheus"
545
      },
546
      "description": "",
547
      "fieldConfig": {
548
        "defaults": {
549
          "color": {
550
            "mode": "palette-classic"
551
          },
552
          "custom": {
553
            "axisCenteredZero": false,
554
            "axisColorMode": "text",
555
            "axisLabel": "",
556
            "axisPlacement": "auto",
557
            "axisSoftMin": 0,
558
            "barAlignment": 0,
559
            "drawStyle": "line",
560
            "fillOpacity": 15,
561
            "gradientMode": "none",
562
            "hideFrom": {
563
              "legend": false,
564
              "tooltip": false,
565
              "viz": false
566
            },
567
            "lineInterpolation": "smooth",
568
            "lineWidth": 1,
569
            "pointSize": 5,
570
            "scaleDistribution": {
571
              "type": "linear"
572
            },
573
            "showPoints": "auto",
574
            "spanNulls": false,
575
            "stacking": {
576
              "group": "A",
577
              "mode": "normal"
578
            },
579
            "thresholdsStyle": {
580
              "mode": "off"
581
            }
582
          },
583
          "mappings": [],
584
          "thresholds": {
585
            "mode": "absolute",
586
            "steps": [
587
              {
588
                "color": "green",
589
                "value": null
590
              },
591
              {
592
                "color": "red",
593
                "value": 80
594
              }
595
            ]
596
          }
597
        },
598
        "overrides": []
599
      },
600
      "gridPos": {
601
        "h": 8,
602
        "w": 12,
603
        "x": 12,
604
        "y": 17
605
      },
606
      "id": 3,
607
      "options": {
608
        "legend": {
609
          "calcs": [],
610
          "displayMode": "list",
611
          "placement": "bottom",
612
          "showLegend": true
613
        },
614
        "tooltip": {
615
          "mode": "single",
616
          "sort": "none"
617
        }
618
      },
619
      "targets": [
620
        {
621
          "datasource": {
622
            "type": "prometheus",
623
            "uid": "Prometheus"
624
          },
625
          "editorMode": "code",
626
          "expr": "sum(concurrent_queries_count{query_type=\"batch\"})",
627
          "hide": false,
628
          "legendFormat": "Batch (Objects)",
629
          "range": true,
630
          "refId": "C"
631
        },
632
        {
633
          "datasource": {
634
            "type": "prometheus",
635
            "uid": "Prometheus"
636
          },
637
          "editorMode": "code",
638
          "expr": "sum(concurrent_queries_count{query_type=\"batch_references\"})",
639
          "hide": false,
640
          "legendFormat": "Batch (References)",
641
          "range": true,
642
          "refId": "D"
643
        },
644
        {
645
          "datasource": {
646
            "type": "prometheus",
647
            "uid": "Prometheus"
648
          },
649
          "editorMode": "code",
650
          "exemplar": true,
651
          "expr": "sum(concurrent_queries_count{query_type=\"add_object\"})",
652
          "interval": "",
653
          "legendFormat": "Add (Objects)",
654
          "range": true,
655
          "refId": "A"
656
        },
657
        {
658
          "datasource": {
659
            "type": "prometheus",
660
            "uid": "Prometheus"
661
          },
662
          "editorMode": "code",
663
          "exemplar": true,
664
          "expr": "sum(concurrent_queries_count{query_type=\"update_object\"})",
665
          "hide": false,
666
          "interval": "",
667
          "legendFormat": "Update (Objects)",
668
          "range": true,
669
          "refId": "B"
670
        },
671
        {
672
          "datasource": {
673
            "type": "prometheus",
674
            "uid": "Prometheus"
675
          },
676
          "editorMode": "code",
677
          "expr": "sum(concurrent_queries_count{query_type=\"merge_object\"})",
678
          "hide": false,
679
          "legendFormat": "Merge (Objects)",
680
          "range": true,
681
          "refId": "E"
682
        },
683
        {
684
          "datasource": {
685
            "type": "prometheus",
686
            "uid": "Prometheus"
687
          },
688
          "editorMode": "code",
689
          "expr": "sum(concurrent_queries_count{query_type=\"delete_object\"})",
690
          "hide": false,
691
          "legendFormat": "Delete (Objects)",
692
          "range": true,
693
          "refId": "F"
694
        },
695
        {
696
          "datasource": {
697
            "type": "prometheus",
698
            "uid": "Prometheus"
699
          },
700
          "editorMode": "code",
701
          "expr": "sum(concurrent_queries_count{query_type=\"add_reference\"})",
702
          "hide": false,
703
          "legendFormat": "Add (Reference)",
704
          "range": true,
705
          "refId": "G"
706
        },
707
        {
708
          "datasource": {
709
            "type": "prometheus",
710
            "uid": "Prometheus"
711
          },
712
          "editorMode": "code",
713
          "expr": "sum(concurrent_queries_count{query_type=\"update_reference\"})",
714
          "hide": false,
715
          "legendFormat": "Update (Reference)",
716
          "range": true,
717
          "refId": "H"
718
        },
719
        {
720
          "datasource": {
721
            "type": "prometheus",
722
            "uid": "Prometheus"
723
          },
724
          "editorMode": "code",
725
          "expr": "sum(concurrent_queries_count{query_type=\"delete_reference\"})",
726
          "hide": false,
727
          "legendFormat": "Delete (Reference)",
728
          "range": true,
729
          "refId": "I"
730
        }
731
      ],
732
      "title": "Concurrent Write Requests",
733
      "type": "timeseries"
734
    },
735
    {
736
      "datasource": {
737
        "type": "prometheus",
738
        "uid": "Prometheus"
739
      },
740
      "description": "",
741
      "fieldConfig": {
742
        "defaults": {
743
          "color": {
744
            "mode": "palette-classic"
745
          },
746
          "custom": {
747
            "axisCenteredZero": false,
748
            "axisColorMode": "text",
749
            "axisLabel": "",
750
            "axisPlacement": "auto",
751
            "axisSoftMin": 0,
752
            "barAlignment": 0,
753
            "drawStyle": "line",
754
            "fillOpacity": 15,
755
            "gradientMode": "none",
756
            "hideFrom": {
757
              "legend": false,
758
              "tooltip": false,
759
              "viz": false
760
            },
761
            "lineInterpolation": "smooth",
762
            "lineWidth": 1,
763
            "pointSize": 5,
764
            "scaleDistribution": {
765
              "type": "linear"
766
            },
767
            "showPoints": "auto",
768
            "spanNulls": false,
769
            "stacking": {
770
              "group": "A",
771
              "mode": "normal"
772
            },
773
            "thresholdsStyle": {
774
              "mode": "off"
775
            }
776
          },
777
          "mappings": [],
778
          "thresholds": {
779
            "mode": "absolute",
780
            "steps": [
781
              {
782
                "color": "green",
783
                "value": null
784
              },
785
              {
786
                "color": "red",
787
                "value": 80
788
              }
789
            ]
790
          }
791
        },
792
        "overrides": []
793
      },
794
      "gridPos": {
795
        "h": 8,
796
        "w": 12,
797
        "x": 0,
798
        "y": 26
799
      },
800
      "id": 2,
801
      "options": {
802
        "legend": {
803
          "calcs": [],
804
          "displayMode": "list",
805
          "placement": "bottom",
806
          "showLegend": true
807
        },
808
        "tooltip": {
809
          "mode": "single",
810
          "sort": "none"
811
        }
812
      },
813
      "targets": [
814
        {
815
          "datasource": {
816
            "type": "prometheus",
817
            "uid": "Prometheus"
818
          },
819
          "exemplar": true,
820
          "expr": "sum(concurrent_queries_count{query_type=\"aggregate\"})",
821
          "interval": "",
822
          "legendFormat": "Aggregate",
823
          "refId": "A"
824
        },
825
        {
826
          "datasource": {
827
            "type": "prometheus",
828
            "uid": "Prometheus"
829
          },
830
          "exemplar": true,
831
          "expr": "sum(concurrent_queries_count{query_type=\"get_graphql\"})",
832
          "hide": false,
833
          "interval": "",
834
          "legendFormat": "Get (GraphQL)",
835
          "refId": "B"
836
        },
837
        {
838
          "datasource": {
839
            "type": "prometheus",
840
            "uid": "Prometheus"
841
          },
842
          "editorMode": "code",
843
          "expr": "sum(concurrent_queries_count{query_type=\"get_object\"})",
844
          "hide": false,
845
          "legendFormat": "Get (Objects)",
846
          "range": true,
847
          "refId": "C"
848
        },
849
        {
850
          "datasource": {
851
            "type": "prometheus",
852
            "uid": "Prometheus"
853
          },
854
          "editorMode": "code",
855
          "expr": "sum(concurrent_queries_count{query_type=\"head_object\"})",
856
          "hide": false,
857
          "legendFormat": "Head (Objects)",
858
          "range": true,
859
          "refId": "D"
860
        }
861
      ],
862
      "title": "Concurrent Read Requests",
863
      "type": "timeseries"
864
    }
865
  ],
866
  "refresh": "5s",
867
  "schemaVersion": 37,
868
  "style": "dark",
869
  "tags": [],
870
  "templating": {
871
    "list": []
872
  },
873
  "time": {
874
    "from": "now-5m",
875
    "to": "now"
876
  },
877
  "timepicker": {},
878
  "timezone": "",
879
  "title": "Querying",
880
  "uid": "ImxRLXe7z",
881
  "version": 1,
882
  "weekStart": ""
883
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.