[bind10-dev] Question about statistics incremental update
Michal 'vorner' Vaner
michal.vaner at nic.cz
Wed Oct 10 07:17:21 UTC 2012
Hello
On Wed, Oct 10, 2012 at 03:31:32PM +0900, Naoki Kambe wrote:
> For example, it might be used in a spec file of auth as the following:
> ...
> {
> "item_name": "queries.udp",
> "item_type": "counter",
> "item_optional": false,
> "item_default": 0,
> "item_title": "Queries UDP",
> "item_description": "A number of incremental query counts
> which an auth server has received over UDP since it sent to
> the stats daemon"
> },
> ...
>
> "counter" type might be treated as a non-negative integer in BIND 10.
> Any values of this type might be summable even if multiple instances
> of a same module which has a item of that type send different values.
It might be an elegant solution, but we should be careful there:
• How does the „counter“ type work outside of statisticts?
• Also, the change to do this would be quite deep, it would go down to our JSON
validator, which is complex and implemented twice, once in Python, once in
C++.
So, I don't know about this one.
With regards
--
You can fool some of the people all of the time,
and all of the people some of the time,
but you can make a fool of yourself anytime.
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20121010/97362972/attachment.bin>
More information about the bind10-dev
mailing list