annotate service/collector/sse_collector_config.py @ 1419:24e29a15617c

partial style redo. standardize ns setup Ignore-this: 4b8bb9ecc023b9e42f301241fe1819cc darcs-hash:10803752665928343398b6845fdcfd3e3b33fb97
author drewp <drewp@bigasterisk.com>
date Sun, 04 Aug 2019 12:57:03 -0700
parents 572c2889d02e
children 5be5452491a3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1244
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
1 config = {
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
2 'streams': [
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
3 {'id': 'home',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
4 'sources': [
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
5 # should be from :reasoning :source ?s
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
6 'http://garage.vpn-home:9059/graph/events', # "garage pi"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7 'http://kitchen.vpn-home:9059/graph/events', # "kitchen pi"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
8 'http://living.vpn-home:9059/graph/events', # "living room pi"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
9 'http://bang:9059/graph/events', # "bang arduino"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
10 'http://bed.vpn-home:9059/graph/events', # "bed pi"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
11 'http://changing.vpn-home:9059/graph/events', # "changing pi"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
12 'http://frontbed.vpn-home:9059/graph/events', # "frontbed pi"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
13 'http://workshop.vpn-home:9059/graph/events',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
14 'http://bang:9075/graph/events', # "env"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
15 'http://bang:9070/graph/events', # "wifi usage"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
16 #'http://bang:9099/graph/events', # "trails" (big!)
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
17 'http://dash:9095/graph/events', # "dash monitor"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
18 'http://dash:9107/graph/events', # "dash x idle"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
19 #'http://slash:9095/graph/events', # "slash monitor"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
20 #'http://slash:9107/graph/events', # "slash x idle"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
21 'http://frontdoor.vpn-home:9059/graph/events', # frontdoor pi
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
22 'http://frontdoor.vpn-home:9095/graph/events', # "frontdoor monitor"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
23 'http://frontdoor.vpn-home:9107/graph/events', # "frontdoor x idle"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
24 'http://frontdoor.vpn-home:10012/graph/events', # "frontdoor rfid"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
25 'http://frontdoor.vpn-home:10013/graph/events', # "frontdoor tiny screen"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
26 'http://bang:10011/graph/events', # "frontdoor lock"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
27 'http://bang:10008/graph/events', # kitchen H801
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
28 'http://bang:10015/graph/events', # store
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
29 ]},
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
30 {'id': 'frontDoor',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
31 'sources': [
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
32 'http://garage.vpn-home:9059/graph/events',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
33 'http://kitchen.vpn-home:9059/graph/events',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
34 'http://living.vpn-home:9059/graph/events',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
35 'http://workshop.vpn-home:9059/graph/events',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
36 'http://bang.vpn-home:9105/graph/events', # calendar
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
37 'http://bang.vpn-home:9059/graph/events', # "bang arduino"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
38 'http://frontbed.vpn-home:9059/graph/events',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
39 'http://bang:10015/graph/events', # store
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
40 ]},
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
41 {'id': 'network',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
42 'sources': [
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
43 'http://bang:9070/graph/events', # "wifi usage"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
44 'http://bang:9073/graph/events', # "dhcpd"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
45 ]},
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
46 {'id': 'source_frontDoor',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
47 'sources': [
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
48 'http://frontdoor.vpn-home:9059/graph/events', # frontdoor pi
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
49 'http://frontdoor.vpn-home:9095/graph/events', # "frontdoor monitor"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
50 'http://frontdoor.vpn-home:9107/graph/events', # "frontdoor x idle"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
51 'http://frontdoor.vpn-home:10012/graph/events', # "frontdoor rfid"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
52 'http://frontdoor.vpn-home:10013/graph/events', # "frontdoor tiny screen"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
53 'http://bang:10011/graph/events', # "frontdoor lock"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
54 ]},
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
55 {'id': 'env',
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
56 'sources': [
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
57 'http://bang:9075/graph/events', # "env"
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
58 ]},
1274
572c2889d02e another little test graph for collector
drewp <drewp@bigasterisk.com>
parents: 1244
diff changeset
59 {'id': 'workshop',
572c2889d02e another little test graph for collector
drewp <drewp@bigasterisk.com>
parents: 1244
diff changeset
60 'sources': [
572c2889d02e another little test graph for collector
drewp <drewp@bigasterisk.com>
parents: 1244
diff changeset
61 'http://workshop.vpn-home:9059/graph/events',
572c2889d02e another little test graph for collector
drewp <drewp@bigasterisk.com>
parents: 1244
diff changeset
62 ]},
572c2889d02e another little test graph for collector
drewp <drewp@bigasterisk.com>
parents: 1244
diff changeset
63
1244
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
64 ]
cda481e4b77b add collector config
drewp <drewp@bigasterisk.com>
parents:
diff changeset
65 }