Skip to content

Commit

Permalink
Update pkg/validation/limits.go
Browse files Browse the repository at this point in the history
Co-authored-by: JordanRushing <rushing.jordan@gmail.com>
  • Loading branch information
vlad-diachenko and JordanRushing authored May 22, 2024
1 parent 9e9e1b8 commit 8dd26fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/validation/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (l *Limits) RegisterFlags(f *flag.FlagSet) {
f.Var(&l.CreationGracePeriod, "validation.create-grace-period", "Duration which table will be created/deleted before/after it's needed; we won't accept sample from before this time.")
f.IntVar(&l.MaxEntriesLimitPerQuery, "validation.max-entries-limit", 5000, "Maximum number of log entries that will be returned for a query.")

f.BoolVar(&l.UseOwnedStreamCount, "ingester.use-owned-stream-count", false, "When true, the ingester takes into account only the streams that belongs to this instance according to the ring while applying the stream limit.")
f.BoolVar(&l.UseOwnedStreamCount, "ingester.use-owned-stream-count", false, "When true an ingester takes into account only the streams that it owns according to the ring while applying the stream limit.")
f.IntVar(&l.MaxLocalStreamsPerUser, "ingester.max-streams-per-user", 0, "Maximum number of active streams per user, per ingester. 0 to disable.")
f.IntVar(&l.MaxGlobalStreamsPerUser, "ingester.max-global-streams-per-user", 5000, "Maximum number of active streams per user, across the cluster. 0 to disable. When the global limit is enabled, each ingester is configured with a dynamic local limit based on the replication factor and the current number of healthy ingesters, and is kept updated whenever the number of ingesters change.")

Expand Down

0 comments on commit 8dd26fb

Please sign in to comment.