1
1
I'm badly struggling with publishing a custom metric into AWS CloudWatch. The problem is that my metric 'testmetric' is not showing up on the CloudWatch UI. I might be missing the part on the UI where the metric should be visible, or I might not enable something somewhere... Clueless
I tried with Boto (python package boto==2.8.0)
from boto.ec2.cloudwatch import CloudWatchConnection
cwc = CloudWatchConnection(settings.AWS_ACCESS_KEY_ID, settings.AWS_SECRET_ACCESS_KEY)
cwc.put_metric_data(**{
"namespace" : "testns",
"name" : "testmetric",
"unit" : "Count",
"value" : 3
})
Also tried this simple module from loggly: https://github.com/loggly/loggly-watch/blob/master/cloudwatch.py
Thx
What is the problem exactly? – Guy – 2014-02-22T07:15:09.650
Added the problem. Dammit, how could I left it out... o_O thx – Vajk Hermecz – 2014-02-22T09:13:22.933