Skip to content

Commit 005cf4a

Browse files
MB-47502: Temporarily disable stats pruning as it causes ...
... a memory leak in Prometheus Change-Id: I3a95354655660fe431a93e793df8b70ee43da4a7 Reviewed-on: http://review.couchbase.org/c/ns_server/+/158975 Tested-by: Timofey Barmin <[email protected]> Reviewed-by: Steve Watanabe <[email protected]>
1 parent 2a578df commit 005cf4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prometheus_cfg.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ default_settings() ->
148148
{scrape_interval, 10}, %% in seconds
149149
{scrape_timeout, 10}, %% in seconds
150150
{snapshot_timeout_msecs, 30000}, %% in milliseconds
151-
{decimation_enabled, true},
152-
{truncation_enabled, true},
151+
{decimation_enabled, false},
152+
{truncation_enabled, false},
153153
{decimation_defs, decimation_definitions_default()},
154154
{pruning_interval, 60000}, %% frequency to try to prune stats (msecs)
155155
{truncate_max_age, 3*?SECS_IN_DAY}, %% age (secs) to truncate stats

0 commit comments

Comments
 (0)