Skip to content

Commit

Permalink
[hotfix][datadog] Log report and series size
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Sep 1, 2019
1 parent 4c6c11a commit 08a39ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public void report() {

try {
client.send(request);
LOGGER.debug("Reported series with size {}.", request.getSeries().getSeries().size());
} catch (SocketTimeoutException e) {
LOGGER.warn("Failed reporting metrics to Datadog because of socket timeout.", e.getMessage());
} catch (Exception e) {
Expand Down

0 comments on commit 08a39ec

Please sign in to comment.