Some class docs added to queuemetrics classes

This commit is contained in:
Jimmy Zelinskie 2015-01-16 12:14:57 -05:00
parent 0122a6698f
commit 07bb9be603

View file

@ -12,6 +12,7 @@ class NullReporter(object):
class QueueingCloudWatchReporter(object):
""" QueueingCloudWatchReporter reports metrics to the "SendToCloudWatch" process """
def __init__(self, request_queue, namespace, need_capacity_name, build_percent_name):
self._namespace = namespace
self._need_capacity_name = need_capacity_name
@ -35,6 +36,8 @@ class QueueingCloudWatchReporter(object):
class SendToCloudWatch(Process):
""" SendToCloudWatch loops indefinitely and pulls metrics off of a queue then sends it to
CloudWatch. """
def __init__(self, request_queue, aws_access_key, aws_secret_key):
Process.__init__(self)
self._aws_access_key = aws_access_key