Issue in communication between the docker container modules added in IoT Edge Runtime in windows devices

Athira Gopinath(UST,IN) 96 Reputation points
2024-05-20T11:56:33.06+00:00

Hi Team,

As part of an R&D, I am trying to fetch the edge agent and edge hub data exposed with Prometheus. But docker to docker communication is not happening. Prometheus couldn't scrap the data from these modules even after exposing the ports. Could anyone please help to resolve this issue. I have achieved this in Windows machine using EflowVm.

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
550 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,929 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 30,321 Reputation points MVP
    2024-05-20T13:38:40.5466667+00:00

    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.