Chapter 2.2 : Statistics config



The daemon which manages statitics can be defined with statistics section :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[statistics]
stat_daemon_name = "StatManager"

[[daemon]]
name = "StatManager"
description = "One daemon of the swarm with statistics"
log_file = "daemon_test.log"
log_level = "DEBUG"
hostname = "localhost"
receiving_port = 3390
stat_nb_bin = 50
stat_hist_lower_bound = 0.0
stat_hist_upper_bound = 100.0
daemon_required_response_timeout = 1000

[[daemon]]
name = "Daemon1"
description = "One daemon of the swarm with statistics"
log_file = "daemon1_test.log"
log_level = "DEBUG"
hostname = "localhost"
receiving_port = 3391
stat_nb_bin = 50
stat_hist_lower_bound = 0.0
stat_hist_upper_bound = 100.0
daemon_required_response_timeout = 1000