Skip to content

Commit

Permalink
[fix-#1832][dirty] Fixed Prometheus nErrors failing to synchronize la…
Browse files Browse the repository at this point in the history
…st day failure records
  • Loading branch information
tangdelong committed Oct 10, 2023
1 parent 0e6a442 commit d413ee2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public void collect(Object data, Throwable cause, String field, long globalError
entity.setFieldName(field);
entity.setErrorMessage(ExceptionUtil.getErrorMessage(cause));

consumer.offer(entity, globalErrors);
errorCounter.add(1L);
consumer.offer(entity, globalErrors);
}

public String toString(Object data) {
Expand Down

0 comments on commit d413ee2

Please sign in to comment.