anchor.diff:      try sys:get_state(Pid, ?SERVICE_PROCESS_TIMEOUT) of
           State -> % gen_server/proc_lib
               {QueuedRequests,
  -             QueuedSize0,
  +             QueuedRequestsSize0,
                WordSize,
                QueuedInfo} = case erlang:tuple_size(State) of
                   29 -> % duo_mode == false
  
positive.code:                      erlang:element(8, State)}   % queued_info
              end,
              QueuedRequestsLength = cloudi_x_pqueue4:len(QueuedRequests),
              QueuedSizeN = if
                  QueuedRequestsLength > 0, QueuedSize0 == 0 ->
                      cloudi_x_erlang_term:byte_size(QueuedRequests, WordSize);
                  true ->
                      QueuedSize0
              end,
              QueuedInfoLength = queue:len(QueuedInfo),
              [metric(gauge, MetricPrefix ++ [queued_requests],
                      QueuedRequestsLength),
               metric(gauge, MetricPrefix ++ [queued_requests_size],
                      QueuedSizeN),
               metric(gauge, MetricPrefix ++ [queued_info],
                      QueuedInfoLength)]
      catch
  
negative.code:         {_, State} -> % gen_fsm
              38 = erlang:tuple_size(State),
              state = erlang:element(1, State),
              QueuedRequests = erlang:element(8, State),       % queued
              QueuedRequestsSize0 = erlang:element(9, State),  % queued_size
              WordSize = erlang:element(10, State),            % queued_word_size
              QueuedRequestsLength = cloudi_x_pqueue4:len(QueuedRequests),
              QueuedRequestsSizeN = if
                  QueuedRequestsLength > 0, QueuedRequestsSize0 == 0 ->
                      cloudi_x_erlang_term:byte_size(QueuedRequests, WordSize);
                  true ->
                      QueuedRequestsSize0
              end,
              [metric(gauge, MetricPrefix ++ [queued_requests],
                      QueuedRequestsLength),
               metric(gauge, MetricPrefix ++ [queued_requests_size],
                      QueuedRequestsSizeN)]
      catch
          exit:{_, _} ->
              []
  