awslabs / collectd-cloudwatch

A collectd plugin for sending data to Amazon CloudWatch
MIT License
200 stars 132 forks source link

Support ASG and Fixed dimension #37

Closed mindstorms6 closed 7 years ago

mindstorms6 commented 7 years ago

Should resolve #10

Feb 22 04:57:06 ip-10-0-7-76 collectd[31242]: [AmazonCloudWatchPlugin][cloudwatch.modules.configuration.credentialsreader] Cannot read AWS credentials from file. Defaulting to use IAM Role.
Feb 22 04:57:06 ip-10-0-7-76 collectd[31242]: [AmazonCloudWatchPlugin][cloudwatch.modules.configuration.confighelper] Fetched asg name as BastionStack-BastionAutoScalingGroup-1102FHS8HR49Q
Feb 22 04:57:06 ip-10-0-7-76 collectd[31242]: [AmazonCloudWatchPlugin][cloudwatch_writer] Initialization finished successfully.
Feb 22 04:57:06 ip-10-0-7-76 collectd[31242]: Initialization complete, entering read-loop.
Feb 22 04:58:06 ip-10-0-7-76 collectd[31242]: [AmazonCloudWatchPlugin][cloudwatch.modules.flusher] [debug] flushing metrics df-dev-percent_bytes-used[6] interface-lo-if_octets-[12] cpu-0-cpu-system[6] interface-lo-if_packets-[12] df-root-percent_bytes-free[6] df-dev-df_complex-free[6] cpu-0-cpu-softirq[6] df-dev-percent_bytes-reserved[6] df-root-percent_bytes-used[6] df-dev-percent_bytes-free[6] cpu-0-cpu-idle[6] cpu-0-cpu-user[6] interface-eth0-if_octets-[12] df-dev-shm-percent_bytes-reserved[6] df-root-df_complex-used[6] interface-eth0-if_errors-[12] interface-eth0-if_packets-[12] cpu-0-cpu-interrupt[6] df-root-df_complex-free[6] cpu-0-cpu-steal[6] df-dev-shm-percent_bytes-free[6] df-root-percent_bytes-reserved[6] df-dev-shm-df_complex-reserved[6] memory--memory-free[6] memory--memory-used[6] df-dev-shm-percent_bytes-used[6] df-dev-df_complex-used[6] df-dev-shm-df_complex-used[6] cpu-0-cpu-nice[6] memory--memory-cached[6] df-dev-df_complex-reserved[6] cpu-0-cpu-wait[6] interface-lo-if_errors-[12] memory--memory-buffered[6] df-dev-shm-df_complex-free[6

image

mindstorms6 commented 7 years ago

@offbyone I'm in agreement. That was just the way it was when I got here. Happy to update it, it'll make this CR pretty tiny.

yimuniao commented 7 years ago

Please confirm this contribution is under the terms of the MIT license. Thanks!

mindstorms6 commented 7 years ago

Indeed, this is under the MIT license

justin8 commented 7 years ago

@offbyone is there any chance of this being merged in the near future?

justin8 commented 7 years ago

@yimuniao Is there any reason this was closed? It's a useful feature my team wanted to use, and it seems others found it useful as well. but it is now closed with no explanation?

yimuniao commented 7 years ago

Pushed