Hello @Athira Gopinath(UST,IN) ,
welcome to this moderated Azure community forum.
Both the edgeAgent and edgeHub expose a Prometheus endpoint.
Check out this blog post for more details.
It also shows how to manage the Prometheus module.
You use EFLOW but I expect the same settings are in place for you, even when the paths differ due to the Windows files system?
Check the Prometheus local portal to see if it works as expected.
Off topic: You are aware of the Metrics Collector module capable to send the data from the Prometheus endpoints to the cloud?
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.