-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
134 lines (93 loc) · 4.12 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
README file for the Application Heartbeats Project (Heartbeats)
-----------------------------------------------------------------
Heartbeats official website:
http://groups.csail.mit.edu/carbon/heartbeats/
The latest release of Heartbeats is always available in two
alternative formats from:
heartbeatsapi-VX.Y.tar.gz
heartbeatsapi-VX.Y.zip
You can download the latest release of Heartbeats from:
http://code.google.com/p/heartbeats/downloads/list
There is a google group for discussion about the development of
Heartbeats at
http://groups.google.com/group/heartbeatsapi
Please read the NEWS file if you are upgrading from a previous release.
Please read the TODO file if you are interested in being informed on the
ongoing works. You can also find a list of issues at:
http://code.google.com/p/heartbeats/issues/list
The contents of this README file are:
Project Description
Getting Started
Directory Organization
Documentation for Heartbeats
Environment Variables for Heartbeats
Testing Heartbeats
Team Members
Project Description
---------------------------------------
The Application Heartbeats framework provides a simple, standardized way for
applications to monitor their performance and make that information available
to external observers. The framework allows programmers to express their
applicationÕs goals and the progress that it is making using a simple API.
This progress can then be observed by either the application itself or an
external system (such as the OS or another application) so that the application
or system can be adapted to make sure the goals are met.
Getting Started
---------------------------------------
1. You can download the latest release of Heartbeats from:
http://code.google.com/p/heartbeats/downloads/list
2. Once you have downloaded your copy of the Heartbeats framework you just have to
unzip it:
unzip heartbeatsapi-VX.Y.zip
or:
tar -xzvf heartbeatsapi-VX.Y.tar.gz
3. At this point you are ready to start to use the Heartbeats framework. You can:
3.1 Take a look to the documentation (see "Documentation for Heartbeats")
3.2 Familiarize yourself with the Heartbeats API using our examples (see "Testing
Heartbeats")
3.3 Start to use the Application Heartbeats into your own applications
3.4 Get in touch with us and let us know your feedbacks, criticisms, suggestions
(send us an email or join our Heartbeats google group at:
http://groups.google.com/group/heartbeatsapi)
Directory Organization
---------------------------------------
/
|-doc/ -- Documentation
|-html -- Documentation in HTML format
|-latex -- Documentation in latex format
|-src/ -- Source files
|-inc/ -- Header files
Documentation for Heartbeats
---------------------------------------
The documentation for the Heartbeats framework has been created with
Doxygen. You can find both an HTML and Latex version of the
documentation in the latest release of the Heartbeats framework. If,
for any reasons, you need to recreate the documentation by yourself,
you just have to use the following command (use it from the root
directory of the Heartbeats framework):
doxygen heartbeats_doc
Environment Variables for Heartbeats
------------------------------------
In the Heartbeats framework, Heartbeat-enabled applications signal
their presence to the rest of the world by writing a file to a special
directory. Currently, this directory is specified by an environment
variable: HEARTBEAT_ENABLED_DIR. Before running the tests, users
should define this variable to point to a directory in which they have
read and write permissions.
Testing Heartbeats
---------------------------------------
The latest release of the Heartbeats framework comes with a set of
available tests that can be used to familiarize yourself with this
API. You can run one of our two examples, using the following command
(use it from the root directory of the Heartbeats framework):
make bench-tp
to use the throughput example, or
make bench-lat
to use the latency example
Team Members
---------------------------------------
Henry Hoffmann
Jonathan Eastep
Marco D. Santambrogio
Jason E. Miller
Anant Agarwal