diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index cd7f533d1..39b22f446 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -233,8 +233,6 @@ func (c *flagConfig) setFeatureListOptions(logger log.Logger) error { level.Info(logger).Log("msg", "Experimental created timestamp zero ingestion enabled. Changed default scrape_protocols to prefer PrometheusProto format.", "global.scrape_protocols", fmt.Sprintf("%v", config.DefaultGlobalConfig.ScrapeProtocols)) case "": continue - case "promql-at-modifier", "promql-negative-offset": - level.Warn(logger).Log("msg", "This option for --enable-feature is now permanently enabled and therefore a no-op.", "option", o) default: level.Warn(logger).Log("msg", "Unknown option for --enable-feature", "option", o) } diff --git a/cmd/promtool/main.go b/cmd/promtool/main.go index e1d275e97..a8bef305d 100644 --- a/cmd/promtool/main.go +++ b/cmd/promtool/main.go @@ -323,8 +323,6 @@ func main() { noDefaultScrapePort = true case "": continue - case "promql-at-modifier", "promql-negative-offset": - fmt.Printf(" WARNING: Option for --enable-feature is a no-op after promotion to a stable feature: %q\n", o) default: fmt.Printf(" WARNING: Unknown option for --enable-feature: %q\n", o) }