mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/streamaggr/streamaggr.go: fix link in error message (#5439)
This commit is contained in:
parent
276e9301f4
commit
f3c237bae1
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