ptlrs opened a new pull request, #8609:
URL: https://github.com/apache/ozone/pull/8609
Please describe your PR in detail:
This PR:
1. Creates a new JMX metrics type `VolumeHealthMetrics` to capture
cumulative metrics of volumes on a datanode
2. It publishes three metrics: `TotalVolumes`, `NumHealthyVolumes` and
`NumFailedVolumes`
```json
{
"name" :
"Hadoop:service=HddsDatanode,name=VolumeHealthMetrics-DATA_VOLUME",
"modelerType" : "VolumeHealthMetrics-DATA_VOLUME",
"tag.Context" : "ozone",
"tag.Hostname" : "bf73c953196f",
"TotalVolumes" : 1,
"NumHealthyVolumes" : 1,
"NumFailedVolumes" : 0
},
```
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-13093
## How was this patch tested?
Manually tested by observing the jmx values in a docker cluster
CI: https://github.com/ptlrs/ozone/actions/runs/15570050891
--
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]