master
yaml 1,146 lines 38.3 KB
Raw
1 version: v1
2 context_namespace: mysql
3 groups:
4 - family: Queries
5 groups:
6 - family: Statistics
7 metrics:
8 - com_delete
9 - com_insert
10 - com_replace
11 - com_select
12 - com_update
13 - process_list_fetch_query_duration
14 - process_list_longest_query_duration
15 - process_list_queries_count_system
16 - process_list_queries_count_user
17 - queries
18 - questions
19 - slow_queries
20 # MySQL-specific process list metrics (requires Performance Schema; not collected on MariaDB).
21 charts:
22 - id: queries
23 title: Queries
24 context: queries
25 units: queries/s
26 algorithm: incremental
27 dimensions:
28 - selector: queries
29 name: queries
30 - selector: questions
31 name: questions
32 - selector: slow_queries
33 name: slow_queries
34 - id: queries_type
35 title: Queries By Type
36 context: queries_type
37 units: queries/s
38 type: stacked
39 algorithm: incremental
40 dimensions:
41 - selector: com_delete
42 name: delete
43 - selector: com_insert
44 name: insert
45 - selector: com_replace
46 name: replace
47 - selector: com_select
48 name: select
49 - selector: com_update
50 name: update
51 - id: process_list_fetch_duration
52 title: Process List Fetch Duration
53 context: process_list_fetch_query_duration
54 units: milliseconds
55 algorithm: absolute
56 dimensions:
57 - selector: process_list_fetch_query_duration
58 name: duration
59 - id: process_list_queries_count
60 title: Queries Count
61 context: process_list_queries_count
62 units: queries
63 type: stacked
64 algorithm: absolute
65 dimensions:
66 - selector: process_list_queries_count_system
67 name: system
68 - selector: process_list_queries_count_user
69 name: user
70 - id: process_list_longest_query_duration
71 title: Longest Query Duration
72 context: process_list_longest_query_duration
73 units: seconds
74 algorithm: absolute
75 dimensions:
76 - selector: process_list_longest_query_duration
77 name: duration
78 - family: Cache
79 metrics:
80 - qcache_free_blocks
81 - qcache_free_memory
82 - qcache_hits
83 - qcache_inserts
84 - qcache_lowmem_prunes
85 - qcache_not_cached
86 - qcache_queries_in_cache
87 - qcache_total_blocks
88 charts:
89 - id: qcache_ops
90 title: QCache Operations
91 context: qcache_ops
92 units: queries/s
93 algorithm: incremental
94 dimensions:
95 - selector: qcache_hits
96 name: hits
97 - selector: qcache_inserts
98 name: inserts
99 - selector: qcache_lowmem_prunes
100 name: lowmem prunes
101 options:
102 multiplier: -1
103 - selector: qcache_not_cached
104 name: not cached
105 options:
106 multiplier: -1
107 - id: qcache
108 title: QCache Queries in Cache
109 context: qcache
110 units: queries
111 algorithm: absolute
112 dimensions:
113 - selector: qcache_queries_in_cache
114 name: queries
115 - id: qcache_freemem
116 title: QCache Free Memory
117 context: qcache_freemem
118 units: MiB
119 type: area
120 algorithm: absolute
121 dimensions:
122 - selector: qcache_free_memory
123 name: free
124 - id: qcache_memblocks
125 title: QCache Memory Blocks
126 context: qcache_memblocks
127 units: blocks
128 algorithm: absolute
129 dimensions:
130 - selector: qcache_free_blocks
131 name: free
132 - selector: qcache_total_blocks
133 name: total
134 - family: Issues
135 metrics:
136 - created_tmp_disk_tables
137 - created_tmp_files
138 - created_tmp_tables
139 - select_full_join
140 - select_full_range_join
141 - select_range
142 - select_range_check
143 - select_scan
144 - sort_merge_passes
145 - sort_range
146 - sort_scan
147 charts:
148 - id: join_issues
149 title: Table Select Join Issues
150 context: join_issues
151 units: joins/s
152 algorithm: incremental
153 dimensions:
154 - selector: select_full_join
155 name: full join
156 - selector: select_full_range_join
157 name: full range join
158 - selector: select_range
159 name: range
160 - selector: select_range_check
161 name: range check
162 - selector: select_scan
163 name: scan
164 - id: sort_issues
165 title: Table Sort Issues
166 context: sort_issues
167 units: issues/s
168 algorithm: incremental
169 dimensions:
170 - selector: sort_merge_passes
171 name: merge passes
172 - selector: sort_range
173 name: range
174 - selector: sort_scan
175 name: scan
176 - id: tmp
177 title: Tmp Operations
178 context: tmp
179 units: events/s
180 algorithm: incremental
181 dimensions:
182 - selector: created_tmp_disk_tables
183 name: disk tables
184 - selector: created_tmp_files
185 name: files
186 - selector: created_tmp_tables
187 name: tables
188
189 - family: Resources
190 groups:
191 - family: Handlers
192 metrics:
193 - handler_commit
194 - handler_delete
195 - handler_prepare
196 - handler_read_first
197 - handler_read_key
198 - handler_read_next
199 - handler_read_prev
200 - handler_read_rnd
201 - handler_read_rnd_next
202 - handler_rollback
203 - handler_savepoint
204 - handler_savepoint_rollback
205 - handler_update
206 - handler_write
207 charts:
208 - id: handlers
209 title: Handlers
210 context: handlers
211 units: handlers/s
212 algorithm: incremental
213 dimensions:
214 - selector: handler_commit
215 name: commit
216 - selector: handler_delete
217 name: delete
218 - selector: handler_prepare
219 name: prepare
220 - selector: handler_read_first
221 name: read first
222 - selector: handler_read_key
223 name: read key
224 - selector: handler_read_next
225 name: read next
226 - selector: handler_read_prev
227 name: read prev
228 - selector: handler_read_rnd
229 name: read rnd
230 - selector: handler_read_rnd_next
231 name: read rnd next
232 - selector: handler_rollback
233 name: rollback
234 - selector: handler_savepoint
235 name: savepoint
236 - selector: handler_savepoint_rollback
237 name: savepointrollback
238 - selector: handler_update
239 name: update
240 - selector: handler_write
241 name: write
242 - family: Connections & Threads
243 metrics:
244 - aborted_connects
245 - connection_errors_accept
246 - connection_errors_internal
247 - connection_errors_max_connections
248 - connection_errors_peer_address
249 - connection_errors_select
250 - connection_errors_tcpwrap
251 - connections
252 - max_connections
253 - max_used_connections
254 - thread_cache_misses
255 - threads_cached
256 - threads_connected
257 - threads_created
258 - threads_running
259 charts:
260 - id: connections
261 title: Connections
262 context: connections
263 units: connections/s
264 algorithm: incremental
265 dimensions:
266 - selector: aborted_connects
267 name: aborted
268 - selector: connections
269 name: all
270 - id: connections_active
271 title: Active Connections
272 context: connections_active
273 units: connections
274 algorithm: absolute
275 dimensions:
276 - selector: max_connections
277 name: limit
278 - selector: max_used_connections
279 name: max active
280 - selector: threads_connected
281 name: active
282 - id: threads
283 title: Threads
284 context: threads
285 units: threads
286 algorithm: absolute
287 dimensions:
288 - selector: threads_cached
289 name: cached
290 options:
291 multiplier: -1
292 - selector: threads_connected
293 name: connected
294 - selector: threads_running
295 name: running
296 - id: threads_creation_rate
297 title: Threads Creation Rate
298 context: threads_created
299 units: threads/s
300 algorithm: incremental
301 dimensions:
302 - selector: threads_created
303 name: created
304 - id: thread_cache_misses
305 title: Threads Cache Misses
306 context: thread_cache_misses
307 units: misses
308 type: area
309 algorithm: absolute
310 dimensions:
311 - selector: thread_cache_misses
312 name: misses
313 options:
314 divisor: 100
315 - id: connection_errors
316 title: Connection Errors
317 context: connection_errors
318 units: errors/s
319 algorithm: incremental
320 dimensions:
321 - selector: connection_errors_accept
322 name: accept
323 - selector: connection_errors_internal
324 name: internal
325 - selector: connection_errors_max_connections
326 name: max
327 - selector: connection_errors_peer_address
328 name: peer addr
329 - selector: connection_errors_select
330 name: select
331 - selector: connection_errors_tcpwrap
332 name: tcpwrap
333 - family: Network
334 metrics:
335 - bytes_received
336 - bytes_sent
337 charts:
338 - id: net
339 title: Bandwidth
340 context: net
341 units: kilobits/s
342 type: area
343 algorithm: incremental
344 dimensions:
345 - selector: bytes_received
346 name: in
347 options:
348 multiplier: 8
349 divisor: 1000
350 - selector: bytes_sent
351 name: out
352 options:
353 multiplier: -8
354 divisor: 1000
355 - family: Files & Tables
356 metrics:
357 - open_files
358 - open_tables
359 - opened_files
360 - opened_tables
361 - table_locks_immediate
362 - table_locks_waited
363 - table_open_cache
364 - table_open_cache_overflows
365 charts:
366 - id: table_open_cache_overflows
367 title: Table open cache overflows
368 context: table_open_cache_overflows
369 units: overflows/s
370 algorithm: incremental
371 dimensions:
372 - selector: table_open_cache_overflows
373 name: open_cache
374 - id: table_locks
375 title: Table Locks
376 context: table_locks
377 units: locks/s
378 algorithm: incremental
379 dimensions:
380 - selector: table_locks_immediate
381 name: immediate
382 - selector: table_locks_waited
383 name: waited
384 options:
385 multiplier: -1
386 - id: files
387 title: Open Files
388 context: files
389 units: files
390 algorithm: absolute
391 dimensions:
392 - selector: open_files
393 name: files
394 - id: files_rate
395 title: Opened Files Rate
396 context: files_rate
397 units: files/s
398 algorithm: incremental
399 dimensions:
400 - selector: opened_files
401 name: files
402 - id: opened_tables
403 title: Opened Tables
404 context: opened_tables
405 units: tables/s
406 algorithm: incremental
407 dimensions:
408 - selector: opened_tables
409 name: tables
410 - id: open_tables
411 title: Open Tables
412 context: open_tables
413 units: tables
414 type: area
415 algorithm: absolute
416 dimensions:
417 - selector: open_tables
418 name: tables
419 - selector: table_open_cache
420 name: cache
421
422 - family: Storage Engine
423 groups:
424 - family: InnoDB
425 groups:
426 - family: Buffer Pool
427 metrics:
428 - innodb_buffer_pool_bytes_data
429 - innodb_buffer_pool_bytes_dirty
430 - innodb_buffer_pool_pages_data
431 - innodb_buffer_pool_pages_dirty
432 - innodb_buffer_pool_pages_flushed
433 - innodb_buffer_pool_pages_free
434 - innodb_buffer_pool_pages_misc
435 - innodb_buffer_pool_pages_total
436 - innodb_buffer_pool_read_ahead
437 - innodb_buffer_pool_read_ahead_evicted
438 - innodb_buffer_pool_read_ahead_rnd
439 - innodb_buffer_pool_reads
440 - innodb_buffer_pool_wait_free
441 charts:
442 - id: innodb_buffer_pool_pages
443 title: InnoDB Buffer Pool Pages
444 context: innodb_buffer_pool_pages
445 units: pages
446 algorithm: absolute
447 dimensions:
448 - selector: innodb_buffer_pool_pages_data
449 name: data
450 - selector: innodb_buffer_pool_pages_dirty
451 name: dirty
452 options:
453 multiplier: -1
454 - selector: innodb_buffer_pool_pages_free
455 name: free
456 - selector: innodb_buffer_pool_pages_misc
457 name: misc
458 options:
459 multiplier: -1
460 - selector: innodb_buffer_pool_pages_total
461 name: total
462 - id: innodb_buffer_pool_flush_pages_requests
463 title: InnoDB Buffer Pool Flush Pages Requests
464 context: innodb_buffer_pool_pages_flushed
465 units: requests/s
466 algorithm: incremental
467 dimensions:
468 - selector: innodb_buffer_pool_pages_flushed
469 name: flush pages
470 - id: innodb_buffer_pool_bytes
471 title: InnoDB Buffer Pool Bytes
472 context: innodb_buffer_pool_bytes
473 units: MiB
474 type: area
475 algorithm: absolute
476 dimensions:
477 - selector: innodb_buffer_pool_bytes_data
478 name: data
479 - selector: innodb_buffer_pool_bytes_dirty
480 name: dirty
481 options:
482 multiplier: -1
483 - id: innodb_buffer_pool_read_ahead
484 title: InnoDB Buffer Pool Read Pages
485 context: innodb_buffer_pool_read_ahead
486 units: pages/s
487 type: area
488 algorithm: incremental
489 dimensions:
490 - selector: innodb_buffer_pool_read_ahead
491 name: all
492 - selector: innodb_buffer_pool_read_ahead_evicted
493 name: evicted
494 options:
495 multiplier: -1
496 - id: innodb_buffer_pool_read_ahead_rnd
497 title: InnoDB Buffer Pool Random Read-Aheads
498 context: innodb_buffer_pool_read_ahead_rnd
499 units: operations/s
500 algorithm: incremental
501 dimensions:
502 - selector: innodb_buffer_pool_read_ahead_rnd
503 name: read-ahead
504 - id: innodb_buffer_pool_ops
505 title: InnoDB Buffer Pool Operations
506 context: innodb_buffer_pool_ops
507 units: operations/s
508 type: area
509 algorithm: incremental
510 dimensions:
511 - selector: innodb_buffer_pool_reads
512 name: disk reads
513 - selector: innodb_buffer_pool_wait_free
514 name: wait free
515 options:
516 multiplier: -1
517 - family: I/O
518 metrics:
519 - innodb_data_fsyncs
520 - innodb_data_pending_fsyncs
521 - innodb_data_pending_reads
522 - innodb_data_pending_writes
523 - innodb_data_read
524 - innodb_data_reads
525 - innodb_data_writes
526 - innodb_data_written
527 charts:
528 - id: innodb_io
529 title: InnoDB I/O Bandwidth
530 context: innodb_io
531 units: KiB/s
532 type: area
533 algorithm: incremental
534 dimensions:
535 - selector: innodb_data_read
536 name: read
537 options:
538 divisor: 1024
539 - selector: innodb_data_written
540 name: write
541 options:
542 divisor: 1024
543 - id: innodb_io_ops
544 title: InnoDB I/O Operations
545 context: innodb_io_ops
546 units: operations/s
547 algorithm: incremental
548 dimensions:
549 - selector: innodb_data_fsyncs
550 name: fsyncs
551 - selector: innodb_data_reads
552 name: reads
553 - selector: innodb_data_writes
554 name: writes
555 options:
556 multiplier: -1
557 - id: innodb_io_pending_ops
558 title: InnoDB Pending I/O Operations
559 context: innodb_io_pending_ops
560 units: operations
561 algorithm: absolute
562 dimensions:
563 - selector: innodb_data_pending_fsyncs
564 name: fsyncs
565 - selector: innodb_data_pending_reads
566 name: reads
567 - selector: innodb_data_pending_writes
568 name: writes
569 options:
570 multiplier: -1
571 - family: Transactions & Locks
572 metrics:
573 - innodb_deadlocks
574 - innodb_row_lock_current_waits
575 - innodb_rows_deleted
576 - innodb_rows_inserted
577 - innodb_rows_read
578 - innodb_rows_updated
579 charts:
580 - id: innodb_cur_row_lock
581 title: InnoDB Current Row Locks
582 context: innodb_cur_row_lock
583 units: operations
584 type: area
585 algorithm: absolute
586 dimensions:
587 - selector: innodb_row_lock_current_waits
588 name: current waits
589 - id: innodb_rows
590 title: InnoDB Row Operations
591 context: innodb_rows
592 units: operations/s
593 type: area
594 algorithm: incremental
595 dimensions:
596 - selector: innodb_rows_deleted
597 name: deleted
598 options:
599 multiplier: -1
600 - selector: innodb_rows_inserted
601 name: inserted
602 - selector: innodb_rows_read
603 name: read
604 - selector: innodb_rows_updated
605 name: updated
606 - id: innodb_deadlocks
607 title: InnoDB Deadlocks
608 context: innodb_deadlocks
609 units: operations/s
610 type: area
611 algorithm: incremental
612 dimensions:
613 - selector: innodb_deadlocks
614 name: deadlocks
615 - family: Logging
616 metrics:
617 - innodb_checkpoint_age
618 - innodb_last_checkpoint_at
619 - innodb_log_occupancy
620 - innodb_log_sequence_number
621 - innodb_log_waits
622 - innodb_log_write_requests
623 - innodb_log_writes
624 - innodb_os_log_fsyncs
625 - innodb_os_log_pending_fsyncs
626 - innodb_os_log_pending_writes
627 - innodb_os_log_written
628 charts:
629 - id: innodb_log
630 title: InnoDB Log Operations
631 context: innodb_log
632 units: operations/s
633 algorithm: incremental
634 dimensions:
635 - selector: innodb_log_waits
636 name: waits
637 - selector: innodb_log_write_requests
638 name: write requests
639 options:
640 multiplier: -1
641 - selector: innodb_log_writes
642 name: writes
643 options:
644 multiplier: -1
645 - id: innodb_redo_log_activity
646 title: InnoDB Redo Log Activity
647 context: innodb_redo_log_activity
648 units: B/s
649 algorithm: incremental
650 dimensions:
651 - selector: innodb_last_checkpoint_at
652 name: checkpointed
653 - selector: innodb_log_sequence_number
654 name: redo_written
655 - id: innodb_redo_log_checkpoint_age
656 title: InnoDB Redo Log Checkpoint Age
657 context: innodb_redo_log_checkpoint_age
658 units: B
659 algorithm: absolute
660 dimensions:
661 - selector: innodb_checkpoint_age
662 name: age
663 - id: innodb_redo_log_occupancy
664 title: InnoDB Redo Log Occupancy
665 context: innodb_redo_log_occupancy
666 units: percentage
667 type: area
668 algorithm: absolute
669 dimensions:
670 - selector: innodb_log_occupancy
671 name: occupancy
672 options:
673 divisor: 1000
674 - id: innodb_os_log
675 title: InnoDB OS Log Pending Operations
676 context: innodb_os_log
677 units: operations
678 algorithm: absolute
679 dimensions:
680 - selector: innodb_os_log_pending_fsyncs
681 name: fsyncs
682 - selector: innodb_os_log_pending_writes
683 name: writes
684 options:
685 multiplier: -1
686 - id: innodb_os_log_fsync_writes
687 title: InnoDB OS Log Operations
688 context: innodb_os_log_fsync_writes
689 units: operations/s
690 algorithm: incremental
691 dimensions:
692 - selector: innodb_os_log_fsyncs
693 name: fsyncs
694 - id: innodb_os_log_io
695 title: InnoDB OS Log Bandwidth
696 context: innodb_os_log_io
697 units: KiB/s
698 type: area
699 algorithm: incremental
700 dimensions:
701 - selector: innodb_os_log_written
702 name: write
703 options:
704 multiplier: -1
705 divisor: 1024
706 - family: MyISAM
707 # Present only when MyISAM is enabled (disabled_storage_engines does not include MyISAM).
708 metrics:
709 - key_blocks_not_flushed
710 - key_blocks_unused
711 - key_blocks_used
712 - key_read_requests
713 - key_reads
714 - key_write_requests
715 - key_writes
716 charts:
717 - id: key_blocks
718 title: MyISAM Key Cache Blocks
719 context: key_blocks
720 units: blocks
721 algorithm: absolute
722 dimensions:
723 - selector: key_blocks_not_flushed
724 name: not flushed
725 - selector: key_blocks_unused
726 name: unused
727 - selector: key_blocks_used
728 name: used
729 options:
730 multiplier: -1
731 - id: key_requests
732 title: MyISAM Key Cache Requests
733 context: key_requests
734 units: requests/s
735 type: area
736 algorithm: incremental
737 dimensions:
738 - selector: key_read_requests
739 name: reads
740 - selector: key_write_requests
741 name: writes
742 options:
743 multiplier: -1
744 - id: key_disk_ops
745 title: MyISAM Key Cache Disk Operations
746 context: key_disk_ops
747 units: operations/s
748 type: area
749 algorithm: incremental
750 dimensions:
751 - selector: key_reads
752 name: reads
753 - selector: key_writes
754 name: writes
755 options:
756 multiplier: -1
757
758 - family: Replication
759 groups:
760 - family: Slave Status
761 # Replication status is instance/version-specific:
762 # MariaDB >= 10.2.0 uses SHOW ALL SLAVES STATUS;
763 # MySQL >= 8.0.22 uses SHOW REPLICA STATUS; otherwise SHOW SLAVE STATUS.
764 metrics:
765 - seconds_behind_master
766 - slave_io_running
767 - slave_sql_running
768 charts:
769 - id: slave_behind
770 title: Slave Behind Seconds
771 context: slave_behind
772 units: seconds
773 algorithm: absolute
774 instances:
775 by_labels:
776 - connection
777 dimensions:
778 - selector: seconds_behind_master
779 name: seconds
780 - id: slave_thread_running
781 title: I/O / SQL Thread Running State
782 context: slave_status
783 units: boolean
784 algorithm: absolute
785 instances:
786 by_labels:
787 - connection
788 dimensions:
789 - selector: slave_io_running
790 name: io_running
791 - selector: slave_sql_running
792 name: sql_running
793 - family: Binary Logging
794 # Created only when binary logging is enabled (log_bin != OFF).
795 metrics:
796 - binlog_cache_disk_use
797 - binlog_cache_use
798 - binlog_stmt_cache_disk_use
799 - binlog_stmt_cache_use
800 charts:
801 - id: binlog_cache
802 title: Binlog Cache
803 context: binlog_cache
804 units: transactions/s
805 algorithm: incremental
806 dimensions:
807 - selector: binlog_cache_disk_use
808 name: disk
809 - selector: binlog_cache_use
810 name: all
811 - id: binlog_stmt_cache
812 title: Binlog Statement Cache
813 context: binlog_stmt_cache
814 units: statements/s
815 algorithm: incremental
816 dimensions:
817 - selector: binlog_stmt_cache_disk_use
818 name: disk
819 - selector: binlog_stmt_cache_use
820 name: all
821
822 - family: Galera Cluster
823 # Galera metrics are available only on Galera-enabled instances (typically MariaDB/Percona variants).
824 groups:
825 - family: Cluster Status
826 metrics:
827 - wsrep_cluster_size
828 - wsrep_cluster_status
829 - wsrep_cluster_weight
830 - wsrep_connected
831 - wsrep_local_state
832 - wsrep_ready
833 charts:
834 - id: galera_cluster_status
835 title: Cluster Component Status
836 context: galera_cluster_status
837 units: status
838 algorithm: absolute
839 dimensions:
840 - selector: wsrep_cluster_status
841 - id: galera_cluster_state
842 title: Cluster Component State
843 context: galera_cluster_state
844 units: state
845 algorithm: absolute
846 dimensions:
847 - selector: wsrep_local_state
848 - id: galera_cluster_size
849 title: Number of Nodes in the Cluster
850 context: galera_cluster_size
851 units: nodes
852 algorithm: absolute
853 dimensions:
854 - selector: wsrep_cluster_size
855 name: nodes
856 - id: galera_cluster_weight
857 title: The Total Weight of the Current Members in the Cluster
858 context: galera_cluster_weight
859 units: weight
860 algorithm: absolute
861 dimensions:
862 - selector: wsrep_cluster_weight
863 name: weight
864 - id: galera_connected
865 title: Cluster Connection Status
866 context: galera_connected
867 units: boolean
868 algorithm: absolute
869 dimensions:
870 - selector: wsrep_connected
871 name: connected
872 - id: galera_ready
873 title: Accept Queries Readiness Status
874 context: galera_ready
875 units: boolean
876 algorithm: absolute
877 dimensions:
878 - selector: wsrep_ready
879 name: ready
880 - family: Replication
881 metrics:
882 - wsrep_local_recv_queue
883 - wsrep_local_send_queue
884 - wsrep_received
885 - wsrep_received_bytes
886 - wsrep_replicated
887 - wsrep_replicated_bytes
888 charts:
889 - id: galera_writesets
890 title: Replicated Writesets
891 context: galera_writesets
892 units: writesets/s
893 algorithm: incremental
894 dimensions:
895 - selector: wsrep_received
896 name: rx
897 - selector: wsrep_replicated
898 name: tx
899 options:
900 multiplier: -1
901 - id: galera_bytes
902 title: Replicated Bytes
903 context: galera_bytes
904 units: KiB/s
905 type: area
906 algorithm: incremental
907 dimensions:
908 - selector: wsrep_received_bytes
909 name: rx
910 options:
911 divisor: 1024
912 - selector: wsrep_replicated_bytes
913 name: tx
914 options:
915 multiplier: -1
916 divisor: 1024
917 - id: galera_queue
918 title: Galera Queue
919 context: galera_queue
920 units: writesets
921 algorithm: absolute
922 dimensions:
923 - selector: wsrep_local_recv_queue
924 name: rx
925 - selector: wsrep_local_send_queue
926 name: tx
927 options:
928 multiplier: -1
929 - family: Conflicts & Flow Control
930 metrics:
931 - wsrep_flow_control_paused_ns
932 - wsrep_local_bf_aborts
933 - wsrep_local_cert_failures
934 charts:
935 - id: galera_conflicts
936 title: Replication Conflicts
937 context: galera_conflicts
938 units: transactions
939 type: area
940 algorithm: incremental
941 dimensions:
942 - selector: wsrep_local_bf_aborts
943 name: bf aborts
944 - selector: wsrep_local_cert_failures
945 name: cert fails
946 options:
947 multiplier: -1
948 - id: galera_flow_control
949 title: Flow Control
950 context: galera_flow_control
951 units: ms
952 type: area
953 algorithm: incremental
954 dimensions:
955 - selector: wsrep_flow_control_paused_ns
956 name: paused
957 options:
958 divisor: 1000000
959 - family: Resources
960 metrics:
961 - wsrep_open_transactions
962 - wsrep_thread_count
963 charts:
964 - id: galera_open_transactions
965 title: Open Transactions
966 context: galera_open_transactions
967 units: transactions
968 algorithm: absolute
969 dimensions:
970 - selector: wsrep_open_transactions
971 name: open
972 - id: galera_thread_count
973 title: Total Number of WSRep (applier/rollbacker) Threads
974 context: galera_thread_count
975 units: threads
976 algorithm: absolute
977 dimensions:
978 - selector: wsrep_thread_count
979 name: threads
980
981 - family: User Statistics
982 # User statistics are available on Percona and on MariaDB >= 10.1.1.
983 groups:
984 - family: Resource Usage
985 metrics:
986 - userstats_cpu_time
987 - userstats_rows_deleted
988 - userstats_rows_fetched
989 - userstats_rows_inserted
990 - userstats_rows_read
991 - userstats_rows_sent
992 - userstats_rows_updated
993 # rows_fetched is emitted by Percona; other row counters cover MariaDB variants.
994 charts:
995 - id: userstats_cpu
996 title: User CPU Time
997 context: userstats_cpu
998 units: percentage
999 algorithm: incremental
1000 instances:
1001 by_labels:
1002 - user
1003 dimensions:
1004 - selector: userstats_cpu_time
1005 name: used
1006 options:
1007 multiplier: 100
1008 divisor: 1000
1009 - id: userstats_rows
1010 title: User Rows Operations
1011 context: userstats_rows
1012 units: operations/s
1013 type: stacked
1014 algorithm: incremental
1015 instances:
1016 by_labels:
1017 - user
1018 dimensions:
1019 - selector: userstats_rows_deleted
1020 name: deleted
1021 - selector: userstats_rows_fetched
1022 name: fetched
1023 - selector: userstats_rows_inserted
1024 name: inserted
1025 - selector: userstats_rows_read
1026 name: read
1027 - selector: userstats_rows_sent
1028 name: sent
1029 - selector: userstats_rows_updated
1030 name: updated
1031 - family: Commands
1032 metrics:
1033 - userstats_access_denied
1034 - userstats_other_commands
1035 - userstats_select_commands
1036 - userstats_update_commands
1037 charts:
1038 - id: userstats_commands
1039 title: User Commands
1040 context: userstats_commands
1041 units: commands/s
1042 type: stacked
1043 algorithm: incremental
1044 instances:
1045 by_labels:
1046 - user
1047 dimensions:
1048 - selector: userstats_other_commands
1049 name: other
1050 - selector: userstats_select_commands
1051 name: select
1052 - selector: userstats_update_commands
1053 name: update
1054 - id: userstats_denied_commands
1055 title: User Denied Commands
1056 context: userstats_denied_commands
1057 units: commands/s
1058 algorithm: incremental
1059 instances:
1060 by_labels:
1061 - user
1062 dimensions:
1063 - selector: userstats_access_denied
1064 name: denied
1065 - family: Connections
1066 metrics:
1067 - userstats_denied_connections
1068 - userstats_lost_connections
1069 - userstats_total_connections
1070 charts:
1071 - id: userstats_connections
1072 title: User Created Connections
1073 context: userstats_connections
1074 units: connections/s
1075 algorithm: incremental
1076 instances:
1077 by_labels:
1078 - user
1079 dimensions:
1080 - selector: userstats_total_connections
1081 name: created
1082 - id: userstats_lost_connections
1083 title: User Lost Connections
1084 context: userstats_lost_connections
1085 units: connections/s
1086 algorithm: incremental
1087 instances:
1088 by_labels:
1089 - user
1090 dimensions:
1091 - selector: userstats_lost_connections
1092 name: lost
1093 - id: userstats_denied_connections
1094 title: User Denied Connections
1095 context: userstats_denied_connections
1096 units: connections/s
1097 algorithm: incremental
1098 instances:
1099 by_labels:
1100 - user
1101 dimensions:
1102 - selector: userstats_denied_connections
1103 name: denied
1104 - family: Transactions
1105 metrics:
1106 - userstats_binlog_bytes_written
1107 - userstats_commit_transactions
1108 - userstats_empty_queries
1109 - userstats_rollback_transactions
1110 charts:
1111 - id: userstats_transactions
1112 title: User Transactions
1113 context: userstats_created_transactions
1114 units: transactions/s
1115 type: area
1116 algorithm: incremental
1117 instances:
1118 by_labels:
1119 - user
1120 dimensions:
1121 - selector: userstats_commit_transactions
1122 name: commit
1123 - selector: userstats_rollback_transactions
1124 name: rollback
1125 - id: userstats_binlog_written
1126 title: User Binlog Written
1127 context: userstats_binlog_written
1128 units: B/s
1129 algorithm: incremental
1130 instances:
1131 by_labels:
1132 - user
1133 dimensions:
1134 - selector: userstats_binlog_bytes_written
1135 name: written
1136 - id: userstats_empty_queries
1137 title: User Empty Queries
1138 context: userstats_empty_queries
1139 units: queries/s
1140 algorithm: incremental
1141 instances:
1142 by_labels:
1143 - user
1144 dimensions:
1145 - selector: userstats_empty_queries
1146 name: empty