Hello @Madanala, Jayashree ,
you are interested in the CPU/Memory/Diskspace metrics on your Azure IoT Edge device.
this is pretty easy and does not require extra programming.
Just add the Microsoft Metrics Collector module and configure it.
It shows both metrics of the host and each docker container!
Check out this blog post for deployment details.