anchor.diff:  -define(SERVER, ?MODULE).
   
   -record(state, {
  +          time = 0 :: integer()
       }).
   
   -spec(start_link() ->
  
positive.code:     AggTags = [[hostname], [hostname, backend]],
      telemetry:counter(mm_connect_failures, Tags, AggTags, 1).
  
  -spec(conn_success(#ip_vs_conn{}, #ip_vs_conn_status{}) -> ok).
  conn_success(#ip_vs_conn{from_ip = IP, from_port = Port,
                           to_ip = VIP, to_port = VIPPort},
               #ip_vs_conn_status{time_ns = Time}) ->
      TimeDelta = erlang:monotonic_time(nano_seconds) - Time,
      Tags = named_tags(IP, Port, VIP, VIPPort),
      AggTags = [[hostname], [hostname, backend]],
      telemetry:counter(mm_connect_successes, Tags, AggTags, 1),
      telemetry:histogram(mm_connect_latency, Tags, AggTags, TimeDelta).
  
  
  -spec(named_tags(IIP :: integer(),
                   Port :: inet:port_numbrer(),
  
negative.code:     NextMinute + Splay.
  
  %% implementation
  -spec(check_connections(#state{}) -> ok).
  check_connections(State) ->
      {ok, Conns} = ip_vs_conn_monitor:get_connections(),
      Parsed = maps:fold(fun(K,V,Z) -> [{ip_vs_conn:parse(K),V}|Z] end, [], Conns),
      lists:foreach(fun (C) -> check_connections(State, C) end, Parsed).
  
  -spec(check_connections(#state{}, {#ip_vs_conn{}, #ip_vs_conn_status{}}) -> ok).
  check_connections(_State, {Conn, #ip_vs_conn_status{tcp_state = syn_recv}}) ->
      conn_failed(Conn);
  check_connections(State, {Conn, Status = #ip_vs_conn_status{tcp_state = time_wait}}) ->
      conn_success(State, Conn, Status);
  check_connections(State, {Conn, Status = #ip_vs_conn_status{tcp_state = close_wait}}) ->
      conn_success(State, Conn, Status);
  check_connections(State, {Conn, Status = #ip_vs_conn_status{tcp_state = established}}) ->
      conn_success(State, Conn, Status).
  
  -spec(conn_failed(#ip_vs_conn{}) -> ok).
  conn_failed(#ip_vs_conn{from_ip = IP, from_port = Port,
  