DAOS-17522 telemetry: Handle negative variance in std_dev
In some scenarios the computed variance may be less than zero, and therefore the sqrtl() function will return NaN. Guard against this and return zero instead.
Features: telemetry Signed-off-by: Michael MacDonald [email protected]
Ticket title is 'Handle negative variance in std_dev computation' Status is 'Open' Errors are Unknown component https://daosio.atlassian.net/browse/DAOS-17522
Test stage Functional Hardware Medium MD on SSD completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16348/4/testReport/
Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16348/4/execution/node/1514/log