You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "taoyunxing (JIRA)" <ji...@apache.org> on 2016/03/07 09:56:40 UTC

[jira] [Updated] (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:all-tabpanel ]

taoyunxing updated TS-4262:
---------------------------
    Description: 
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:
286951594 - 277568738 = 9382856
    8952696 +      332447 = 9285143
    9382856 -     9285143 = 97713

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!

  was:
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:
286951594 - 277568738 = 9382856
8952696 +332447 = 9285143
9382856 - 9285143 = 97713

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? thinks in advance!


> 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
>            Reporter: taoyunxing
>
> 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:
> 286951594 - 277568738 = 9382856
>     8952696 +      332447 = 9285143
>     9382856 -     9285143 = 97713
> 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)