Skip to content

Commit 0d6a95e

Browse files
committed
ingester: Nuke deprecated flags.
Signed-off-by: Goutham Veeramachaneni <[email protected]>
1 parent ae2bee2 commit 0d6a95e

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

pkg/ingester/client/client.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,4 @@ type Config struct {
7575
// RegisterFlags registers configuration settings used by the ingester client config.
7676
func (cfg *Config) RegisterFlags(f *flag.FlagSet) {
7777
cfg.GRPCClientConfig.RegisterFlags("ingester.client", f)
78-
79-
// Deprecated.
80-
f.Int("ingester.client.max-recv-message-size", 64*1024*1024, "DEPRECATED. Maximum message size, in bytes, this client will receive.")
81-
f.Bool("ingester.client.compress-to-ingester", false, "DEPRECATED. Compress data in calls to ingesters.")
82-
f.Bool("distributor.compress-to-ingester", false, "DEPRECATED. Compress data in calls to ingesters. (DEPRECATED: use ingester.client.compress-to-ingester instead")
8378
}

pkg/ingester/ingester.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,6 @@ func (cfg *Config) RegisterFlags(f *flag.FlagSet) {
111111
f.DurationVar(&cfg.ChunkAgeJitter, "ingester.chunk-age-jitter", 20*time.Minute, "Range of time to subtract from MaxChunkAge to spread out flushes")
112112
f.IntVar(&cfg.ConcurrentFlushes, "ingester.concurrent-flushes", 50, "Number of concurrent goroutines flushing to dynamodb.")
113113
f.DurationVar(&cfg.RateUpdatePeriod, "ingester.rate-update-period", 15*time.Second, "Period with which to update the per-user ingestion rates.")
114-
115-
// DEPRECATED, no-op
116-
f.Duration("ingester.search-pending-for", 30*time.Second, "DEPRECATED. Time to spend searching for a pending ingester when shutting down.")
117-
f.Bool("ingester.reject-old-samples", false, "DEPRECATED. Reject old samples.")
118-
f.Duration("ingester.reject-old-samples.max-age", 0, "DEPRECATED. Maximum accepted sample age before rejecting.")
119-
f.Int("ingester.validation.max-length-label-name", 0, "DEPRECATED. Maximum length accepted for label names.")
120-
f.Int("ingester.validation.max-length-label-value", 0, "DEPRECATED. Maximum length accepted for label value. This setting also applies to the metric name.")
121-
f.Int("ingester.max-label-names-per-series", 0, "DEPRECATED. Maximum number of label names per series.")
122114
}
123115

124116
// Ingester deals with "in flight" chunks. Based on Prometheus 1.x

0 commit comments

Comments
 (0)