Forked from kagarlickij/AWS.EC2.Windows.CloudWatch.json
Created
September 15, 2017 14:29
-
-
Save solrevdev/ab8493882644647ae69fa442ce9a8d4d to your computer and use it in GitHub Desktop.
CloudWatch config for WebAPI & AppServer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"EngineConfiguration": { | |
"PollInterval": "00:00:15", | |
"Components": [ | |
{ | |
"Id": "MemoryCounter", | |
"FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch", | |
"Parameters": { | |
"CategoryName": "Memory", | |
"CounterName": "Available MBytes", | |
"InstanceName": "", | |
"MetricName": "Available Memory", | |
"Unit": "Megabytes", | |
"DimensionName": "instance_id", | |
"DimensionValue": "{instance_id}" | |
} | |
}, | |
{ | |
"Id": "DiskSpaceCounter", | |
"FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch", | |
"Parameters": { | |
"CategoryName": "LogicalDisk", | |
"CounterName": "Free Megabytes", | |
"InstanceName": "C:", | |
"MetricName": "Available DiskSpace", | |
"Unit": "Megabytes", | |
"DimensionName": "instance_id", | |
"DimensionValue": "{instance_id}" | |
} | |
}, | |
{ | |
"Id": "NetworkQueueCounter", | |
"FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch", | |
"Parameters": { | |
"CategoryName": "Network Adapter", | |
"CounterName": "Output Queue Length", | |
"InstanceName": "AWS PV Network Device _0", | |
"MetricName": "Network Queue", | |
"Unit": "Count", | |
"DimensionName": "instance_id", | |
"DimensionValue": "{instance_id}" | |
} | |
}, | |
{ | |
"Id": "CloudWatch", | |
"FullName": "AWS.EC2.Windows.CloudWatch.CloudWatch.CloudWatchOutputComponent,AWS.EC2.Windows.CloudWatch", | |
"Parameters": | |
{ | |
"AccessKey": "", | |
"SecretKey": "", | |
"Region": "eu-west-1", | |
"NameSpace": "Windows/Default" | |
} | |
} | |
], | |
"Flows": { | |
"Flows": | |
[ | |
"(MemoryCounter, DiskSpaceCounter, NetworkQueueCounter),CloudWatch" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment