Skip to content

Commit

Permalink
Remove ingestion_limit config option from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-p committed Feb 4, 2025
1 parent be969ea commit 571ec08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2020,20 +2020,6 @@ The `limits` block configures default and per-tenant limits imposed by component
# CLI flag: -distributor.ingestion-burst-size-mb
[ingestion_burst_size_mb: <float> | default = 2]
ingestion_limit:
[period_type: <string> | default = ""]
[period_limit_mb: <int> | default = ]
[limit_reset_time: <int> | default = ]
[limit_reached: <boolean> | default = ]
sampling:
[num_requests: <int> | default = ]
[period: <duration> | default = ]
# Maximum length accepted for label names.
# CLI flag: -validation.max-length-label-name
[max_label_name_length: <int> | default = 1024]
Expand Down
2 changes: 1 addition & 1 deletion pkg/validation/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Limits struct {
// Distributor enforced limits.
IngestionRateMB float64 `yaml:"ingestion_rate_mb" json:"ingestion_rate_mb"`
IngestionBurstSizeMB float64 `yaml:"ingestion_burst_size_mb" json:"ingestion_burst_size_mb"`
IngestionLimit *ingest_limits.Config `yaml:"ingestion_limit" json:"ingestion_limit"`
IngestionLimit *ingest_limits.Config `yaml:"ingestion_limit" json:"ingestion_limit" category:"advanced" doc:"hidden"`
MaxLabelNameLength int `yaml:"max_label_name_length" json:"max_label_name_length"`
MaxLabelValueLength int `yaml:"max_label_value_length" json:"max_label_value_length"`
MaxLabelNamesPerSeries int `yaml:"max_label_names_per_series" json:"max_label_names_per_series"`
Expand Down

0 comments on commit 571ec08

Please sign in to comment.