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:
parent
f0ab7da3d1
commit
4aa5ab88dd
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Reference in a new issue