diff --git a/app/vmagent/remotewrite/remotewrite.go b/app/vmagent/remotewrite/remotewrite.go index ae5234ff4c..d64d381138 100644 --- a/app/vmagent/remotewrite/remotewrite.go +++ b/app/vmagent/remotewrite/remotewrite.go @@ -251,7 +251,7 @@ func Stop() { // Push sends wr to remote storage systems set via `-remoteWrite.url`. // // If at is nil, then the data is pushed to the configured `-remoteWrite.url`. -// If at isn't nil, the the data is pushed to the configured `-remoteWrite.multitenantURL`. +// If at isn't nil, the data is pushed to the configured `-remoteWrite.multitenantURL`. // // Note that wr may be modified by Push due to relabeling and rounding. func Push(at *auth.Token, wr *prompbmarshal.WriteRequest) { diff --git a/lib/promrelabel/graphite.go b/lib/promrelabel/graphite.go index 015f6bcdc2..de39634b2e 100644 --- a/lib/promrelabel/graphite.go +++ b/lib/promrelabel/graphite.go @@ -106,7 +106,7 @@ func (gmt *graphiteMatchTemplate) Match(dst []string, s string) ([]string, bool) dst = append(dst, s) return dst, true } - // Search for the the start of the next part. + // Search for the start of the next part. p = parts[i+1] i++ n := strings.Index(s, p) diff --git a/lib/promscrape/config.go b/lib/promscrape/config.go index a06686c983..136e2d145c 100644 --- a/lib/promscrape/config.go +++ b/lib/promscrape/config.go @@ -137,7 +137,7 @@ func (cfg *Config) mustRestart(prevCfg *Config) { // See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2884 needGlobalRestart := !areEqualGlobalConfigs(&cfg.Global, &prevCfg.Global) - // Loop over the the new jobs, start new ones and restart updated ones. + // Loop over the new jobs, start new ones and restart updated ones. var started, stopped, restarted int currentJobNames := make(map[string]struct{}, len(cfg.ScrapeConfigs)) for i, sc := range cfg.ScrapeConfigs {