Changeset 9ddee8b8064f61121aef145c845fd89d05a75156

Show
Ignore:
Timestamp:
06/08/12 20:47:24 (2 years ago)
Author:
Theo Schlossnagle <jesus@lethargy.org>
git-committer:
Theo Schlossnagle <jesus@lethargy.org> 1339188444 -0700
git-parent:

[ce14cfda814381decf6cb454e9b996745d37ffe8], [b5631fad3b0879167cae847f495df915daff65f1]

git-author:
Theo Schlossnagle <jesus@lethargy.org> 1339188444 -0700
Message:

Merge pull request #79 from ddispaltro/include_rtt_on_failed_lookups

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);