Commit graph

20 commits

Author SHA1 Message Date
Chris Wong
3db6cacf80 Make sure data are in order before displaying them
If we don't do this, the plotting library draws "backwards" lines which
looks ugly.

Closes #16
2015-08-08 14:01:04 +12:00
Oliver Charles
e2fee86469 Correct a JavaScript exception for empty distributions
If you create a distribution but don't write to it, the mean of the
distribution is NaN - which Aeson encodes as `null`. Thus we have to
make sure that when working with the mean, we check for `null`.
2014-07-12 11:02:19 +01:00
Johan Tibell
e74133eb70 Add distribution event type 2014-04-21 15:53:30 +02:00
Johan Tibell
0f8352cff3 Break out core metric tracking into a new package
The new package, ekg-core, contains the metrics store, modules for
defining metrics, and functions for sampling the metrics.

The counter naming is also changed to include a namespace part. For
example "myapp.requests".

Finally the JSON format has been changed to be more self-descriptive.
2014-04-20 10:18:13 +02:00
Iustin Pop
add31da92a Fix a few cases of wrong semicolon usage in JS
These are based on linter output, but they look sane.
2012-04-18 00:12:09 +02:00
Iustin Pop
225725d951 Show labels in the client HTML interface
Note that I'm not familiar with JavaScript, so I'm not sure whether
the changes to monitor.js are correct, please review carefully.
2012-04-17 22:45:57 +02:00
Iustin Pop
244f524bf5 Some whitespace cleanup
monitor.js had (in just a few places) tabs and whitespace-at-EOL.
2012-04-17 22:30:12 +02:00
Johan Tibell
c9ad661d7c Change icons to Creative Commons Attribution 3.0 licensed ones 2012-04-03 18:27:06 -07:00
Johan Tibell
9289ea7a7a Switch from Blueprint CSS to Bootstrap CSS 2012-01-26 11:42:20 -08:00
Johan Tibell
e2c4de92f3 Show a message box when the server can't be reached 2012-01-01 16:49:06 -08:00
Johan Tibell
f90d2172fc Comma-ify pretty printed numbers 2012-01-01 15:50:41 -08:00
Johan Tibell
ae860ea950 Use the server time in the UI 2011-12-31 18:14:25 -08:00
Johan Tibell
e59d03ff27 Show add-graph button when graph is closed 2011-12-30 19:18:30 -08:00
Johan Tibell
484c138d92 Add graph icon 2011-12-30 19:05:07 -08:00
Johan Tibell
bbd570378d JSLint police 2011-12-30 18:40:40 -08:00
Johan Tibell
06ec1da5a8 Refactor jQuery code 2011-12-30 18:03:51 -08:00
Johan Tibell
8b83c46c76 Make it possible to add graphs for user metrics 2011-12-30 15:42:26 -08:00
Johan Tibell
84b27c3d01 Reorganize jQuery code 2011-12-30 13:52:58 -08:00
Johan Tibell
3832ddfa62 Show built-in counters and gauges in the web interface
Reorganized REST API as that was required to support this feature.
2011-12-30 13:34:01 -08:00
Johan Tibell
5b0decad84 Renamed public/ to assets/ 2011-12-29 14:21:58 -08:00
Renamed from public/monitor.js (Browse further)