From 4399959f791de5b1387808d79624f17411b1527e Mon Sep 17 00:00:00 2001 From: Sylvain Rabot Date: Fri, 18 Aug 2023 15:15:55 +0200 Subject: [PATCH] Remove native histograms / memory snapshot restriction Signed-off-by: Sylvain Rabot --- cmd/prometheus/main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index d48898b94..cab65626a 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -214,11 +214,6 @@ func (c *flagConfig) setFeatureListOptions(logger log.Logger) error { } } - if c.tsdb.EnableNativeHistograms && c.tsdb.EnableMemorySnapshotOnShutdown { - c.tsdb.EnableMemorySnapshotOnShutdown = false - level.Warn(logger).Log("msg", "memory-snapshot-on-shutdown has been disabled automatically because memory-snapshot-on-shutdown and native-histograms cannot be enabled at the same time.") - } - return nil }