sample.addNormalValue(LOGKEYS.Cluster.name(), fs.getUri().getAuthority());
if (ex != null) {
sample.addNormalValue(LOGKEYS.Error.name(),
StringUtils.stringifyException(ex));
}
DECODER_METRICS_LOG.info(sample.toJSON());
} catch(Exception e) {
LOG.warn("Exception when logging the Raid metrics: " + e.getMessage(),
e);
}