docs: protected void recordFailureMetrics(PolicyFailure failure) {
          requestMetric.setResponseCode(failure.getResponseCode());
          requestMetric.setFailure(true);
          requestMetric.setFailureCode(failure.getFailureCode());
          requestMetric.setFailureReason(failure.getMessage());
      }