From 8a2b4adf8653881a8449400c60400b398690cefd Mon Sep 17 00:00:00 2001 From: wsy327643 Date: Fri, 24 Nov 2023 16:20:08 +0800 Subject: [PATCH] fix: modified dcgm job scrape interval --- pkg/openmetric/openmetric.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/openmetric/openmetric.go b/pkg/openmetric/openmetric.go index f140615..57f02ca 100644 --- a/pkg/openmetric/openmetric.go +++ b/pkg/openmetric/openmetric.go @@ -202,7 +202,7 @@ func (m *Manager) Start() { HonorLabels: true, HonorTimestamps: false, Params: nil, - ScrapeInterval: model.Duration(5 * time.Second), + ScrapeInterval: model.Duration(time.Minute), ScrapeTimeout: model.Duration(5 * time.Second), MetricsPath: "/metrics", Scheme: "http",