-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathapp-nebula_graph.yml
More file actions
802 lines (799 loc) · 33.5 KB
/
app-nebula_graph.yml
File metadata and controls
802 lines (799 loc) · 33.5 KB
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
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The monitoring type category:service-application service monitoring db-database monitoring custom-custom monitoring os-operating system monitoring mid-middleware
category: db
# The monitoring type eg: linux windows tomcat mysql aws...
app: nebula_graph
# The app api i18n name
name:
zh-CN: NebulaGraph
en-US: NebulaGraph
ja-JP: NebulaGraph
# The description and help of this monitoring type
help:
zh-CN: Hertzbeat 将调用NebulaGraph提供的 HTTP API 监控接口,对nebulaGraph及存储数据的rocksdb的指标进行监测。
en-US: Hertzbeat will call the HTTP API monitoring interface provided by NebulaGraph to monitor the indicators of NebulaGraph and the Rocksdb that stores data.
zh-TW: Hertzbeat將調用NebulaGraph提供的HTTP API監控介面,對nebulaGraph及存儲數據的rocksdb的名額進行監測。
ja-JP: Hertzbeatは、NebulaGraphが提供されたHTTP APIを呼び出してnebulaGraphとrocksdbのメトリクスを監視します。
# The description and help of this monitoring type
helpLink:
zh-CN: https://hertzbeat.apache.org/zh-cn/docs/help/nebulaGraph
en-US: https://hertzbeat.apache.org/docs/help/nebulaGraph
# Input params define for app api(render web ui by the definition)
params:
# field-param field key
- field: host
# name-param field display i18n name
name:
zh-CN: 目标Host
en-US: Target Host
ja-JP: 目標ホスト
# type-param field type(most mapping the html input type)
type: host
# required-true or false
required: true
# field-param field key
- field: graphPort
# name-param field display i18n name
name:
zh-CN: graph端口
en-US: graphPort
ja-JP: graphポート
# type-param field type(most mapping the html input type)
type: number
# when type is number, range is required
range: '[0,65535]'
# required-true or false
required: true
# default value
defaultValue: 19669
- field: timePeriod
# name-param field display i18n name
name:
zh-CN: graph指标统计的时间范围(s)
en-US: graph indicator statistics time range (s)
ja-JP: graph統計情報の時間範囲(s)
# type-param field type(most mapping the html input type)
type: number
# when type is number, range is required
range: '[0,3600]'
# required-true or false
required: true
# default value 6000
defaultValue: 60
- field: storagePort
# name-param field display i18n name
name:
zh-CN: storage端口
en-US: storagePort
ja-JP: ストレージポート
# type-param field type(most mapping the html input type)
type: number
# when type is number, range is required
range: '[0,65535]'
# required-true or false
required: true
# default value
defaultValue: 19779
# field-param field key
- field: timeout
# name-param field display i18n name
name:
zh-CN: 连接超时时间(ms)
en-US: Connect Timeout(ms)
ja-JP: 接続タイムアウト(ms)
# type-param field type(most mapping the html input type)
type: number
# when type is number, range is required
range: '[0,100000]'
# required-true or false
required: true
# default value 6000
defaultValue: 6000
# collect metrics config list
metrics:
# metrics - available
- name: nebulaGraph_stats
i18n:
zh-CN: nebulaGraph 统计信息
en-US: nebulaGraph stats
ja-JP: nebulaGraph統計情報
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 0
fields:
- field: responseTime
type: 0
unit: ms
i18n:
zh-CN: 响应时间
en-US: Response Time
ja-JP: 応答時間
- field: num_queries_hit_memory_watermark_rate
type: 0
i18n:
zh-CN: 达到内存水位线的语句的数量(rate)
en-US: num_queries_hit_memory_watermark.rate
ja-JP: メモリーウォーターマークに達したクエリ数(rate)
- field: num_queries_hit_memory_watermark_sum
type: 0
i18n:
zh-CN: 达到内存水位线的语句的数量(sum)
en-US: num_queries_hit_memory_watermark.sum
ja-JP: メモリーウォーターマークに達したクエリ数(sum)
- field: num_reclaimed_expired_sessions_rate
type: 0
i18n:
zh-CN: 服务端主动回收的过期的会话数量(rate)
en-US: num_reclaimed_expired_sessions.rate
ja-JP: 期限切れセッションのリサイクル数(rate)
- field: num_reclaimed_expired_sessions_sum
type: 0
i18n:
zh-CN: 服务端主动回收的过期的会话数量(sum)
en-US: num_reclaimed_expired_sessions.sum
ja-JP: 期限切れセッションのリサイクル数(sum)
- field: slow_query_latency_us_avg
type: 0
i18n:
zh-CN: 慢查询延迟时间(avg)
en-US: slow_query_latency_us.avg
ja-JP: スロークエリーの平均レイテンシー
- field: slow_query_latency_us_p75
type: 0
i18n:
zh-CN: 慢查询延迟时间(p75)
en-US: slow_query_latency_us.p75
ja-JP: スロークエリーのレイテンシー(p75)
- field: slow_query_latency_us_p95
type: 0
i18n:
zh-CN: 慢查询延迟时间(p95)
en-US: slow_query_latency_us.p95
ja-JP: スロークエリーのレイテンシー(p95)
- field: slow_query_latency_us_p99
type: 0
i18n:
zh-CN: 慢查询延迟时间(p99)
en-US: slow_query_latency_us.p99
ja-JP: スロークエリーのレイテンシー(p99)
- field: slow_query_latency_us_p999
type: 0
i18n:
zh-CN: 慢查询延迟时间(p999)
en-US: slow_query_latency_us.p999
ja-JP: スロークエリーのレイテンシー(p999)
- field: query_latency_us_avg
type: 0
i18n:
zh-CN: 查询延迟时间(avg)
en-US: query_latency_us.avg
ja-JP: クエリーの平均レイテンシー
- field: query_latency_us_p75
type: 0
i18n:
zh-CN: 查询延迟时间(p75)
en-US: query_latency_us.p75
ja-JP: クエリーのレイテンシー(p75)
- field: query_latency_us_p95
type: 0
i18n:
zh-CN: 查询延迟时间(p95)
en-US: query_latency_us.p95
ja-JP: クエリーのレイテンシー(p95)
- field: query_latency_us_p99
type: 0
i18n:
zh-CN: 查询延迟时间(p99)
en-US: query_latency_us.p99
ja-JP: クエリーのレイテンシー(p99)
- field: query_latency_us_p999
type: 0
i18n:
zh-CN: 查询延迟时间(p999)
en-US: query_latency_us_p999
ja-JP: クエリーのレイテンシー(p999)
- field: num_auth_failed_sessions_bad_username_password_rate
type: 0
i18n:
zh-CN: 因用户名密码错误导验证失败的会话数量(rate)
en-US: num_auth_failed_sessions_bad_username_password.rate
ja-JP: ユーザー名とパスワードのエラーにより認証に失敗したセッション数(rate)
- field: num_auth_failed_sessions_bad_username_password_sum
type: 0
i18n:
zh-CN: 因用户名密码错误导验证失败的会话数量(sum)
en-US: num_auth_failed_sessions_bad_username_password.sum
ja-JP: ユーザー名とパスワードのエラーにより認証に失敗したセッション数(sum)
- field: num_queries_rate
type: 0
i18n:
zh-CN: 查询次数(rate)
en-US: num_queries.rate
ja-JP: クエリ回数(rate)
- field: num_queries_sum
type: 0
i18n:
zh-CN: 查询次数(sum)
en-US: num_queries.sum
ja-JP: クエリ回数(sum)
- field: num_sort_executors_rate
type: 0
i18n:
zh-CN: 排序(Sort)算子执行时间(rate)
en-US: num_sort_executors.rate
ja-JP: ソート実行時間(rate)
- field: num_sort_executors_sum
type: 0
i18n:
zh-CN: 排序(Sort)算子执行时间(sum)
en-US: num_sort_executors.sum
ja-JP: ソート実行時間(sum)
- field: num_rpc_sent_to_storaged_failed_rate
type: 0
i18n:
zh-CN: Graphd 服务发给 Storaged 服务的 RPC 请求失败的数量(rate)
en-US: num_rpc_sent_to_storaged_failed.rate
ja-JP: GraphdサービスからStoragedサービスへのRPCリクエスト失敗数(rate)
- field: num_rpc_sent_to_storaged_failed_sum
type: 0
i18n:
zh-CN: Graphd 服务发给 Storaged 服务的 RPC 请求失败的数量(sum)
en-US: num_rpc_sent_to_storaged_failed.sum
ja-JP: GraphdサービスからStoragedサービスへのRPCリクエスト失敗数(sum)
- field: num_auth_failed_sessions_rate
type: 0
i18n:
zh-CN: 登录验证失败的会话数量(rate)
en-US: num_auth_failed_sessions.rate
ja-JP: 権限認証に失敗したセッション数(rate)
- field: num_auth_failed_sessions_sum
type: 0
i18n:
zh-CN: 登录验证失败的会话数量(sum)
en-US: num_auth_failed_sessions.sum
ja-JP: 権限認証に失敗したセッション数(sum)
- field: num_query_errors_rate
type: 0
i18n:
zh-CN: 查询报错语句数量(rate)
en-US: num_query_errors_rate
ja-JP: クエリエラー数(rate)
- field: num_query_errors_sum
type: 0
i18n:
zh-CN: 查询报错语句数量(sum)
en-US: num_query_errors.sum
ja-JP: クエリエラー数(sum)
- field: num_killed_queries_rate
type: 0
i18n:
zh-CN: 被终止的查询数量(rate)
en-US: num_killed_queries.rate
ja-JP: 終了したクエリ数(rate)
- field: num_killed_queries_sum
type: 0
i18n:
zh-CN: 被终止的查询数量(sum)
en-US: num_killed_queries.sum
ja-JP: 終了したクエリ数(sum)
- field: num_query_errors_leader_changes_rate
type: 0
i18n:
zh-CN: 因查询错误而导致的 Leader 变更的次数(rate)
en-US: num_query_errors_leader_changes.rate
ja-JP: クエリーエラーによるリーダーの変更数(rate)
- field: num_query_errors_leader_changes_sum
type: 0
i18n:
zh-CN: 因查询错误而导致的 Leader 变更的次数(sum)
en-US: num_query_errors_leader_changes.sum
ja-JP: クエリーエラーによるリーダーの変更数(sum)
- field: num_rpc_sent_to_metad_rate
type: 0
i18n:
zh-CN: Graphd 服务发给 Metad 服务的 RPC 请求数量(rate)
en-US: num_rpc_sent_to_metad.rate
ja-JP: GraphdサービスがMetadサービスへのRPCリクエスト数(rate)
- field: num_rpc_sent_to_metad_sum
type: 0
i18n:
zh-CN: Graphd 服务发给 Metad 服务的 RPC 请求数量(sum)
en-US: num_rpc_sent_to_metad.sum
ja-JP: GraphdサービスがMetadサービスへのRPCリクエスト数(sum)
- field: num_slow_queries_rate
type: 0
i18n:
zh-CN: 慢查询次数(rate)
en-US: num_slow_queries.rate
ja-JP: スロークエリ回数(rate)
- field: num_slow_queries_sum
type: 0
i18n:
zh-CN: 慢查询次数(sum)
en-US: num_slow_queries.sum
ja-JP: スロークエリ回数(sum)
- field: num_active_sessions_sum
type: 0
i18n:
zh-CN: 活跃的会话数的变化数(rate)
en-US: num_active_sessions.rate
ja-JP: アクティブなセッション数(rate)
- field: num_active_queries_sum
type: 0
i18n:
zh-CN: 活跃的查询语句数的变化数(sum)
en-US: num_active_queries.sum
ja-JP: アクティブなセッション数(sum)
- field: num_sentences_rate
type: 0
i18n:
zh-CN: Graphd 服务接收的语句数(rate)
en-US: num_sentences.rate
ja-JP: 文数(rate)
- field: num_sentences_sum
type: 0
i18n:
zh-CN: Graphd 服务接收的语句数(sum)
en-US: num_sentences.sum
ja-JP: 文数(sum)
- field: num_aggregate_executors_rate
type: 0
i18n:
zh-CN: 聚合(Aggregate)算子执行时间(rate)
en-US: num_aggregate_executors.rate
ja-JP: アグリゲート実行時間(rate)
- field: num_aggregate_executors_sum
type: 0
i18n:
zh-CN: 聚合(Aggregate)算子执行时间(sum)
en-US: num_aggregate_executors.sum
ja-JP: アグリゲート実行時間(sum)
- field: optimizer_latency_us_avg
type: 0
i18n:
zh-CN: 优化器阶段延迟时间(avg)
en-US: optimizer_latency_us.avg
ja-JP: オプティマイザの平均レイテンシー
- field: optimizer_latency_us_p75
type: 0
i18n:
zh-CN: 优化器阶段延迟时间(p75)
en-US: optimizer_latency_us.p75
ja-JP: オプティマイザのレイテンシー(p75)
- field: optimizer_latency_us_p95
type: 0
i18n:
zh-CN: 优化器阶段延迟时间(p95)
en-US: optimizer_latency_us.p95
ja-JP: オプティマイザのレイテンシー(p95)
- field: optimizer_latency_us_p99
type: 0
i18n:
zh-CN: 优化器阶段延迟时间(p99)
en-US: optimizer_latency_us.p99
ja-JP: オプティマイザのレイテンシー(p99)
- field: optimizer_latency_us_p999
type: 0
i18n:
zh-CN: 优化器阶段延迟时间(p999)
en-US: optimizer_latency_us.p999
ja-JP: オプティマイザのレイテンシー(p999)
- field: num_rpc_sent_to_metad_failed_rate
type: 0
i18n:
zh-CN: Graphd 服务发给 Metad 的 RPC 请求失败的数量(rate)
en-US: num_rpc_sent_to_metad_failed.rate
ja-JP: GraphdサービスがMetadサービスへのRPCリクエスト失敗数(rate)
- field: num_rpc_sent_to_metad_failed_sum
type: 0
i18n:
zh-CN: Graphd 服务发给 Metad 的 RPC 请求失败的数量(sum)
en-US: num_rpc_sent_to_metad_failed.sum
ja-JP: GraphdサービスがMetadサービスへのRPCリクエスト失敗数(sum)
- field: num_indexscan_executors_rate
type: 0
i18n:
zh-CN: 索引扫描(IndexScan)算子执行时间(rate)
en-US: num_indexscan_executors.rate
ja-JP: 索引スキャン実行時間(rate)
- field: num_indexscan_executors_sum
type: 0
i18n:
zh-CN: 索引扫描(IndexScan)算子执行时间(sum)
en-US: num_indexscan_executors.sum
ja-JP: 索引スキャン実行時間(sum)
- field: num_opened_sessions_rate
type: 0
i18n:
zh-CN: 服务端建立过的会话数量(rate)
en-US: num_opened_sessions.rate
ja-JP: 開かれたセッション数(rate)
- field: num_opened_sessions_sum
type: 0
i18n:
zh-CN: 服务端建立过的会话数量(sum)
en-US: num_opened_sessions.sum
ja-JP: 開かれたセッション数(sum)
- field: num_auth_failed_sessions_out_of_max_allowed_rate
type: 0
i18n:
zh-CN: 因为超过FLAG_OUT_OF_MAX_ALLOWED_CONNECTIONS参数导致的验证登录失败的会话数量(rate)
en-US: num_auth_failed_sessions_out_of_max_allowed.rate
ja-JP: FLAG_OUT_OF_MAX_ALLOWED_CONNECTIONSが超過したため、認証ログインに失敗したセッション数(rate)
- field: num_auth_failed_sessions_out_of_max_allowed_sum
type: 0
i18n:
zh-CN: 因为超过FLAG_OUT_OF_MAX_ALLOWED_CONNECTIONS参数导致的验证登录失败的会话数量(sum)
en-US: num_auth_failed_sessions_out_of_max_allowed.sum
ja-JP: FLAG_OUT_OF_MAX_ALLOWED_CONNECTIONSが超過したため、認証ログインに失敗したセッション数(sum)
- field: num_rpc_sent_to_storaged_rate
type: 0
i18n:
zh-CN: Graphd 服务发给 Storaged 服务的 RPC 请求数量(rate)
en-US: num_rpc_sent_to_storaged.rate
ja-JP: GraphdサービスがStoragedサービスへのRPCリクエスト数(rate)
- field: num_rpc_sent_to_storaged_sum
type: 0
i18n:
zh-CN: Graphd 服务发给 Storaged 服务的 RPC 请求数量(sum)
en-US: num_rpc_sent_to_storaged.sum
ja-JP: GraphdサービスがStoragedサービスへのRPCリクエスト数(sum)
aliasFields:
- responseTime
- num_queries_hit_memory_watermark.rate
- num_queries_hit_memory_watermark.sum
- num_reclaimed_expired_sessions.rate
- num_reclaimed_expired_sessions.sum
- slow_query_latency_us.avg
- slow_query_latency_us.p75
- slow_query_latency_us.p95
- slow_query_latency_us.p99
- slow_query_latency_us.p999
- query_latency_us.avg
- query_latency_us.p75
- query_latency_us.p95
- query_latency_us.p99
- query_latency_us.p999
- num_auth_failed_sessions_bad_username_password.rate
- num_auth_failed_sessions_bad_username_password.sum
- num_queries.rate
- num_queries.sum
- num_sort_executors.rate
- num_sort_executors.sum
- num_rpc_sent_to_storaged_failed.rate
- num_rpc_sent_to_storaged_failed.sum
- num_auth_failed_sessions.rate
- num_auth_failed_sessions.sum
- num_query_errors.rate
- num_query_errors.sum
- num_killed_queries.rate
- num_killed_queries.sum
- num_query_errors_leader_changes.rate
- num_query_errors_leader_changes.sum
- num_rpc_sent_to_metad.rate
- num_rpc_sent_to_metad.sum
- num_slow_queries.rate
- num_slow_queries.sum
- num_active_sessions.sum
- num_active_queries.sum
- num_sentences.rate
- num_sentences.sum
- num_aggregate_executors.rate
- num_aggregate_executors.sum
- optimizer_latency_us.avg
- optimizer_latency_us.p75
- optimizer_latency_us.p95
- optimizer_latency_us.p99
- optimizer_latency_us.p999
- num_rpc_sent_to_metad_failed.rate
- num_rpc_sent_to_metad_failed.sum
- num_indexscan_executors.rate
- num_indexscan_executors.sum
- num_opened_sessions.rate
- num_opened_sessions.sum
- num_auth_failed_sessions_out_of_max_allowed.rate
- num_auth_failed_sessions_out_of_max_allowed.sum
- num_rpc_sent_to_storaged.rate
- num_rpc_sent_to_storaged.sum
# mapping and conversion expressions, use thesand aliasField above to calculate metrics value# eg: cores=core1+core2, usage=usage, waitTimeallTime-runningTime
calculates:
- responseTime=responseTime
- num_queries_hit_memory_watermark_rate=num_queries_hit_memory_watermark.rate
- num_queries_hit_memory_watermark_sum=num_queries_hit_memory_watermark.sum
- num_reclaimed_expired_sessions_rate=num_reclaimed_expired_sessions.rate
- num_reclaimed_expired_sessions_sum=num_reclaimed_expired_sessions.sum
- slow_query_latency_us_avg=slow_query_latency_us.avg
- slow_query_latency_us_p75=slow_query_latency_us.p75
- slow_query_latency_us_p95=slow_query_latency_us.p95
- slow_query_latency_us_p99=slow_query_latency_us.p99
- slow_query_latency_us_p999=slow_query_latency_us.p999
- query_latency_us_avg=query_latency_us.avg
- query_latency_us_p75=query_latency_us.p75
- query_latency_us_p95=query_latency_us.p95
- query_latency_us_p99=query_latency_us.p99
- query_latency_us_p999=query_latency_us.p999
- num_auth_failed_sessions_bad_username_password_rate=num_auth_failed_sessions_bad_username_password.rate
- num_auth_failed_sessions_bad_username_password_sum=num_auth_failed_sessions_bad_username_password.sum
- num_queries_rate=num_queries.rate
- num_queries_sum=num_queries.sum
- num_sort_executors_rate=num_sort_executors.rate
- num_sort_executors_sum=num_sort_executors.sum
- num_rpc_sent_to_storaged_failed_rate=num_rpc_sent_to_storaged_failed.rate
- num_rpc_sent_to_storaged_failed_sum=num_rpc_sent_to_storaged_failed.sum
- num_auth_failed_sessions_rate=num_auth_failed_sessions.rate
- num_auth_failed_sessions_sum=num_auth_failed_sessions.sum
- num_query_errors_rate=num_query_errors.rate
- num_query_errors_sum=num_query_errors.sum
- num_killed_queries_rate=num_killed_queries.rate
- num_killed_queries_sum=num_killed_queries.sum
- num_query_errors_leader_changes_rate=num_query_errors_leader_changes.rate
- num_query_errors_leader_changes_sum=num_query_errors_leader_changes.sum
- num_rpc_sent_to_metad_rate=num_rpc_sent_to_metad.rate
- num_rpc_sent_to_metad_sum=num_rpc_sent_to_metad.sum
- num_slow_queries_rate=num_slow_queries.rate
- num_slow_queries_sum=num_slow_queries.sum
- num_active_sessions_sum=num_active_sessions.sum
- num_active_queries_sum=num_active_queries.sum
- num_sentences_rate=num_sentences.rate
- num_sentences_sum=num_sentences.sum
- num_aggregate_executors_rate=num_aggregate_executors.rate
- num_aggregate_executors_sum=num_aggregate_executors.sum
- optimizer_latency_us_avg=optimizer_latency_us.avg
- optimizer_latency_us_p75=optimizer_latency_us.p75
- optimizer_latency_us_p95=optimizer_latency_us.p95
- optimizer_latency_us_p99=optimizer_latency_us.p99
- optimizer_latency_us_p999=optimizer_latency_us.p999
- num_rpc_sent_to_metad_failed_rate=num_rpc_sent_to_metad_failed.rate
- num_rpc_sent_to_metad_failed_sum=num_rpc_sent_to_metad_failed.sum
- num_indexscan_executors_rate=num_indexscan_executors.rate
- num_indexscan_executors_sum=num_indexscan_executors.sum
- num_opened_sessions_rate=num_opened_sessions.rate
- num_opened_sessions_sum=num_opened_sessions.sum
- num_auth_failed_sessions_out_of_max_allowed_rate=num_auth_failed_sessions_out_of_max_allowed.rate
- num_auth_failed_sessions_out_of_max_allowed_sum=num_auth_failed_sessions_out_of_max_allowed.sum
- num_rpc_sent_to_storaged_rate=num_rpc_sent_to_storaged.rate
- num_rpc_sent_to_storaged_sum=num_rpc_sent_to_storaged.sum
# the protocol used for monitoring, eg: sql, ssh, http, telnet, wmi, snmp, sdk, nginx
protocol: nebulaGraph
nebulaGraph:
# http host: ipv4 ipv6 domain
host: ^_^host^_^
# http port
port: ^_^graphPort^_^
# time period
timePeriod: ^_^timePeriod^_^
# http url
url: /stats
# timeout
timeout: ^_^timeout^_^
- name: rocksdb_stats
i18n:
zh-CN: rocksdb 统计数据
en-US: rocksdb stats
ja-JP: rocksdb統計
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 1
fields:
- field: responseTime
type: 0
unit: ms
i18n:
zh-CN: 响应时间
en-US: Response Time
ja-JP: 応答時間
- field: rocksdb.backup.read.bytes
- field: rocksdb.backup.write.bytes
- field: rocksdb.blobdb.blob.file.bytes.read
- field: rocksdb.blobdb.blob.file.bytes.written
- field: rocksdb.blobdb.blob.file.synced
- field: rocksdb.blobdb.blob.index.evicted.count
- field: rocksdb.blobdb.blob.index.evicted.size
- field: rocksdb.blobdb.blob.index.expired.count
- field: rocksdb.blobdb.blob.index.expired.size
- field: rocksdb.blobdb.bytes.read
- field: rocksdb.blobdb.bytes.written
- field: rocksdb.blobdb.cache.add
- field: rocksdb.blobdb.cache.add.failures
- field: rocksdb.blobdb.cache.bytes.read
- field: rocksdb.blobdb.cache.bytes.write
- field: rocksdb.blobdb.cache.hit
- field: rocksdb.blobdb.cache.miss
- field: rocksdb.blobdb.fifo.bytes.evicted
- field: rocksdb.blobdb.fifo.num.files.evicted
- field: rocksdb.blobdb.fifo.num.keys.evicted
- field: rocksdb.blobdb.gc.bytes.expired
- field: rocksdb.blobdb.gc.bytes.overwritten
- field: rocksdb.blobdb.gc.bytes.relocated
- field: rocksdb.blobdb.gc.failures
- field: rocksdb.blobdb.gc.num.files
- field: rocksdb.blobdb.gc.num.keys.expired
- field: rocksdb.blobdb.gc.num.keys.overwritten
- field: rocksdb.blobdb.gc.num.keys.relocated
- field: rocksdb.blobdb.gc.num.new.files
- field: rocksdb.blobdb.num.get
- field: rocksdb.blobdb.num.keys.read
- field: rocksdb.blobdb.num.keys.written
- field: rocksdb.blobdb.num.multiget
- field: rocksdb.blobdb.num.next
- field: rocksdb.blobdb.num.prev
- field: rocksdb.blobdb.num.put
- field: rocksdb.blobdb.num.seek
- field: rocksdb.blobdb.num.write
- field: rocksdb.blobdb.write.blob
- field: rocksdb.blobdb.write.blob.ttl
- field: rocksdb.blobdb.write.inlined
- field: rocksdb.blobdb.write.inlined.ttl
- field: rocksdb.block.cache.add
- field: rocksdb.block.cache.add.failures
- field: rocksdb.block.cache.add.redundant
- field: rocksdb.block.cache.bytes.read
- field: rocksdb.block.cache.bytes.write
- field: rocksdb.block.cache.compression.dict.add
- field: rocksdb.block.cache.compression.dict.add.redundant
- field: rocksdb.block.cache.compression.dict.bytes.evict
- field: rocksdb.block.cache.compression.dict.bytes.insert
- field: rocksdb.block.cache.compression.dict.hit
- field: rocksdb.block.cache.compression.dict.miss
- field: rocksdb.block.cache.data.add
- field: rocksdb.block.cache.data.add.redundant
- field: rocksdb.block.cache.data.bytes.insert
- field: rocksdb.block.cache.data.hit
- field: rocksdb.block.cache.data.miss
- field: rocksdb.block.cache.filter.add
- field: rocksdb.block.cache.filter.add.redundant
- field: rocksdb.block.cache.filter.bytes.evict
- field: rocksdb.block.cache.filter.bytes.insert
- field: rocksdb.block.cache.filter.hit
- field: rocksdb.block.cache.filter.miss
- field: rocksdb.block.cache.hit
- field: rocksdb.block.cache.index.add
- field: rocksdb.block.cache.index.add.redundant
- field: rocksdb.block.cache.index.bytes.evict
- field: rocksdb.block.cache.index.bytes.insert
- field: rocksdb.block.cache.index.hit
- field: rocksdb.block.cache.index.miss
- field: rocksdb.block.cache.miss
- field: rocksdb.block.cachecompressed.add
- field: rocksdb.block.cachecompressed.add.failures
- field: rocksdb.block.cachecompressed.hit
- field: rocksdb.block.cachecompressed.miss
- field: rocksdb.block.checksum.compute.count
- field: rocksdb.bloom.filter.full.positive
- field: rocksdb.bloom.filter.full.true.positive
- field: rocksdb.bloom.filter.micros
- field: rocksdb.bloom.filter.prefix.checked
- field: rocksdb.bloom.filter.prefix.useful
- field: rocksdb.bloom.filter.useful
- field: rocksdb.bytes.read
- field: rocksdb.bytes.written
- field: rocksdb.cold.file.read.bytes
- field: rocksdb.cold.file.read.count
- field: rocksdb.compact.read.bytes
- field: rocksdb.compact.read.marked.bytes
- field: rocksdb.compact.read.periodic.bytes
- field: rocksdb.compact.read.ttl.bytes
- field: rocksdb.compact.write.bytes
- field: rocksdb.compact.write.marked.bytes
- field: rocksdb.compact.write.periodic.bytes
- field: rocksdb.compact.write.ttl.bytes
- field: rocksdb.compaction.cancelled
- field: rocksdb.compaction.key.drop.new
- field: rocksdb.compaction.key.drop.obsolete
- field: rocksdb.compaction.key.drop.range_del
- field: rocksdb.compaction.key.drop.user
- field: rocksdb.compaction.optimized.del.drop.obsolete
- field: rocksdb.compaction.range_del.drop.obsolete
- field: rocksdb.db.iter.bytes.read
- field: rocksdb.db.mutex.wait.micros
- field: rocksdb.error.handler.autoresume.count
- field: rocksdb.error.handler.autoresume.retry.total.count
- field: rocksdb.error.handler.autoresume.success.count
- field: rocksdb.error.handler.bg.errro.count
- field: rocksdb.error.handler.bg.io.errro.count
- field: rocksdb.error.handler.bg.retryable.io.errro.count
- field: rocksdb.files.deleted.immediately
- field: rocksdb.files.marked.trash
- field: rocksdb.filter.operation.time.nanos
- field: rocksdb.flush.write.bytes
- field: rocksdb.getupdatessince.calls
- field: rocksdb.hot.file.read.bytes
- field: rocksdb.hot.file.read.count
- field: rocksdb.l0.hit
- field: rocksdb.l0.num.files.stall.micros
- field: rocksdb.l0.slowdown.micros
- field: rocksdb.l1.hit
- field: rocksdb.l2andup.hit
- field: rocksdb.last.level.read.bytes
- field: rocksdb.last.level.read.count
- field: rocksdb.memtable.compaction.micros
- field: rocksdb.memtable.garbage.bytes.at.flush
- field: rocksdb.memtable.hit
- field: rocksdb.memtable.miss
- field: rocksdb.memtable.payload.bytes.at.flush
- field: rocksdb.merge.operation.time.nanos
- field: rocksdb.multiget.coroutine.count
- field: rocksdb.no.file.closes
- field: rocksdb.no.file.errors
- field: rocksdb.no.file.opens
- field: rocksdb.non.last.level.read.bytes
- field: rocksdb.non.last.level.read.count
- field: rocksdb.num.iterator.created
- field: rocksdb.num.iterator.deleted
- field: rocksdb.num.iterators
- field: rocksdb.number.block.compressed
- field: rocksdb.number.block.decompressed
- field: rocksdb.number.block.not_compressed
- field: rocksdb.number.db.next
- field: rocksdb.number.db.next.found
- field: rocksdb.number.db.prev
- field: rocksdb.number.db.prev.found
- field: rocksdb.number.db.seek
- field: rocksdb.number.db.seek.found
- field: rocksdb.number.deletes.filtered
- field: rocksdb.number.direct.load.table.properties
- field: rocksdb.number.iter.skip
- field: rocksdb.number.keys.read
- field: rocksdb.number.keys.updated
- field: rocksdb.number.keys.written
- field: rocksdb.number.merge.failures
- field: rocksdb.number.multiget.bytes.read
- field: rocksdb.number.multiget.get
- field: rocksdb.number.multiget.keys.found
- field: rocksdb.number.multiget.keys.read
- field: rocksdb.number.rate_limiter.drains
- field: rocksdb.number.reseeks.iteration
- field: rocksdb.number.superversion_acquires
- field: rocksdb.number.superversion_cleanups
- field: rocksdb.number.superversion_releases
- field: rocksdb.persistent.cache.hit
- field: rocksdb.persistent.cache.miss
- field: rocksdb.rate.limit.delay.millis
- field: rocksdb.read.amp.estimate.useful.bytes
- field: rocksdb.read.amp.total.read.bytes
- field: rocksdb.remote.compact.read.bytes
- field: rocksdb.remote.compact.write.bytes
- field: rocksdb.row.cache.hit
- field: rocksdb.row.cache.miss
- field: rocksdb.secondary.cache.hits
- field: rocksdb.sim.block.cache.hit
- field: rocksdb.sim.block.cache.miss
- field: rocksdb.stall.micros
- field: rocksdb.txn.get.tryagain
- field: rocksdb.txn.overhead.duplicate.key
- field: rocksdb.txn.overhead.mutex.old.commit.map
- field: rocksdb.txn.overhead.mutex.prepare
- field: rocksdb.txn.overhead.mutex.snapshot
- field: rocksdb.verify_checksum.read.bytes
- field: rocksdb.wal.bytes
- field: rocksdb.wal.synced
- field: rocksdb.warm.file.read.bytes
- field: rocksdb.warm.file.read.count
- field: rocksdb.write.other
- field: rocksdb.write.self
- field: rocksdb.write.timeout
- field: rocksdb.write.wal
# the protocol used for monitoring, eg: sql, ssh, http, telnet, wmi, snmp, sdk, nginx
protocol: nebulaGraph
nebulaGraph:
# http host: ipv4 ipv6 domain
host: ^_^host^_^
# http port
port: ^_^storagePort^_^
# http url
url: /rocksdb_stats
# timeout
timeout: ^_^timeout^_^