-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: databend-meta adds more metrics about raft-log (#16884)
- "raft_log_cache_items" : number of items in raft log cache; - "raft_log_cache_used_size" : size of used space in raft log cache; - "raft_log_wal_open_chunk_size" : size of open chunk in raft log wal; - "raft_log_wal_offset" : global offset of raft log WAL; - "raft_log_wal_closed_chunk_count" : number of closed chunks in raft log WAL; - "raft_log_wal_closed_chunk_total_size" : total size of closed chunks in raft log WAL; Example output of these new metrics: ```text metasrv_server_raft_log_cache_items 35496 metasrv_server_raft_log_cache_used_size 659024620 metasrv_server_raft_log_wal_open_chunk_size 803 metasrv_server_raft_log_wal_offset 3536913654 metasrv_server_raft_log_wal_closed_chunk_count 3 metasrv_server_raft_log_wal_closed_chunk_total_size 584045971 metasrv_server_raft_log_size 584046774 ```
- Loading branch information
1 parent
45a58cd
commit 8498ad9
Showing
5 changed files
with
82 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters