Skip to content

Commit 67a2fbf

Browse files
committed
Update ra_metrics family for Ra counters
1 parent 4d2422c commit 67a2fbf

File tree

1 file changed

+62
-8
lines changed

1 file changed

+62
-8
lines changed

docs/prometheus/index.md

Lines changed: 62 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -642,14 +642,68 @@ Grouped under `node_persister_metrics`:
642642

643643
Grouped under `ra_metrics`:
644644

645-
| Metric | Description |
646-
|-----------------------------------------------------|--------------------------------------------|
647-
| rabbitmq_detailed_raft_term_total | Current Raft term number |
648-
| rabbitmq_detailed_raft_log_snapshot_index | Raft log snapshot index |
649-
| rabbitmq_detailed_raft_log_last_applied_index | Raft log last applied index |
650-
| rabbitmq_detailed_raft_log_commit_index | Raft log commit index |
651-
| rabbitmq_detailed_raft_log_last_written_index | Raft log last written index |
652-
| rabbitmq_detailed_raft_entry_commit_latency_seconds | Time taken for a log entry to be committed |
645+
| Metric | Description |
646+
|-------------------------------------------------------------|--------------------------------------------------------------------------------------|
647+
| rabbitmq_detailed_raft_bytes_written | Number of bytes written |
648+
| rabbitmq_detailed_raft_entries | Number of entries written |
649+
| rabbitmq_detailed_raft_mem_tables | Number of in-memory tables handled |
650+
| rabbitmq_detailed_raft_segments | Number of segments written |
651+
| rabbitmq_detailed_raft_wal_files | Number of write-ahead log files created |
652+
| rabbitmq_detailed_raft_segments | Number of segments written |
653+
| rabbitmq_detailed_raft_forced_gcs | Number of forced garbage collection runs |
654+
| rabbitmq_detailed_raft_commit_index | The current commit index. |
655+
| rabbitmq_detailed_raft_wal_files | Number of write-ahead log files created |
656+
| rabbitmq_detailed_raft_commands | Total number of commands received by a leader |
657+
| rabbitmq_detailed_raft_term_and_voted_for_updates | Total number of updates of term and voted for |
658+
| rabbitmq_detailed_raft_aux_commands | Total number of aux commands received |
659+
| rabbitmq_detailed_raft_num_segments | The number of non-empty segment files. |
660+
| rabbitmq_detailed_raft_read_segment | Total number of read segments |
661+
| rabbitmq_detailed_raft_last_written_index | The last fully written and fsynced index of the log. |
662+
| rabbitmq_detailed_raft_read_ops | Total number of read ops |
663+
| rabbitmq_detailed_raft_term | The current term. |
664+
| rabbitmq_detailed_raft_snapshot_bytes_written | Number of snapshot bytes written (not installed) |
665+
| rabbitmq_detailed_raft_command_flushes | Total number of low priority command batches written |
666+
| rabbitmq_detailed_raft_commit_latency_seconds | Approximate time taken from an entry being written to the log until it is committed. |
667+
| rabbitmq_detailed_raft_local_queries | Total number of local queries |
668+
| rabbitmq_detailed_raft_aer_received_follower_empty | Total number of empty append entries received by a follower |
669+
| rabbitmq_detailed_raft_msgs_sent | All messages sent (except messages sent to wal) |
670+
| rabbitmq_detailed_raft_aer_replies_success | Total number of successful append entries received |
671+
| rabbitmq_detailed_raft_write_ops | Total number of write ops |
672+
| rabbitmq_detailed_raft_checkpoint_bytes_written | Number of checkpoint bytes written |
673+
| rabbitmq_detailed_raft_read_mem_table | Total number of reads from mem tables |
674+
| rabbitmq_detailed_raft_read_cache | Unused. Total number of cache reads |
675+
| rabbitmq_detailed_raft_bytes_written | Number of bytes written |
676+
| rabbitmq_detailed_raft_open_segments | Number of open segments |
677+
| rabbitmq_detailed_raft_snapshots_written | Total number of snapshots written |
678+
| rabbitmq_detailed_raft_last_applied | The last applied index. Can go backwards if a ra server is restarted. |
679+
| rabbitmq_detailed_raft_invalid_reply_mode_commands | Total number of commands received with an invalid reply-mode |
680+
| rabbitmq_detailed_raft_snapshots_sent | Total number of snapshots sent |
681+
| rabbitmq_detailed_raft_checkpoints_written | Total number of checkpoints written |
682+
| rabbitmq_detailed_raft_send_msg_effects_sent | Total number of send_msg effects executed |
683+
| rabbitmq_detailed_raft_write_resends | Total number of write resends |
684+
| rabbitmq_detailed_raft_last_index | The last index of the log. |
685+
| rabbitmq_detailed_raft_entries | Number of entries written |
686+
| rabbitmq_detailed_raft_checkpoint_index | The current checkpoint index. |
687+
| rabbitmq_detailed_raft_read_closed_mem_tbl | Unused. Total number of closed memory tables |
688+
| rabbitmq_detailed_raft_rpcs_sent | Total number of rpcs, incl append_entries_rpcs |
689+
| rabbitmq_detailed_raft_dropped_sends | Total number of message sends that return noconnect or nosuspend are dropped |
690+
| rabbitmq_detailed_raft_effective_machine_version | The current effective version number of the machine. |
691+
| rabbitmq_detailed_raft_batches | Number of batches written |
692+
| rabbitmq_detailed_raft_release_cursors | Total number of updates of the release cursor |
693+
| rabbitmq_detailed_raft_checkpoints | The number of checkpoint effects executed |
694+
| rabbitmq_detailed_raft_snapshot_installed | Total number of snapshots installed |
695+
| rabbitmq_detailed_raft_pre_vote_elections | Total number of pre-vote elections |
696+
| rabbitmq_detailed_raft_aer_replies_fail | Total number of failed append entries |
697+
| rabbitmq_detailed_raft_snapshot_index | The current snapshot index. |
698+
| rabbitmq_detailed_raft_mem_tables | Number of in-memory tables handled |
699+
| rabbitmq_detailed_raft_fetch_term | Total number of terms fetched |
700+
| rabbitmq_detailed_raft_reserved_2 | Reserved counter |
701+
| rabbitmq_detailed_raft_reserved_1 | Reserved counter |
702+
| rabbitmq_detailed_raft_consistent_queries | Total number of consistent query requests |
703+
| rabbitmq_detailed_raft_checkpoints_promoted | Number of checkpoints promoted to snapshots |
704+
| rabbitmq_detailed_raft_writes | Number of entries written |
705+
| rabbitmq_detailed_raft_aer_received_follower | Total number of append entries received by a follower |
706+
| rabbitmq_detailed_raft_elections | Total number of elections |
653707

654708
##### Auth metrics
655709

0 commit comments

Comments
 (0)