Regarding IoT Edge Service, What is minimum interval that can be configured for metrics collector module?

Prafulla Nawale 0 Reputation points
2024-09-19T10:39:10.0833333+00:00

Regarding IoT Edge service,

  1. what is the minimum interval that can be configured for metric collector module?
  2. At what interval does Edge Agent module publish the default metrics?
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.
581 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 33,956 Reputation points MVP
    2024-09-19T21:03:58.22+00:00

    Hello @Prafulla Nawale ,

    welcome to this moderated Azure community forum.

    The Azure IoT edge solution comes with a standard metric collection solution.

    To start with your second question, the metric collector scrapes data from Prometheus endpoints like the ones offered by the EdgeHub and the EdgeAgent.

    These endpoints look like HTTP endpoints so it's not the edge agent who publishes but it's the metrics collector.

    The default scrape interval for the metrics collector is 5 minutes (300 seconds).

    You can alter the scrape interval by updating the 'ScrapeFrequencyInSecs' setting to scrape sooner or later.

    Check out this blog post for a working example.


    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.