@Ashutosh Sharma , I think I understood what you want to monitor and achieve here. So, Burstable VMs (usually B series VMs are of Burstable type) are ideal for workloads that do not need the full performance of the CPU continuously. These workloads typically have burstable performance requirements. The B-series provides you with the ability to purchase a VM size with baseline performance that can build up credits when it is using less than its baseline.
When the VM has accumulated credits, the VM can burst above the baseline using up to 100% of the vCPU when your application requires higher CPU performance. CPU credits is the metric that is unique to burstable VMs.
You can monitor the metrics using Azure Metrics as shown below (It does not show any chart because my VM has been in deallocated state for quite long and it is not of B series).
Reference:
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-getting-started
Let me know if this helps.
Please 'accept as answer' and 'upvote' if you think the information provided was useful.