Merge c93a4cc169 into f2b5c67337
This commit is contained in:
commit
48cd6e881b
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ public class DefaultCWMetricsPublisher implements ICWMetricsPublisher<CWMetricKe
|
||||||
|
|
||||||
private static final Log LOG = LogFactory.getLog(CWPublisherRunnable.class);
|
private static final Log LOG = LogFactory.getLog(CWPublisherRunnable.class);
|
||||||
|
|
||||||
// CloudWatch API has a limit of 20 MetricDatums per request
|
// CloudWatch API has a limit of 1000 MetricDatums per request
|
||||||
private static final int BATCH_SIZE = 20;
|
private static final int BATCH_SIZE = 1000;
|
||||||
|
|
||||||
private final String namespace;
|
private final String namespace;
|
||||||
private final AmazonCloudWatch cloudWatchClient;
|
private final AmazonCloudWatch cloudWatchClient;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue