anchor.diff:              end;
           false ->
               ok
  -    end;
  -maybe_send_out_email_alert(Key, Message) when is_atom(Key) ->
  -    maybe_send_out_email_alert({Key, node()}, Message).
  +    end.
   
   alert_keys() ->
       [ip, disk, overhead, ep_oom_errors, ep_item_commit_failed].
  
positive.code: %% calls to the archiver
  
  run_basic_test_do() ->
      ?assertEqual(ok, ?MODULE:local_alert(foo, <<"bar">>)),
      ?assertMatch({[<<"bar">>], _}, ?MODULE:fetch_alerts()),
      {[<<"bar">>], Opaque1} = ?MODULE:fetch_alerts(),
      ?assertMatch({true, {[], _}}, {?MODULE:consume_alerts(Opaque1), ?MODULE:fetch_alerts()}),
  
      ?assertEqual(ok, ?MODULE:local_alert(bar, <<"bar">>)),
      ?assertEqual(ignored, ?MODULE:local_alert(bar, <<"bar">>)),
      {[<<"bar">>], Opaque2} = ?MODULE:fetch_alerts(),
      true = (Opaque1 =/= Opaque2),
      ?assertEqual(false, ?MODULE:consume_alerts(Opaque1)),
  
negative.code: 
  
  %% @doc Show to user on running node only
  -spec local_alert({any(), node()}, binary()) -> ok | ignored.
  local_alert(Key, Val) ->
      gen_server:call(?MODULE, {add_alert, Key, Val}).
  
  