BIND 10 #2225: Implement counters into Xfrout (3/3)

BIND 10 Development do-not-reply at isc.org
Fri Dec 7 02:34:07 UTC 2012


#2225: Implement counters into Xfrout (3/3)
-------------------------------------+-------------------------------------
            Reporter:  naokikambe    |                        Owner:
                Type:  enhancement   |  UnAssigned
            Priority:  medium        |                       Status:
           Component:  xfrout        |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-20121218
         Sub-Project:  DNS           |                   Resolution:
Estimated Difficulty:  7             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by naokikambe):

 I've revised the interface of `Counter()`. The ways to create a object and
 call a method are like the following. Arguments of `inc()` depends on a
 spec file given at creation of the object.
 {{{#!python
 # create a counter object
 self.counter = Counter(SPECFILE_LOCATION)
 # increment a counter
 self.counter.inc('zones', zone_name, 'xfrreqdone')
 }}}
 I've pushed new codes to support the above. They are ready for reviewing.
 The branches are trac2225_statistics(0c8094b) and
 trac2225_xfrout(01c389a). trac2225_statistics is for the statistics
 library and trac2225_xfrout is for its implementation into xfrout.
 trac2225_xfrout depends on trac2225_statistics.

 Regards,

-- 
Ticket URL: <http://bind10.isc.org/ticket/2225#comment:26>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list