Skip to content

Instantly share code, notes, and snippets.

@shibayan
Created December 18, 2013 15:11
Show Gist options
  • Save shibayan/8023908 to your computer and use it in GitHub Desktop.
Save shibayan/8023908 to your computer and use it in GitHub Desktop.
ActiveAutoscaleProfile:
{
"Capacity": {
"Minimum": "1",
"Maximum": "3",
"Default": "1"
},
"Rules": [
{
"MetricTrigger": {
"Name": "AveragePercentageCpu",
"Namespace": "WebsiteDedicated",
"Resource": "WebsiteDedicated:eastasiawebspace:DefaultServerFarm",
"TimeGrain": "PT5M",
"Statistic": "Average",
"TimeWindow": "PT45M",
"TimeAggregation": "Average",
"Operator": "GreaterThanOrEqual",
"Threshold": 80.0
},
"ScaleAction": {
"Direction": "Increase",
"Type": "ChangeCount",
"Value": "1",
"Cooldown": "PT5M"
}
},
{
"MetricTrigger": {
"Name": "AveragePercentageCpu",
"Namespace": "WebsiteDedicated",
"Resource": "WebsiteDedicated:eastasiawebspace:DefaultServerFarm",
"TimeGrain": "PT5M",
"Statistic": "Average",
"TimeWindow": "PT45M",
"TimeAggregation": "Average",
"Operator": "LessThanOrEqual",
"Threshold": 60.0
},
"ScaleAction": {
"Direction": "Decrease",
"Type": "ChangeCount",
"Value": "1",
"Cooldown": "PT2H"
}
}
]
}
Description:
The autoscale engine attempting to scale resource 'eastasiawebspace:DefaultServerFarm' from 1 instances count to 2 instances count.
LastScaleActionTime:
20131217T082601Z
NewInstancesCount:
2
OldInstancesCount:
1
ResourceName:
eastasiawebspace:DefaultServerFarm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment