I have configured Diagnostic Settings and Insights to get the Custom Metrics. After configured, I get the Custom Metrics Namespace and Metrics also display the data.