-
Notifications
You must be signed in to change notification settings - Fork 5
/
example.yaml
851 lines (851 loc) · 19.8 KB
/
example.yaml
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
access_key: <changeme>
access_key_secret: <changeme>
region: cn-shenzhen
metrics:
acs_kvstore:
- name: ConnectionUsage
period: 60,300
desc: 已用连接数百分比
dimensions:
- userId
- instanceId
unit: "%"
measure: Average,Minimum,Maximum
- name: CpuUsage
period: 60,300
desc: 已用CPU百分比
dimensions:
- userId
- instanceId
unit: "%"
measure: Average,Minimum,Maximum
- name: IntranetIn
period: 60,300
desc: 写入网络带宽
dimensions:
- userId
- instanceId
unit: B/s
measure: Average,Minimum,Maximum
- name: IntranetOut
period: 60,300
desc: 读取网络带宽
dimensions:
- userId
- instanceId
unit: B/s
measure: Average,Minimum,Maximum
- name: MemoryUsage
period: 60,300
desc: 已用容量百分比
dimensions:
- userId
- instanceId
unit: "%"
measure: Average,Minimum,Maximum
- name: ShardingAvgRt
period: 60,300
desc: 平均响应时间
dimensions:
- userId
- instanceId
- nodeId
unit: us
measure: Average,Maximum
- name: ShardingBlockedClients
period: 60,300
desc: 执行block命令后暂时挂起的客户端数量
dimensions:
- userId
- instanceId
- nodeId
unit: count
measure: Average,Maximum
- name: ShardingConnectionUsage
period: 60,300
desc: 连接数使用率
dimensions:
- userId
- instanceId
- nodeId
unit: "%"
measure: Average,Maximum
- name: ShardingCpuUsage
period: 60,300
desc: CPU使用率
dimensions:
- userId
- instanceId
- nodeId
unit: "%"
measure: Average,Maximum
- name: ShardingGetQps
period: 60,300
desc: 读QPS
dimensions:
- userId
- instanceId
- nodeId
unit: count/s
measure: Average,Maximum
- name: ShardingHitRate
period: 60,300
desc: 命中率
dimensions:
- userId
- instanceId
- nodeId
unit: "%"
measure: Average,Maximum
- name: ShardingKeys
period: 60,300
desc: 缓存内 Key 数量
dimensions:
- userId
- instanceId
- nodeId
unit: count
measure: Average,Maximum
- name: ShardingPutQps
period: 60,300
desc: 写QPS
dimensions:
- userId
- instanceId
- nodeId
unit: count/s
measure: Average,Maximum
- name: ShardingSlowlogCount
period: 60,300
desc: 慢查询数量
dimensions:
- userId
- instanceId
- nodeId
unit: count
measure: Average,Maximum
- name: ShardingUsedConnection
period: 60,300
desc: 已用连接数
dimensions:
- userId
- instanceId
- nodeId
unit: count
measure: Average,Maximum
- name: ShardingUsedMemoryLua
period: 60,300
desc: Lua脚本使用内存量
dimensions:
- userId
- instanceId
- nodeId
unit: B
measure: Average,Maximum
- name: ShardingUsedQPS
period: 60,300
desc: 平均每秒访问次数
dimensions:
- userId
- instanceId
- nodeId
unit: count
measure: Average,Maximum
- name: SplitrwProxyMaxRequestSize
period: 60,300
desc: Proxy单个请求最大字节数
dimensions:
- userId
- instanceId
- nodeId
unit: B
measure: Average,Maximum
- name: SplitrwProxyMaxResponseSize
period: 60,300
desc: Proxy单个响应的最大字节数
dimensions:
- userId
- instanceId
- nodeId
unit: B
measure: Average,Maximum
acs_rds_dashboard:
- name: ConnectionUsage
period: 60,300
desc: 连接数使用率
dimensions:
- userId
- instanceId
unit: "%"
measure: Average,Minimum,Maximum
- name: CpuUsage
period: 60,300
desc: CPU使用率
dimensions:
- userId
- instanceId
unit: "%"
measure: Average,Minimum,Maximum
- name: DiskUsage
period: 60,300
desc: 磁盘使用率
dimensions:
- userId
- instanceId
unit: "%"
measure: Average,Minimum,Maximum
- name: IOPSUsage
period: 60,300
desc: IOPS使用率
dimensions:
- userId
- instanceId
unit: "%"
measure: Average,Minimum,Maximum
- name: MemoryUsage
period: 60,300
desc: 内存使用率
dimensions:
- userId
- instanceId
unit: "%"
measure: Average,Minimum,Maximum
- name: MySQL_ActiveSessions
period: 60,300
desc: MySQL_ActiveSessions
dimensions:
- userId
- instanceId
unit: count
measure: Average,Minimum,Maximum
- name: MySQL_DataIOBytesPS
period: 60,300
desc: MySQL读写吞吐量
dimensions:
- userId
- instanceId
unit: B/s
measure: Average,Maximum,Minimum
- name: MySQL_InnoDBDataRead
period: 60,300
desc: MySQL_InnoDB每秒读取数据量
dimensions:
- userId
- instanceId
unit: KiB
measure: Average,Maximum,Minimum
- name: MySQL_InnoDBDataWritten
period: 60,300
desc: MySQL_InnoDB每秒写入数据量
dimensions:
- userId
- instanceId
unit: KiB
measure: Average,Maximum,Minimum
- name: MySQL_InnoDBRowDelete
period: 60,300
desc: MySQL_InnoDB每秒删除行数
dimensions:
- userId
- instanceId
unit: count/s
measure: Average,Maximum,Minimum
- name: MySQL_MDLLockSession
period: 60,300
desc: MDL锁阻塞的连接数
dimensions:
- userId
- instanceId
unit: count
measure: Average,Maximum,Minimum
- name: MySQL_NetworkInNew
period: 60,300
desc: MySQL网络流入带宽
dimensions:
- userId
- instanceId
unit: bit/s
measure: Average,Minimum,Maximum
- name: MySQL_NetworkOutNew
period: 60,300
desc: MySQL网络流出带宽
dimensions:
- userId
- instanceId
unit: bit/s
measure: Average,Minimum,Maximum
- name: MySQL_OpenFiles
period: 60,300
desc: 文件打开数
dimensions:
- userId
- instanceId
unit: count
measure: Average,Maximum,Minimum
- name: MySQL_QPS
period: 60,300
desc: MySQL每秒查询量
dimensions:
- userId
- instanceId
unit: count/s
measure: Average,Maximum,Minimum
- name: MySQL_SlaveIORunning
period: 60,300
desc: 只读实例IO线程状态
dimensions:
- userId
- instanceId
unit: value
measure: Average,Maximum,Minimum
- name: MySQL_SlaveSQLRunning
period: 60,300
desc: 只读实例SQL线程状态
dimensions:
- userId
- instanceId
unit: value
measure: Average,Maximum,Minimum
- name: MySQL_SlowQueries
period: 60,300
desc: MySQL每秒慢查询量
dimensions:
- userId
- instanceId
unit: count/s
measure: Average,Maximum,Minimum
- name: MySQL_StandbySyncLag
period: 60,300
desc: 主实例备库同步延迟
dimensions:
- userId
- instanceId
unit: s
measure: Average,Maximum,Minimum
- name: MySQL_TPS
period: 60,300
desc: MySQL每秒事务数
dimensions:
- userId
- instanceId
unit: count/s
measure: Average,Maximum,Minimum
- name: MySQL_ThreadsConnected
period: 60,300
desc: MySQL_线程连接数
dimensions:
- userId
- instanceId
unit: count
measure: Average,Maximum,Minimum
- name: MySQL_ThreadsRunning
period: 60,300
desc: MySQL_活跃线程数
dimensions:
- userId
- instanceId
unit: count
measure: Average,Maximum,Minimum
- name: MySQL_TmpDiskSize
period: 60,300
desc: MySQL_临时磁盘使用量
dimensions:
- userId
- instanceId
unit: MiB
measure: Average,Maximum,Minimum
- name: MySQL_TotalSessions
period: 60,300
desc: 所有会话连接
dimensions:
- userId
- instanceId
unit: count
measure: Average,Maximum,Minimum
acs_slb_dashboard:
- name: ActiveConnection
period: 60,300
desc: 监听每秒活跃连接数
dimensions:
- userId
- instanceId
- port
- protocol
unit: count
measure: Average,Minimum,Maximum
- name: DropConnection
period: 60,300
desc: 监听每秒丢失连接数
dimensions:
- userId
- instanceId
- port
- protocol
unit: count/s
measure: Average,Minimum,Maximum
- name: HeathyServerCount
period: 60,300
desc: 健康检查后端健康ECS实例个数
dimensions:
- userId
- instanceId
- port
- vip
unit: count
measure: Average,Minimum,Maximum
- name: InactiveConnection
period: 60,300
desc: 监听非活跃连接数
dimensions:
- userId
- instanceId
- port
- protocol
unit: count
measure: Average,Minimum,Maximum
- name: MaxConnection
period: 60,300
desc: 监听每秒最大连接数
dimensions:
- userId
- instanceId
- port
- protocol
unit: count/s
measure: Maximum,Minimum,Average
- name: Qps
period: 60,300
desc: 七层监听QPS
dimensions:
- userId
- instanceId
- port
- protocol
unit: count/s
measure: Average,Maximum,Minimum
- name: Rt
period: 60,300
desc: 七层监听RT
dimensions:
- userId
- instanceId
- port
- protocol
unit: ms
measure: Average
- name: StatusCode4xx
period: 60,300
desc: 七层监听每秒状态码4XX数量
dimensions:
- userId
- instanceId
- port
- protocol
unit: count/s
measure: Average
- name: StatusCode5xx
period: 60,300
desc: 七层监听每秒状态码5XX数量
dimensions:
- userId
- instanceId
- port
- protocol
unit: count/s
measure: Average
- name: DropTrafficTX
period: 60,300
desc: 监听每秒丢失出bit数
dimensions:
- userId
- instanceId
- port
- protocol
unit: bit/s
measure: Average,Minimum,Maximum
- name: DropTrafficRX
period: 60,300
desc: 监听每秒丢失入bit数
dimensions:
- userId
- instanceId
- port
- protocol
unit: bit/s
measure: Average,Minimum,Maximum
- name: TrafficRXNew
period: 60,300
desc: 监听流入带宽
dimensions:
- userId
- instanceId
- port
- protocol
unit: bit/s
measure: Average,Minimum,Maximum
- name: TrafficTXNew
period: 60,300
desc: 监听流出带宽
dimensions:
- userId
- instanceId
- port
- protocol
unit: bit/s
measure: Average,Minimum,Maximum
- name: UnhealthyServerCount
period: 60,300
desc: 健康检查后端异常ECS实例个数
dimensions:
- userId
- instanceId
- port
- vip
unit: count
measure: Average,Minimum,Maximum
acs_polardb:
- name: cluster_active_sessions
period: 60,300
desc: 活跃连接数
dimensions:
- userId
- clusterId
- nodeId
unit: count
measure: Average
- name: cluster_blktag_utilization
period: 60,300
desc: blktag使用率
dimensions:
- userId
- clusterId
unit: "%"
measure: Average
- name: cluster_com_delete
period: 60,300
desc: 每秒Delete语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_com_delete_multi
period: 60,300
desc: 每秒Multi-Delete语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_com_insert
period: 60,300
desc: 每秒Insert语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_com_insert_select
period: 60,300
desc: 每秒Insert-Select语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_com_replace
period: 60,300
desc: 每秒Replace语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_com_replace_select
period: 60,300
desc: 每秒Replace-Select语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_com_select
period: 60,300
desc: 每秒Select语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_com_update
period: 60,300
desc: 每秒Update语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_com_update_multi
period: 60,300
desc: 每秒Multi-Update语句执行次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_connection_utilization
period: 60,300
desc: 连接数使用率
dimensions:
- userId
- clusterId
- nodeId
unit: "%"
measure: Average,Maximum,Minimum
- name: cluster_cpu_utilization
period: 60,300
desc: CPU使用率
dimensions:
- userId
- clusterId
- nodeId
unit: "%"
measure: Average
- name: cluster_data_io
period: 60,300
desc: 每秒存储引擎IO吞吐量
dimensions:
- userId
- clusterId
- nodeId
unit: KiB
measure: Average
- name: cluster_data_iops
period: 60,300
desc: 每秒存储引擎IO次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average
- name: cluster_direntry_utilization
period: 60,300
desc: direntry使用率
dimensions:
- userId
- clusterId
unit: "%"
measure: Average
- name: cluster_disk_utilization
period: 60,300
desc: 磁盘使用率
dimensions:
- userId
- clusterId
unit: "%"
measure: Average
- name: cluster_innodb_buffer_dirty_ratio
period: 60,300
desc: 缓冲池脏块率
dimensions:
- userId
- clusterId
- nodeId
unit: "%"
measure: Average,Maximum,Minimum
- name: cluster_innodb_buffer_read_hit_rate
period: 60,300
desc: 缓冲池的读命中率
dimensions:
- userId
- clusterId
- nodeId
unit: "%"
measure: Average,Maximum,Minimum
- name: cluster_inode_utilization
period: 60,300
desc: inode使用率
dimensions:
- userId
- clusterId
unit: "%"
measure: Average
- name: cluster_input_traffic
period: 60,300
desc: 每秒网络输入流量
dimensions:
- userId
- clusterId
- nodeId
unit: KiB/s
measure: Average,Maximum,Minimum
- name: cluster_iops
period: 60,300
desc: 每秒IO次数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average
- name: cluster_iops_usage
period: 60,300
desc: IOPS使用率
dimensions:
- userId
- clusterId
- nodeId
unit: "%"
measure: Average,Maximum,Minimum
- name: cluster_mdl_lock_session
period: 60,300
desc: MDL锁阻塞的连接数
dimensions:
- userId
- clusterId
- nodeId
unit: count
measure: Average,Maximum,Minimum
- name: cluster_mem_hit_ratio
period: 60,300
desc: 内存命中率
dimensions:
- userId
- clusterId
- nodeId
unit: "%"
measure: Average
- name: cluster_memory_utilization
period: 60,300
desc: 内存使用率
dimensions:
- userId
- clusterId
- nodeId
unit: "%"
measure: Average
- name: cluster_mps
period: 60,300
desc: 每秒数据操作数
dimensions:
- userId
- clusterId
- instanceId
unit: count/s
measure: Average,Maximum,Minimum
- name: cluster_other_lock_session
period: 60,300
desc: 其它锁阻塞的连接数
dimensions:
- userId
- clusterId
- nodeId
unit: count
measure: Average,Maximum,Minimum
- name: cluster_output_traffic
period: 60,300
desc: 每秒网络输出流量
dimensions:
- userId
- clusterId
- nodeId
unit: KiB/s
measure: Average,Maximum,Minimum
- name: cluster_pcu_by_cpu_cores
period: 60,300
desc: PolarDB Serverless 集群进行资源弹性的管理单位,单次弹性的最小 PCU 单位为0.5 PCU
dimensions:
- userId
- clusterId
- nodeId
unit: core
measure: Average,Maximum,Minimum
- name: cluster_prepared_stmt_count
period: 60,300
desc: Prepared Statement 数量
dimensions:
- userId
- clusterId
unit: count
measure: Average,Maximum,Minimum
- name: cluster_prepared_stmt_utilization
period: 60,300
desc: Prepared Statement 使用率
dimensions:
- userId
- clusterId
unit: "%"
measure: Average,Maximum,Minimum
- name: cluster_qps
period: 60,300
desc: 每秒查询数量
dimensions:
- userId
- clusterId
- nodeId
unit: count
measure: Average
- name: cluster_redo_write_rate
period: 60,300
desc: redo日志写入速率
dimensions:
- userId
- clusterId
- nodeId
unit: B/s
measure: Average
- name: cluster_replica_lag
period: 60,300
desc: 只读节点复制延迟
dimensions:
- userId
- clusterId
- instanceId
unit: s
measure: Average,Maximum,Minimum
- name: cluster_slow_queries_ps
period: 60,300
desc: 每秒慢查询数量
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average
- name: cluster_total_session
period: 60,300
desc: 当前总连接数
dimensions:
- userId
- clusterId
- nodeId
unit: count
measure: Average,Maximum,Minimum
- name: cluster_tps
period: 60,300
desc: 每秒事务数
dimensions:
- userId
- clusterId
- nodeId
unit: count/s
measure: Average
instance_info:
types:
- acs_kvstore
- acs_rds_dashboard
- acs_slb_dashboard
- acs_polardb
regions:
- ap-southeast-1
- cn-shenzhen