Skip to content

Commit c664a5c

Browse files
pstibranystevesg
andcommitted
Update pkg/distributor/distributor.go. Fixed formatting.
Co-authored-by: Steve Simpson <[email protected]> Signed-off-by: Peter Štibraný <[email protected]>
1 parent d9e543f commit c664a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/distributor/distributor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func (cfg *Config) RegisterFlags(f *flag.FlagSet) {
151151
f.BoolVar(&cfg.ShardByAllLabels, "distributor.shard-by-all-labels", false, "Distribute samples based on all labels, as opposed to solely by user and metric name.")
152152
f.StringVar(&cfg.ShardingStrategy, "distributor.sharding-strategy", util.ShardingStrategyDefault, fmt.Sprintf("The sharding strategy to use. Supported values are: %s.", strings.Join(supportedShardingStrategies, ", ")))
153153
f.BoolVar(&cfg.ExtendWrites, "distributor.extend-writes", true, "Try writing to an additional ingester in the presence of an ingester not in the ACTIVE state. It is useful to disable this along with -ingester.unregister-on-shutdown=false in order to not spread samples to extra ingesters during rolling restarts with consistent naming.")
154-
f.Float64Var(&cfg.MaxIngestionRate, "distributor.max-ingestion-rate", 0, "Max ingestion rate (samples/sec) that distributor will accept. This limit is per-distributor, not per-tenant. Additional push requests will be rejected. Current ingestion rate is computed as exponentially weighted moving average, updated every second. 0 = unlimited.")
154+
f.Float64Var(&cfg.MaxIngestionRate, "distributor.max-ingestion-rate", 0, "Max ingestion rate (samples/sec) that this distributor will accept. This limit is per-distributor, not per-tenant. Additional push requests will be rejected. Current ingestion rate is computed as exponentially weighted moving average, updated every second. 0 = unlimited.")
155155
f.IntVar(&cfg.MaxInflightPushRequests, "distributor.max-inflight-push-requests", 0, "Max inflight push requests that this distributor can handle. Additional requests will be rejected. 0 = unlimited.")
156156
}
157157

0 commit comments

Comments
 (0)