Commit b1bc8c50 authored by Kazunori Fujiwara's avatar Kazunori Fujiwara
Browse files

wrote very limited memo

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 75d25449
statsd TODO.
- read configuration from cfgd.
- how to publish statistics data
- need to be controled by BoB
= statsd Overview =
statsd gathers statistics from each BIND 10 components and dump them into a file periodically.
Currently, file path, dump frequency, rotate generations are fixed.
statsd dumps to "/tmp/stats" every 10 seconds except no statistics received.
"/tmp/stats" are preserved 100 generations.
= statistics channel Message format =
The statsd accepts python dictionary format data from msgq "statistics" channel.
The data need to contain "components", "version", "timestamp", "stats" keys.
The statistics data is { "component" : "<component_name>", "version": "<version number>", "timestamp": "<unixtime>", "stats": <python dictionary format statistics>}. "stats" data may be nested.
"stats" data is defined by each component.
Each component may send statistics data to "statistics" group periodically without joining the group.
See a example component: "stats/test/".
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment