cwtimer 0.0.2
‘cwtimer’ does one simple thing, track the timing of a ‘with’ statement block and report to AWS Cloudwatch.
Install
$ pip install cwtimer
Example
from cwtimer import cwtimer
import time
with cwtimer(namespace='MyNameSpace', metric_name='MyMetric',
dimensions={'MyDimension':'Value'}):
time.sleep(1)
# 1.0s reported to cloudwatch metric
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.