xichen01 opened a new pull request, #4926:
URL: https://github.com/apache/ozone/pull/4926
## What changes were proposed in this pull request?
Add more BlockDeletingServiceMetrics to Monitor the Datanode
## What is the link to the Apache JIRA
```bash
block_deleting_service_metrics_failure_count{context="dfs",hostname="VM-8-3-centos"}
0
block_deleting_service_metrics_marked_block_count{context="dfs",hostname="VM-8-3-centos"}
5210
block_deleting_service_metrics_out_of_order_delete_block_transaction_count{context="dfs",hostname="VM-8-3-centos"}
1
block_deleting_service_metrics_received_block_count{context="dfs",hostname="VM-8-3-centos"}
5210
block_deleting_service_metrics_received_container_count{context="dfs",hostname="VM-8-3-centos"}
20
block_deleting_service_metrics_received_retry_transaction_count{context="dfs",hostname="VM-8-3-centos"}
0
block_deleting_service_metrics_received_transaction_count{context="dfs",hostname="VM-8-3-centos"}
28
block_deleting_service_metrics_success_bytes{context="dfs",hostname="VM-8-3-centos"}
16498688
block_deleting_service_metrics_success_count{context="dfs",hostname="VM-8-3-centos"}
4028
block_deleting_service_metrics_total_block_chosen_count{context="dfs",hostname="VM-8-3-centos"}
4028
block_deleting_service_metrics_total_container_chosen_count{context="dfs",hostname="VM-8-3-centos"}
16
block_deleting_service_metrics_total_pending_block_count{context="dfs",hostname="VM-8-3-centos"}
0
```
new metrics
```bash
block_deleting_service_metrics_marked_block_count{context="dfs",hostname="VM-8-3-centos"}
5210
block_deleting_service_metrics_received_block_count{context="dfs",hostname="VM-8-3-centos"}
5210
block_deleting_service_metrics_received_container_count{context="dfs",hostname="VM-8-3-centos"}
20
block_deleting_service_metrics_received_retry_transaction_count{context="dfs",hostname="VM-8-3-centos"}
0
block_deleting_service_metrics_received_transaction_count{context="dfs",hostname="VM-8-3-centos"}
28
block_deleting_service_metrics_total_block_chosen_count{context="dfs",hostname="VM-8-3-centos"}
4028
block_deleting_service_metrics_total_container_chosen_count{context="dfs",hostname="VM-8-3-centos"}
16
```
## How was this patch tested?
manual test and some metrics have integration test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]