mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
all: typo fix: the the
-> the
This commit is contained in:
parent
0b8e7deabd
commit
6910b1de2e
@ -251,7 +251,7 @@ func Stop() {
|
|||||||
// Push sends wr to remote storage systems set via `-remoteWrite.url`.
|
// 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 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.
|
// Note that wr may be modified by Push due to relabeling and rounding.
|
||||||
func Push(at *auth.Token, wr *prompbmarshal.WriteRequest) {
|
func Push(at *auth.Token, wr *prompbmarshal.WriteRequest) {
|
||||||
|
@ -106,7 +106,7 @@ func (gmt *graphiteMatchTemplate) Match(dst []string, s string) ([]string, bool)
|
|||||||
dst = append(dst, s)
|
dst = append(dst, s)
|
||||||
return dst, true
|
return dst, true
|
||||||
}
|
}
|
||||||
// Search for the the start of the next part.
|
// Search for the start of the next part.
|
||||||
p = parts[i+1]
|
p = parts[i+1]
|
||||||
i++
|
i++
|
||||||
n := strings.Index(s, p)
|
n := strings.Index(s, p)
|
||||||
|
@ -137,7 +137,7 @@ func (cfg *Config) mustRestart(prevCfg *Config) {
|
|||||||
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2884
|
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2884
|
||||||
needGlobalRestart := !areEqualGlobalConfigs(&cfg.Global, &prevCfg.Global)
|
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
|
var started, stopped, restarted int
|
||||||
currentJobNames := make(map[string]struct{}, len(cfg.ScrapeConfigs))
|
currentJobNames := make(map[string]struct{}, len(cfg.ScrapeConfigs))
|
||||||
for i, sc := range cfg.ScrapeConfigs {
|
for i, sc := range cfg.ScrapeConfigs {
|
||||||
|
Loading…
Reference in New Issue
Block a user