Show
Ignore:
Timestamp:
12/21/06 09:47:38 (7 years ago)
Author:
ahu
Message:

add rec_control stats for shunts

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/rec_channel_rec.cc

    r914 r932  
    191191  addGetStat("resource-limits", &g_stats.resourceLimits); 
    192192  addGetStat("dlg-only-drops", &SyncRes::s_nodelegated); 
     193   
     194  addGetStat("shunted-queries", &g_stats.shunted); 
     195  addGetStat("noshunt-size", &g_stats.noShuntSize); 
     196  addGetStat("noshunt-expired", &g_stats.noShuntExpired); 
     197  addGetStat("noshunt-nomatch", &g_stats.noShuntNoMatch); 
     198  addGetStat("noshunt-cname", &g_stats.noShuntCNAME); 
     199  addGetStat("noshunt-wrong-question", &g_stats.noShuntWrongQuestion); 
     200  addGetStat("noshunt-wrong-type", &g_stats.noShuntWrongType); 
    193201 
    194202  addGetStat("negcache-entries", boost::bind(&SyncRes::negcache_t::size, ref(SyncRes::s_negcache)));