I'm using the 0.3.3 through the dropwizard - cloudwatch integration, but it looks like the code to filter out empty data is the same across versions.
I'm recieving the following in my logs:
ERROR [2015-10-22 04:06:24,815] com.blacklocus.metrics.CloudWatchReporter: Exception reporting metrics to CloudWatch. The data sent in this CloudWatch API request may have been discarded.
! com.amazonaws.services.cloudwatch.model.InvalidParameterValueException: The value 0 for parameter MetricData.member.9.Value is invalid.
! at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1182)
! at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:770)
! at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:489)
! at com.amazonaws.http.AmazonHttp...
I'm assuming that the filter should also be checking that input.getValue() > 0 as well as sample count?
I'm using the 0.3.3 through the dropwizard - cloudwatch integration, but it looks like the code to filter out empty data is the same across versions.
I'm recieving the following in my logs:
I'm assuming that the filter should also be checking that
input.getValue() > 0as well as sample count?