anchor.diff:  
   -spec get(state(), meta(), string(), [{atom(), term()}]) -> {nil, state()}.
   get(State, _Meta, URL, Options) ->
  -    StartTime = os:timestamp(),
       ShouldLog = proplists:get_value(log, Options, false),
       ExpectedCode = proplists:get_value(expected, Options, 200),
   
       ShouldLog andalso lager:info("GET ~s", [URL]),
   
       {HackneyOptions, Headers} = parse_options(Options),
  +    StartTime = os:timestamp(),
       Response = hackney:request(get, list_to_binary(URL), Headers, <<"">>, HackneyOptions),
  +    Latency = timer:now_diff(os:timestamp(), StartTime),
   
       case Response of
           {ok, _, _, BodyRef} -> hackney:skip_body(BodyRef);
           _ -> ok
       end,
   
  -    Latency = timer:now_diff(os:timestamp(), StartTime),
       mzb_metrics:notify({"latency", histogram}, Latency),
   
       case Response of
  
positive.code:             mzb_metrics:notify({"http_ok", counter}, 1);
          {ok, _, _, _} = Reply ->
              lager:error("GET failed: ~p", [Reply]),
              mzb_metrics:notify({"http_fail", counter}, 1);
          E ->
              lager:error("hackney:request failed: ~p", [E]),
  
negative.code: -module(simple_http_worker).
  
  -export([initial_state/0, metrics/0,
           get/3, get/4, post/5, random_get/3]).
  
  -type state() :: term().
  -type meta() :: [{Key :: atom(), Value :: any()}].
  