private void onGetBlobInfoError(Exception e, boolean encrypted) {
    onError(e);
    if (RouterUtils.isSystemHealthError(e)) {
      if (encrypted) {
        getEncryptedBlobInfoErrorCount.inc();
        encryptedOperationErrorRate.mark();
      } else {
        getBlobInfoErrorCount.inc();
        operationErrorRate.mark();
      }
    }
  }
Update appropriate metrics on a getBlobInfo operation related error.
@param e the {@link Exception} associated with the error.
@param encrypted {@code true} if blob is encrypted, {@code false} otherwise
ambry-router/src/main/java/com/github/ambry/router/NonBlockingRouterMetrics.java