xichen01 opened a new pull request, #4800:
URL: https://github.com/apache/ozone/pull/4800
## What changes were proposed in this pull request?
Add a Metrics to monitor the `Pending Block` Count.
`block_deleting_service_metrics_total_pending_block_count{context="dfs",hostname="centos"}
0`
### Example:
```
[root@centos ~/root/ozone]$ curl -s http://127.0.0.1:9882/prom | grep
block_deleting_service_metrics | grep -v '#'
block_deleting_service_metrics_failure_count{context="dfs",hostname="centos"} 0
block_deleting_service_metrics_out_of_order_delete_block_transaction_count{context="dfs",hostname="centos"}
0
block_deleting_service_metrics_success_bytes{context="dfs",hostname="-centos"} 0
block_deleting_service_metrics_success_count{context="dfs",hostname="centos"} 0
block_deleting_service_metrics_total_pending_block_count{context="dfs",hostname="centos"}
0
[root@centos ~/root/ozone]$
```
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8729
## How was this patch tested?
manual test and unit 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]