From 553383c13571bb1210abe24a13a79d24389d6cdf Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Tue, 29 Mar 2022 15:22:17 +0200 Subject: [PATCH] Increase metric store timeout --- metricdata/cc-metric-store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metricdata/cc-metric-store.go b/metricdata/cc-metric-store.go index c77d43d..5b682e7 100644 --- a/metricdata/cc-metric-store.go +++ b/metricdata/cc-metric-store.go @@ -63,7 +63,7 @@ func (ccms *CCMetricStore) Init(url, token string, renamings map[string]string) ccms.queryEndpoint = fmt.Sprintf("%s/api/query", url) ccms.jwt = token ccms.client = http.Client{ - Timeout: 5 * time.Second, + Timeout: 10 * time.Second, } if renamings != nil {