Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2018
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 :
7 : #pragma once
8 :
9 : #include <wfc/statistics/stat_options.hpp>
10 :
11 : namespace wfc{ namespace core{
12 :
13 0 : struct statistics_config:
14 : wrtstat::wrtstat_options
15 : {
16 : // куда отправить агррегированые данные
17 : // std::string target;
18 : // куда отправить входящие данные без массива data
19 : std::vector< std::string > targets;
20 : size_t workers = 0;
21 : //size_t hash_size = 0;
22 : time_t aggregate_timeout_ms = 1000;
23 : time_t startup_ignore_ms = 1000;
24 : bool suspend_push = false;
25 : };
26 :
27 : }}
|