Skip to content

Instantly share code, notes, and snippets.

@martinrusev
Created January 15, 2016 11:52
Show Gist options
  • Select an option

  • Save martinrusev/71eb4303663dd85a8463 to your computer and use it in GitHub Desktop.

Select an option

Save martinrusev/71eb4303663dd85a8463 to your computer and use it in GitHub Desktop.
amon_cloudwatch_metrics
CLOUDWATCH_METRICS = [
'DiskWriteBytes',
'DiskReadBytes',
'NetworkOut',
'NetworkIn',
'DiskReadOps',
'DiskWriteOps',
'CPUUtilization'
]
CLOUDWATCH_RDS_METRICS = [
{"metric": "SwapUsage", "unit": "Bytes", "amon_unit": "MB"},
{"metric": "FreeStorageSpace", "unit": "Bytes", "amon_unit": "MB"},
{"metric": "FreeableMemory", "unit": "Bytes", "amon_unit": "MB"},
{"metric": "DatabaseConnections", "unit": "Count", "amon_unit": ""},
{"metric": "CPUUtilization", "unit": "Percent", "amon_unit": "%"},
{"metric": "WriteLatency", "unit": "Milliseconds", "amon_unit": "ms"},
{"metric": "WriteIOPS", "unit": "Count/Second", "amon_unit": ""},
{"metric": "WriteThroughput", "unit": "Megabytes/Second", "amon_unit": ""},
{"metric": "ReadLatency", "unit": "Milliseconds", "amon_unit": "ms"},
{"metric": "ReadIOPS", "unit": "Count/Second", "amon_unit": ""},
{"metric": "ReadThroughput", "unit": "Megabytes/Second", "amon_unit": ""},
{"metric": "DiskQueueDepth", "unit": "Count", "amon_unit": ""},
]
CLOUDWATCH_EBS_METRICS = [
# {"metric": "VolumeQueueLength", "unit": "Count", "amon_unit": ""},
{"metric": "VolumeReadOps", "unit": "Count", "amon_unit": ""},
{"metric": "VolumeWriteOps", "unit": "Count", "amon_unit": ""},
{"metric": "VolumeIdleTime", "unit": "Count", "amon_unit": ""},
{"metric": "VolumeReadBytes", "unit": "Bytes", "amon_unit": "KB"},
{"metric": "VolumeWriteBytes", "unit": "Bytes", "amon_unit": "KB"},
# {"metric": "VolumeTotalWriteTime", "unit": "Seconds", "amon_unit": "s"},
# {"metric": "VolumeTotalReadTime", "unit": "Seconds", "amon_unit": "s"},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment