This repository has been archived by the owner on Mar 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
README
94 lines (67 loc) · 2.13 KB
/
README
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Briar Patch
-----------
Metrics, alerts and events framework
Using ZeroMQ on the inside, Briar Patch will be a way to allow multiple
incoming data streams all be handled/filtered/massaged and then consumed
by various workers as needed.
Yea, I don't know what it will be quite yet either...
Installation
------------
Briar-Patch is two distinct parts: the buildduty/kitten managment piece and
the metrics piece. Pick what piece you are working with and follow those
instructions below.
My primary dev environment is OS X, so I use Brew almost exclusively, so all
of the install notes below reference Brew.
Brew can be found at http://mxcl.github.com/homebrew/
Except for Python, which I kept at v2.7, everything else is as fresh as you
can stand.
For the buildduty part, you need to install:
pip install ssh
pip install boto
pip install requests
pip install dnspython
git clone git://github.com/andymccurdy/redis-py.git
cd redis-py
python setup.py install
cd ..
For the metrics part, you need:
Note: pyzmq will need the python development libraries loaded, gcc build environment
and zeromq source tarball. This needs to be build and installed before installing
pyzmq
pip install requests
pip install dnspython
pip install pyzmq
git clone git://github.com/andymccurdy/redis-py.git
cd redis-py
python setup.py install
cd ..
hg clone http://hg.mozilla.org/users/clegnitto_mozilla.com/mozillapulse
cd mozillapulse
python setup.py install
cd ..
Dependencies
------------
Redis
https://github.com/andymccurdy/redis-py
git://github.com/andymccurdy/redis-py.git
Mozilla Pulse
http://hg.mozilla.org/users/clegnitto_mozilla.com/mozillapulse/
ZeroMQ
http://github.com/zeromq/
http://download.zeromq.org/zeromq-2.2.0.tar.gz
releng
internal RelEng lib (currently no home)
ssh
https://github.com/bitprophet/ssh
pip install ssh
pyzmq
https://github.com/zeromq/pyzmq
pip install pyzmq
requests
https://github.com/kennethreitz/requests
pip install requests
dnspython
http://www.dnspython.org/
pip install dnspython
sqlalchemy
mysql-python