Skip to content

Commit 4ab0277

Browse files
Revert "MB-47502: Temporarily disable stats pruning as it causes ..."
This reverts commit d7c270c618c29e29d27d8fff74e156167d8fb79b. Change-Id: I7f04ee2d81bf2b5a978f4386aae3b96c4e1f9df5 Reviewed-on: http://review.couchbase.org/c/ns_server/+/158973 Well-Formed: Restriction Checker Tested-by: Timofey Barmin <[email protected]> Reviewed-by: Timofey Barmin <[email protected]>
1 parent 29e1058 commit 4ab0277

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, false},
152-
{truncation_enabled, false},
151+
{decimation_enabled, true},
152+
{truncation_enabled, true},
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)