mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
lib/streamaggr/streamaggr.go: fix link in error message (#5439)
This commit is contained in:
parent
f0215454b4
commit
91654c2c0d
1 changed files with 2 additions and 2 deletions
|
@ -303,7 +303,7 @@ func newAggregator(cfg *Config, pushFunc PushFunc, dedupInterval time.Duration)
|
||||||
// initialize outputs list
|
// initialize outputs list
|
||||||
if len(cfg.Outputs) == 0 {
|
if len(cfg.Outputs) == 0 {
|
||||||
return nil, fmt.Errorf("`outputs` list must contain at least a single entry from the list %s; "+
|
return nil, fmt.Errorf("`outputs` list must contain at least a single entry from the list %s; "+
|
||||||
"see https://docs.victoriametrics.com/vmagent.html#stream-aggregation", supportedOutputs)
|
"see https://docs.victoriametrics.com/stream-aggregation.html", supportedOutputs)
|
||||||
}
|
}
|
||||||
aggrStates := make([]aggrState, len(cfg.Outputs))
|
aggrStates := make([]aggrState, len(cfg.Outputs))
|
||||||
for i, output := range cfg.Outputs {
|
for i, output := range cfg.Outputs {
|
||||||
|
@ -358,7 +358,7 @@ func newAggregator(cfg *Config, pushFunc PushFunc, dedupInterval time.Duration)
|
||||||
aggrStates[i] = newHistogramBucketAggrState(stalenessInterval)
|
aggrStates[i] = newHistogramBucketAggrState(stalenessInterval)
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("unsupported output=%q; supported values: %s; "+
|
return nil, fmt.Errorf("unsupported output=%q; supported values: %s; "+
|
||||||
"see https://docs.victoriametrics.com/vmagent.html#stream-aggregation", output, supportedOutputs)
|
"see https://docs.victoriametrics.com/stream-aggregation.html", output, supportedOutputs)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue