Some class docs added to queuemetrics classes
This commit is contained in:
parent
0122a6698f
commit
07bb9be603
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ class NullReporter(object):
|
||||||
|
|
||||||
|
|
||||||
class QueueingCloudWatchReporter(object):
|
class QueueingCloudWatchReporter(object):
|
||||||
|
""" QueueingCloudWatchReporter reports metrics to the "SendToCloudWatch" process """
|
||||||
def __init__(self, request_queue, namespace, need_capacity_name, build_percent_name):
|
def __init__(self, request_queue, namespace, need_capacity_name, build_percent_name):
|
||||||
self._namespace = namespace
|
self._namespace = namespace
|
||||||
self._need_capacity_name = need_capacity_name
|
self._need_capacity_name = need_capacity_name
|
||||||
|
@ -35,6 +36,8 @@ class QueueingCloudWatchReporter(object):
|
||||||
|
|
||||||
|
|
||||||
class SendToCloudWatch(Process):
|
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):
|
def __init__(self, request_queue, aws_access_key, aws_secret_key):
|
||||||
Process.__init__(self)
|
Process.__init__(self)
|
||||||
self._aws_access_key = aws_access_key
|
self._aws_access_key = aws_access_key
|
||||||
|
|
Reference in a new issue