You observe inconsistent values for the Azure VM Power State metric when monitoring with the DX APM Infrastructure Agent. Specifically, you see a value of 1 (Starting) even when no availability issues or restarts are reported in the Azure portal. Conversely, during a confirmed Windows Update restart, the metric remains at 2 (Running) instead of reflecting the state transition.
The Azure VM Power State metric in DX APM is evaluated based on the data retrieved via the Azure Monitor API. Discrepancies occur due to:
You must verify the polling interval and correlation with Azure Monitor "Power Instance" metrics.