From 02999eafad0fa5d8896531bf18ad51288c9aca48 Mon Sep 17 00:00:00 2001 From: Hongwei Chen Date: Wed, 20 Nov 2024 05:57:43 +0000 Subject: [PATCH] pap: trivial - malacgite_relatime provisioner default interval 1 second --- cmd/katalyst-agent/app/options/metaserver/metric.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/katalyst-agent/app/options/metaserver/metric.go b/cmd/katalyst-agent/app/options/metaserver/metric.go index a62120908..1f0958c7d 100644 --- a/cmd/katalyst-agent/app/options/metaserver/metric.go +++ b/cmd/katalyst-agent/app/options/metaserver/metric.go @@ -56,7 +56,7 @@ func NewMetricFetcherOptions() *MetricFetcherOptions { MetricProvisions: []string{metaserver.MetricProvisionerMalachite, metaserver.MetricProvisionerKubelet}, DefaultInterval: time.Second * 5, - ProvisionerIntervalSecs: make(map[string]int), + ProvisionerIntervalSecs: map[string]int{metaserver.MetricProvisionerMalachiteRealtime: 1}, MalachiteOptions: &MalachiteOptions{}, CgroupOptions: &CgroupOptions{},