Commit graph

64 commits

Author SHA1 Message Date
Johan Tibell
a19907393e Bump version number to 0.4.0.2 2014-08-19 08:40:30 +02:00
Johan Tibell
181eb6174a Allow aeson 0.8
Fixes #28.
2014-08-19 08:40:18 +02:00
Johan Tibell
d507ffc901 Merge branch 'master' of https://github.com/trofi/ekg 2014-07-22 08:42:57 +02:00
Iustin Pop
5a70de4b0b Also distribute bootstrap non-minified in archives
Commit 6ae685e added the non-minified bootstrap source to the
repository, but it's still not distributed in the generated archive;
which means that for Debian, issue #20 is not quite closed yet.
2014-07-21 06:39:40 +02:00
Sergei Trofimovich
2184a1b2d6 ekg.cabal: allow transformers-0.4
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2014-07-19 00:43:53 +03:00
Johan Tibell
93d2f7198f Bump version number to 0.4.0.1 2014-07-12 12:35:39 +02:00
Johan Tibell
3897d1485c Don't re-export Distribution as a new module
We want to encourage users to use the ekg-core package instead.
2014-04-30 22:17:02 +02:00
Johan Tibell
15ae7a4805 Bump network dependency to include 2.5 2014-04-27 23:24:54 +02:00
Johan Tibell
88996a4157 Move benchmark to ekg-core 2014-04-21 16:42:14 +02: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
64e6ba1259 Improve scalability of counters a lot
Counters now scale orders of magnitudes better as the number of
writers to the same counter increases. Here's the results on our
current benchmark on a 6 core machine:

        cores
            1       6
before  1.87s  81.09s
after   0.11s   0.32s

Note how the very heavy contention gives a slowdown rather than a
speedup as the number of cores increases, but the new implementation
slows down much less than the old one and is also generally faster.
2014-04-08 17:25:58 +02:00
Johan Tibell
7f11142c89 Add a benchmark
The benchmark tests a single heavily contended counter.
2014-04-08 16:01:28 +02:00
Johan Tibell
61228d0ac2 Add CHANGE.md to Cabal file 2014-03-05 21:36:22 +01:00
Edward Kmett
66bb19409a Dependency bump to work with current aeson and text 2014-01-29 03:43:01 -05:00
Johan Tibell
d5b4de2923 Whitespace-only in .cabal 2013-11-21 20:34:33 +01:00
Johan Tibell
9f930bed32 Bump version number to 0.3.1.3 2013-02-22 09:51:00 -08:00
Johan Tibell
050c472410 Correctly bind the server to the right host name
This allows you to e.g. only listen for connections to localhost. This
fixes #11.
2013-02-21 16:50:42 -08:00
Conrad Parker
1bf10844ce Split out Common and Snap modules
Move the Snap-specific code to a single module, to allow backends
using other webservers.
2013-01-03 17:17:10 +08:00
Johan Tibell
8884284701 Bump version number to 0.3.1.2 2012-09-18 22:56:12 +02:00
Johan Tibell
65adb902ed Bump version number to 0.3.1.1 2012-06-25 07:56:21 -07:00
Bas van Dijk
63a9a79816 Bump dependency on snap 2012-06-18 17:14:11 +02:00
Johan Tibell
33b9e8b51a Bump dependency on containers 2012-05-05 08:26:59 -07:00
Johan Tibell
1ee934d162 Add examples to sdist tarball 2012-04-17 19:11:23 -07:00
Johan Tibell
7a59122d32 Bump version number to v0.3.1.0 2012-04-17 18:59:22 -07:00
Iustin Pop
42357a50ea Add a Label metric type
This is used to hold Text values, which are free-form and can be used
for (e.g.) hostname, command line, etc.

I've used Text, but I'm not sure whether String would make more sense
for (what are supposed to be) such small values.
2012-04-17 22:21:30 +02:00
Johan Tibell
9a48304a96 Bump version number to 0.3.0.5 2012-04-14 19:01:25 -07: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
77fd0d2e2a Include all license and readme files in the dist tarball 2012-04-04 18:21:27 -07:00
Johan Tibell
1e66ed5ad0 Bump version number to 0.3.0.4 2012-04-03 18:29:32 -07:00
Johan Tibell
c9ad661d7c Change icons to Creative Commons Attribution 3.0 licensed ones 2012-04-03 18:27:06 -07:00
Johan Tibell
a3af8249c8 Bump dependency on transformers 2012-03-22 20:49:07 -07:00
Johan Tibell
56b85922b4 Bump version number to 0.3.0.3 2012-03-19 14:42:10 -07:00
Johan Tibell
36b76e7346 Support Snap 0.8 2012-03-19 14:41:42 -07:00
Johan Tibell
2085e3a110 Bump version number to 0.3.0.2 2012-03-07 08:56:55 -08:00
Johan Tibell
d7a3c8882b Bump dependency on unordered-containers 2012-03-07 08:53:24 -08:00
Johan Tibell
b2d9947f4b Bump dependency on aeson 2012-01-26 17:55:50 -08: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
c58a824367 Add image to data-files 2012-01-01 17:46:14 -08:00
Johan Tibell
3f26e64280 Actual return the server time in the REST API 2011-12-31 18:10:36 -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
602b6c6353 The example is not a data file 2011-12-30 18:44:17 -08:00
Johan Tibell
3bd23bd43d Add close icon 2011-12-30 18:43:30 -08:00
Johan Tibell
6bf34dc97e Add a type for gauges 2011-12-30 10:26:11 -08:00
Johan Tibell
3304f92821 Allow REST style lookup of single counters 2011-12-29 17:02:01 -08:00
Johan Tibell
5b0decad84 Renamed public/ to assets/ 2011-12-29 14:21:58 -08:00