diff --git a/retrieval/targetmanager.go b/retrieval/targetmanager.go index 08c28a638..1c1f52006 100644 --- a/retrieval/targetmanager.go +++ b/retrieval/targetmanager.go @@ -85,7 +85,7 @@ func (m *targetManager) AddTargetsFromConfig(config *config.Config) { } for _, endpoint := range configTargets.Endpoints { - target := NewTarget(endpoint, time.Second*5, interval, baseLabels) + target := NewTarget(endpoint, interval, time.Second*5, baseLabels) m.Add(target) } }