-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.conf
30 lines (26 loc) · 1.33 KB
/
test.conf
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
27
28
29
30
{
m_server => 'mysql://user:pass@srv',
m_database => 'esv',
# don't use http auth on influx server, use firewalling instead.
hf_server => 'http://tsdbtest.contoso.local:8086',
hf_database => 'esv_test',
### THIS FOR TESTING ###
test_select_groups => {
0 => { fieldspec => 'dest, met1, met2, met3',
measpec => 'test',
},
1 => { fieldspec => 'dest, dest_spec, met1, met2, met3, max, min',
measpec => 'test',
},
},
test_metrics => {
'test1.met1' => { measurement=>'test', tags=>{dest=>'test1'}, field=>'met1', group=>0, format=>2 },
'test1.met2' => { measurement=>'test', tags=>{dest=>'test1'}, field=>'met2', group=>0, format=>2 },
'test1.met3' => { measurement=>'test', tags=>{dest=>'test1'}, field=>'met3', group=>0, format=>2 },
'test2.met1' => { measurement=>'test', tags=>{dest=>'test2', dest_spec=>'test1'}, field=>'met1', group=>1, format=>2 },
'test2.met2' => { measurement=>'test', tags=>{dest=>'test2', dest_spec=>'test2'}, field=>'met2', group=>1, format=>2 },
'test2.met3' => { measurement=>'test', tags=>{dest=>'test2'}, field=>'met3', group=>1, format=>2 },
'test2.met4.max' => { measurement=>'test', tags=>{dest=>'test2'}, field=>'max', group=>1, format=>1 },
'test2.met5.min' => { measurement=>'test', tags=>{dest=>'test2'}, field=>'min', group=>1, format=>1 },
},
}