Abhishek Anand
Abhishek Anand

Reputation: 477

ScrapeFrequencyInSecs is not working in metrics-collector module

I have deployed metrics-collector module with a ScrapeFrequencyInSecs value of 60. so it should scrape data every minutes, but when I check data in insightsmetrics, I am still getting data every 5 minutes or so

I am using

mcr.microsoft.com/azureiotedge-metrics-collector:1.0

Version 1.

Upvotes: 0

Views: 98

Answers (1)

Ecstasy
Ecstasy

Reputation: 1864

The mcr.microsoft.com/azureiotedge-metrics-collector:1.0 module has ScrapeFrequencyInSecs Default value: 300.

Note: After updating the configuration parameter, environment variables need a restart of the module.

You can refer to MS Q&A: can we set the interval for sending metrics using Metrics collector module to log analysis workspace

Upvotes: 1

Related Questions