Cloudwatch Throttling

Hey Snowplow team, We recently hit a problem with our S3 sync - getting the error of “Could not publish N datums to CloudWatch”

I am still reviewing the code of the S3 sync trying to figure out what the publishMetrics to CloudWatch has to do with syncing to S3.

Here’s the error:

Jul 29, 2016 2:55:54 AM publishMetrics
WARNING: Could not publish 8 datums to CloudWatch
com.amazonaws.AmazonServiceException: Rate exceeded (Service: AmazonCloudWatch; Status Code: 400; Error Code: Throttling; Request ID: {})
	at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(
	at com.amazonaws.http.AmazonHttpClient.executeOneRequest(
	at com.amazonaws.http.AmazonHttpClient.executeHelper(
	at com.amazonaws.http.AmazonHttpClient.execute(

Also, any luck on removing this or making it abide by the logging rate in the config file? toClass
INFO: Converting one record to EmitterInput before adding it to the buffer

Hey @13scoobie:

  • We’ve seen that CloudWatch warning before - but it’s just a warning as I understand it, it doesn’t impact rotation to S3
  • Yes, that ticket regarding reducing INFO logging should go into the next Kinesis S3 release

sounds good! Looking forward to it. We had an issue where the S3 sync was crashing and were trying to debug, but trying to sift through the thousands of lines with RawEventTransformer made it difficult. Glad to hear that a fix is coming!