You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/04/06 21:35:25 UTC

[jira] [Commented] (TS-4262) Some imprecise statistics of stats_over_http plugin

    [ https://issues.apache.org/jira/browse/TS-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228947#comment-15228947 ] 

Leif Hedstrom commented on TS-4262:
-----------------------------------

Can we please get a github Pull Request for this change?

> Some imprecise statistics of stats_over_http plugin
> ---------------------------------------------------
>
>                 Key: TS-4262
>                 URL: https://issues.apache.org/jira/browse/TS-4262
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 5.3.2
>            Reporter: taoyunxing
>             Fix For: 6.2.0
>
>
> I found the statistics of HostDB and DNS are not precise, see the following:
> {code}
> proxy.process.hostdb.total_lookups      286951594
> proxy.process.hostdb.total_hits             277568738
> proxy.process.dns.total_dns_lookups    23238887
> proxy.process.dns.lookup_successes    8952696
> proxy.process.dns.lookup_failures         332447
> {code}
> calculation:
> {code}
> 286951594 - 277568738 = 9382856
>     8952696 +      332447 = 9285143
>     9382856 -     9285143 = 97713
> {code}
> I have two question:
> 1.why ?
> proxy.process.hostdb.total_lookups - proxy.process.hostdb.total_hits != proxy.process.dns.lookup_successes + proxy.process.dns.lookup_failures
> 2.why?
> proxy.process.dns.lookup_successes + proxy.process.dns.lookup_failures != proxy.process.dns.total_dns_lookups
> anyone can show me the reason? thanks in advance!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)