Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloudwatchHandler failed to compare metrics #78

Closed
choopooly opened this issue Jan 23, 2015 · 3 comments
Closed

cloudwatchHandler failed to compare metrics #78

choopooly opened this issue Jan 23, 2015 · 3 comments

Comments

@choopooly
Copy link

I'm trying the cloudwatchHandler but for some reason I can't make it work.
The connection with cloudwatch works fine, but during the cloudwatch.process function , metric.getMetricPath() return nothing so the comparison fails without any log message.

diamond[13010] DEBUG diamond cloudwatch.process:186 Comparing Collector: [loadavg] with (loadavg) and Metric: [01] with ()

Here is my config


[[cloudwatchHandler]]
region = us-west-2

[[[LoadAvg01]]]
collector = loadavg
metric = 01
namespace = os
name = Avg01
unit = None

[collectors]

[[default]]
enabled = False
# path_suffix = os

[[LoadAverageCollector]]
enabled = True

Also, I probably misinterpreted the config with the namespace, but if I add path_suffix = os to my collectors, the comparison log:

Comparing Collector: [loadavg] with (os) and Metric: [01] with ()
@josegonzalez
Copy link
Member

@choopooly Were you able to figure out what was going on?

@choopooly
Copy link
Author

@josegonzalez unfortunately no.

@josegonzalez
Copy link
Member

Closing as we haven't seen any other reports and there hasn't been any update to this issue. Its possible that your IAM permissions were incorrect, resulting in null values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants