python-diamond / Diamond

Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
http://diamond.readthedocs.org/
MIT License
1.74k stars 601 forks source link

CloudWatch custom dimensions and boto3 #679

Open jantman opened 6 years ago

jantman commented 6 years ago

This rolls up two improvements for the cloudwatch handler:

  1. Fix #678, switch from the deprecated boto AWS library (which, in addition to being deprecated, also doesn't support retrieving AWS credentials from the Instance Metadata Service or ECS Task Metadata).
  2. Add support for custom dimensions to send along with metrics, per-metric.
coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.02%) to 24.649% when pulling 4d994031dcfdac11dd1100d9e21b663ca8c0a0f2 on jantman:cw-custom-dimension into f2bece462577a7c557be8a9f90f6b9340c3db571 on python-diamond:master.

shortdudey123 commented 2 years ago

707 added custom dimension support. Can you rebase this to get the boto3 switch done?