anchor.diff:      Id = datastore_key:new(),
       TimeSeriesId = <<"TS1">>,
       MetricId = <<"M1">>,
  -    MetricsConfig = #metric_config{resolution = 1, retention = 4000, aggregator = max},
  +    MetricsConfig = #metric_config{resolution = 1, retention = 400, aggregator = max},
       ConfigMap = #{TimeSeriesId => #{MetricId => MetricsConfig}},
       Batch = init(Id, ConfigMap),
   
       % Prepare time series collection to be used in tests (batch stores collection)
  -    Measurements = lists:map(fun(I) -> {2 * I, 4 * I} end, lists:seq(1, 10000)),
  +    Measurements = lists:map(fun(I) -> {2 * I, 4 * I} end, lists:seq(1, 1000)),
       Batch2 = update_many(Id, Measurements, Batch),
   
       % Get and verify all windows
  
positive.code:     % Test measurements adding to remaining metric
      Batch18 = update_many(Id, Measurements, {<<"TS1">>, <<"M1">>}, Batch17),
      ExpectedMap10 = ExpectedMap9#{
          {<<"TS1">>, <<"M1">>} => lists:reverse(lists:map(fun(I) -> {I, 2 * I} end, lists:seq(1901, 2000)))
      },
      ?assertMatch(?LIST_OK_ANS(ExpectedMap10), ?LIST_ALL(Id, Batch18)),
  
  
negative.code: 
      % Test overriding metric
      ConfigMapExtension5 = #{<<"TS2">> => #{
          <<"M2">> => #metric_config{resolution = 1, retention = 50, aggregator = last},
          <<"M3">> => #metric_config{resolution = 1, retention = 1000, aggregator = max},
          <<"M4">> => #metric_config{resolution = 1, retention = 10, aggregator = min}
      }},
      Batch9 = extend_collection(Id, ConfigMapExtension5, #{metric_conflict_resulution_strategy => override}, Batch8),
      ExpectedMap5 = ExpectedMap4#{
  