anchor.diff:      Metric = metric_name(Name),
       SeenAcc1 = maybe_idx(Prefix, Metric, [Prefix | Metric],
                            [
  -                          {<<>>, <<"type">>, <<"count">>}
  +                          {<<"ddb">>, <<"type">>, <<"count">>}
                            ],
                            SeenAcc),
       DictAcc1 = add_metric(Prefix, Metric,
  
positive.code:         false ->
              dqe_idx:add(?BUCKET, Metric,
                          ?BUCKET, Key,
                          undefined, [{<<>>, <<"host">>, Host} | Tags]),
              sets:add_element(SetKey, Seen);
          true ->
              Seen
  
negative.code:     P1 = [Prefix, <<"handoffs">>, <<"inbound">>],
      P2 = [Prefix, <<"handoffs">>, <<"outbound">>],
      Seen1 = maybe_idx(Prefix, [<<"handoffs">>], P1,
                        [{<<"ddb">>, <<"direction">>, <<"inbound">>}],
                       Seen),
      Dict1 = add_to_dict(P1, Time, length(Inbound), Dict),
      Seen2 = maybe_idx(Prefix, [<<"handoffs">>], P2,
                        [{<<"ddb">>, <<"direction">>, <<"outbound">>}],
                       Seen1),
      Dict2 = add_to_dict(P2, Time, length(Outbound), Dict1),
      {Seen2, Dict2}.
  