public void updateErrorMetrics(String source) {
    AzureBlobBasicMetrics sourceMetrics = sourceMetricsMap.get(source);
    if (sourceMetrics != null) {
      sourceMetrics.updateErrorMetrics();
    }
    incrementErrorMetrics();
  }
Increments the error metrics counters of aggregate, system and the source by 1.
@param source for which the error occurred.
samza-azure/src/main/java/org/apache/samza/system/azureblob/producer/AzureBlobSystemProducerMetrics.java