Changeset b5631fad3b0879167cae847f495df915daff65f1

Show
Ignore:
Timestamp:
05/24/12 15:40:36 (2 years ago)
Author:
Dan Di Spaltro <dan@cloudkick.com>
git-committer:
Dan Di Spaltro <dan@cloudkick.com> 1337874036 -0700
git-parent:

[a6f716d7d5a83b908b2739db317651b19855f337]

git-author:
Dan Di Spaltro <dan@cloudkick.com> 1337874036 -0700
Message:

Include rtt no matter if there is an error or not.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/dns.c

    radd4f48 rb5631fa  
    211211             ci->nrr, ci->nrr == 1 ? "record" : "records"); 
    212212    ci->current.status = strdup(buff); 
    213     noit_stats_set_metric(ci->check, &ci->current, "rtt", METRIC_DOUBLE, 
    214                           ci->timed_out ? NULL : &rtt); 
    215   } 
     213  } 
     214  noit_stats_set_metric(ci->check, &ci->current, "rtt", METRIC_DOUBLE, 
     215                        ci->timed_out ? NULL : &rtt); 
    216216 
    217217  noit_check_set_stats(ci->check, &ci->current);