How to set a metric condition in Azure SQL Managed Instance - azure

My Azure SQL Managed Instance is showing the storage utilization chart as follows:
And the Average Storage used metric is showing as follows:
Goal: set a condition for the metric Storage Space used so that when the average space used exceeds 52k, I get an alert. Currently, average storage used is showing 51.74k as depicted in the image 2 below)
Question: what threshold value should I set in the Alert Rule, to achieve the above goal?
Ref: Create alerts for Azure SQL Managed Instance

Please configure in the Alert panel as shown below for a threshold limit of 52k.
Select Unit as "k" and Threshold value as 52

Related

How can we change/check the frequency of evaluation of a budget Alert in Azure

I have set up a budget alert using Azure Portal ,I have defined my budget as 400$ and frequency as 120$ .I have received the alert notification by mail .But my concern here is ,that in alert mail the actual value is 240 which is much more than 120 . I want the alert to be triggered right immediately when the value goes above 120(Threshold Value) .
Is there any approach where I can change/check the Frequency of evaluation of Budget Alert defined .
Azure usage data is not updated in real-time
https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/understand-cost-mgt-data#cost-and-usage-data-updates-and-retention
I don't think there is an option to increase the evaluation frequency of the Alert. Even if you could do it, the cost data would be still delayed.

Azure VM Scale Set Autoscale dynamic instance count

Is it possible to add dynamic number of instances in an Azure Virtual Machine Scaleset autoscale rule? As shown in the image, can I pass a variable for the instance count for scaling out?
I'm afraid you cannot do it. When you do it, it will show the limitations:
Just imagine, we can't know when it will scale the instances so that we cannot know what is the time to set the variable with an exact number. So it must be a valid number without empty. And the number between 1 and 512 is a limitation set by Azure.

Change Azure Scale Set Instance size based on the ScaleSet size

I have changed the size of the Scale Set to Standard D8 from Standard D1, even after few hours my ScaleSet instance size is just D1. How can I change this newly updated size to ScaleSet Instances?
In the screenshot you shared, it says "LATEST MODEL: No". This implies:
Your upgradePolicy setting is set to Manual.
You updated the scale set model (with the new VM size), but did not apply the update to the VMs in the scale set, which you need to do if the upgradePolicy is set to Manual. You can apply these updates in the Instances tab for a Scale Set in the Azure portal for example.
You can find out more about the upgradePolicy setting here: https://msftstack.wordpress.com/2016/11/15/azure-scale-set-upgrade-policy-explained/

What is the meaning of "Target Range" in the Azure Scale Profile portal blade?

In the new Azure portal under
Cloud services > Scaling blade > Scale Profile > choosing Recurrence
There is a range of instances to choose, if I understood correctly.
Can someone explain the meaning of a "range", since in certain hour I would expect to have a fixed number of instances.
New portal
The range defines the minimum and maximum number of instances that will be running at any given time. For example, if you're configuring a scale profile based on CPU load you will have CPU percentage rules in place that will add/remove instances based on CPU thresholds you define. The scale profile will add/remove instances as needed within the range you specified.
The Range in the new Portal has 2 sliders Minimum and Max Number of Instances
Depending on the trigger you will set for this to Happen
Manual Scale : The Nummber of Instances will be set based on your Choice
CPU : You set the Minimum and the Max for Instances and Besed on the CPU Untalization Azure will Set the Number of instances
Other Measures : Same as CPU but for Queuing, Traffic, Disk I/O Etc.
There is "Scale Profile" and also a sub scaling call "rule".
The rule determine the scale within the range of the "Scale Profile".
target range for the metric. For example, if you chose CPU percentage, you can set a target for the average CPU across all of the instances in your service. A scale out will happen when the average CPU exceeds the maximum you define, likewise, a scale in will happen whenever the average CPU drops below the minimum
https://learn.microsoft.com/en-us/azure/monitoring-and-diagnostics/insights-how-to-scale

Azure Diagnostic - how to get performance counter raw data

i am looking for a way to get the raw data from a performance counter in windows azure
using the diagnostic api.
so far I've noticed that i can configured a counter from the known counters
and set the sampling rate for that counter.
Is the sampling rate configured in the diagnostics configuration is the sampling rate
that the counter calculation is based on ?
if not how can i get the raw data for that counter, since i want to get the cpu user time (for example)
and do the calculation by myself.
thanks
Each counter has a sampling frequency from 1 second whatever number. Azure will sample each instance at the given rate and capture the values and store them inside each instance. Furthermore, there is a setting that allows Azure to transfer these values from each instance onto storage account's WADPerformanceCountersTable. The transfer setting is measured in minutes and a minimum of once per minute.
To get details you want to read this:
http://convective.wordpress.com/2009/12/10/diagnostics-management-in-windows-azure/
and this:
http://convective.wordpress.com/2010/12/01/configuration-changes-to-windows-azure-diagnostics-in-azure-sdk-v1-3/

Resources