From da2ae5c32bc259ea7a883a6169bcb11e219ec0d0 Mon Sep 17 00:00:00 2001 From: liugq Date: Wed, 12 Feb 2025 09:02:10 +0800 Subject: [PATCH 1/2] fix: incorrect interval configuration in index stats collection task --- modules/metrics/elastic/elasticsearch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/metrics/elastic/elasticsearch.go b/modules/metrics/elastic/elasticsearch.go index cbe577475..beb255049 100644 --- a/modules/metrics/elastic/elasticsearch.go +++ b/modules/metrics/elastic/elasticsearch.go @@ -331,7 +331,7 @@ func (m *ElasticsearchMetric) InitialCollectTask(k string, v *elastic.Elasticsea ID: indexStatsTaskID, Description: fmt.Sprintf("monitoring index stats metric for cluster %s", k), Type: "interval", - Interval: monitorConfigs.ClusterStats.Interval, + Interval: monitorConfigs.IndexStats.Interval, Singleton: true, Task: func(ctx context.Context) { if !v.IsAvailable() { From 16f70b7656b2d124c4054cdc5840464b99e9287f Mon Sep 17 00:00:00 2001 From: liugq Date: Wed, 12 Feb 2025 10:44:41 +0800 Subject: [PATCH 2/2] chore: update release notes --- docs/content.en/docs/release-notes/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content.en/docs/release-notes/_index.md b/docs/content.en/docs/release-notes/_index.md index c66738706..0cfd05903 100644 --- a/docs/content.en/docs/release-notes/_index.md +++ b/docs/content.en/docs/release-notes/_index.md @@ -14,6 +14,7 @@ Information about release notes of INFINI Framework is provided here. ### Features ### Bug fix +- Fix incorrect interval configuration in index stats collection task (#80) ### Improvements