Commit graph

32 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
Johan Tibell
6ae685e8ea Add unminified bootstrap source
Re-add the minified source as well, as there's been some tiny
modification since I last downloaded the source.

Required by e.g. Debian. Fixes #20.
2014-03-02 22:16:49 +01:00
Johan Tibell
f983211d40 Remove another mention of version in UI 2013-02-22 09:50:50 -08:00
Johan Tibell
2760182270 Remove mention of version number from the UI
It was too hard to keep in sync and didn't really serve any purpose.
2013-02-20 19:25:22 -08:00
Johan Tibell
65adb902ed Bump version number to 0.3.1.1 2012-06-25 07:56:21 -07: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
Iustin Pop
0932334436 Add original (non-minified) JS files
In order to make distribution in Debian (which doesn't regard the
minified form as the “original” source) easier, ship the non-minified
sources too. They are not installed, just included in the archive.

Additionally, add a LICENSE.javascript file to clarify the origin of
the extra files.

Signed-off-by: Iustin Pop <iusty@k1024.org>
2012-04-13 18:46:03 +02:00
Johan Tibell
c9ad661d7c Change icons to Creative Commons Attribution 3.0 licensed ones 2012-04-03 18:27:06 -07:00
Austin Seipp
d292b58aff Add local copy of JQuery 1.6.4 2012-01-26 18:34:52 -06:00
Austin Seipp
09e8feea5e Include Bootstrap CSS, so internet isn't required for a functioning UI 2012-01-26 18:22:57 -06:00
Johan Tibell
ce3af1ba7e Bump version number to 0.3.0.1
Also make HTML validate as HTML5
2012-01-26 11:58:27 -08:00
Johan Tibell
e9afa7a9b3 Remove unused assets 2012-01-26 11:46:41 -08: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
caae25c7c7 Bump version number to 0.3.0.0 2011-12-30 18:45:05 -08:00
Johan Tibell
3bd23bd43d Add close icon 2011-12-30 18:43:30 -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
3a1ac0f2ae Add table column headers 2011-12-30 12:11:23 -08:00
Johan Tibell
5b0decad84 Renamed public/ to assets/ 2011-12-29 14:21:58 -08:00