Use real cloudwatch limit

Although cloudwatch allows 40KB of data, it may be from no more than 20
different metrics. Until we can do that, limit the total points to 20.
This commit is contained in:
Matt Jibson 2015-08-26 16:48:48 -04:00
parent f0ab7da3d1
commit 4aa5ab88dd

View file

@ -8,7 +8,7 @@ from threading import Thread
logger = logging.getLogger(__name__)
MAX_BATCH_METRICS = 100
MAX_BATCH_METRICS = 20
# Sleep for this much time between failed send requests.
# This prevents hammering cloudwatch when it's not available.