Commit graph

203 commits

Author SHA1 Message Date
Yann Esposito
87d45eae67 stack support 2015-11-25 10:05:29 +01:00
Johan Tibell
04db4d8f14 Try Travis config with caching 2015-08-25 09:30:03 +02:00
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
Johan Tibell
da6143339e Bump version number to 0.4.0.8 2015-07-31 15:35:55 +01:00
Johan Tibell
3889e2a1a0 Move the JSON encoding into a separate ekg-json package 2015-07-31 15:34:43 +01:00
Johan Tibell
9fa806dfb6 Bump version number to 0.4.0.7 2015-07-07 20:44:05 +02:00
Johan Tibell
3b511f82f2 Merge pull request #43 from bitemyapp/master
Seems to work fine with newer Aeson
2015-07-03 16:04:06 +02:00
Chris Allen
fb43079de5 Seems to work fine with newer Aeson, bumped GHC versions and Cabal version. 2015-06-29 13:03:58 -05:00
Johan Tibell
f11d9311f4 Fix erroneous count in docs
Fixes #34.
2015-05-08 06:27:09 +02:00
Johan Tibell
19f1a1c824 Bump version number to 0.4.0.6 2015-05-08 06:13:07 +02:00
Johan Tibell
86febd09a7 Re-raise exceptions in the main thread 2015-05-08 06:10:08 +02:00
Johan Tibell
917ddbbd50 Support filepath-1.4
Fixes #37.
2015-04-14 08:36:41 +02:00
Jan-Philip Loos
605f4d4bb3 wrapped forkIO with Network.Socket.withSocketsDo
see: tibbe/ekg#12
tested with windows32
2015-02-12 07:33:29 +01:00
Johan Tibell
95018646f4 Allow for base-4.8 and time-1.5.
Fixes #35.
2015-02-06 23:13:26 +01:00
Johan Tibell
69ce6c83e8 Bump version number to 0.4.0.5 2014-11-30 09:25:20 +01:00
Daniel Díaz
6dd98b800a Updated network dependency. 2014-10-21 12:28:23 -04:00
Johan Tibell
02c4ccf80a Add note on example code to release notes 2014-10-20 10:21:40 +02:00
Johan Tibell
e90e3e32d2 Bump version number to 0.4.0.4 2014-10-20 10:20:41 +02:00
Johan Tibell
4eca4f008b forkServerWith shouldn't register GC metrics
Fixes #32.
2014-10-20 10:18:37 +02:00
Johan Tibell
f52b86db59 Update Travis config to match upstream 2014-10-15 10:02:41 +02:00
Johan Tibell
027d38b2c2 Fix Basic example to compile after the package split
Fixes #31.
2014-10-15 09:09:35 +02:00
Johan Tibell
712208e5bf Bump version number to 0.4.0.3 2014-09-30 12:09:24 +02:00
Johan Tibell
a539c7bc4f Put an upper bound on base 2014-09-30 12:09:08 +02:00
Adam Bergmark
a0d531c0d4 Allow text 1.2
Builds fine!
2014-09-30 11:19:40 +02:00
Johan Tibell
a19907393e Bump version number to 0.4.0.2 2014-08-19 08:40:30 +02:00
Johan Tibell
53fb05ff13 Update changelog for 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
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
9a6e426075 Update changelog 2014-05-01 13:13:56 +02:00
Johan Tibell
c8831e5a23 Small documentation clarifications 2014-04-30 22:34:55 +02:00
Johan Tibell
b02310ea1e Try to link to ekg-core instead of re-exports in docs 2014-04-30 22:24:44 +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
340fe7005d Add deprecation notice to metrics modules
Users should import these modules from the ekg-core package instead.
2014-04-30 22:12:47 +02:00
Johan Tibell
15ae7a4805 Bump network dependency to include 2.5 2014-04-27 23:24:54 +02:00
Johan Tibell
6418f45ab0 Some haddock improvements 2014-04-24 15:20:44 +02:00
Johan Tibell
f8d7f01ce7 Only expose Distribution write API
This is consistent with other metrics.
2014-04-21 22:33:07 +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
404c891610 Follow Int to Int64 changes in ekg-core 2014-04-21 11:42:14 +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
52bc89f474 Fix memory leak in new counter implementation
Since we're allocating memory for use outside Haskell, we're
responsible for freeing it. Switched to ForeignPtr to automate this.
2014-04-10 15:21:07 +02:00
Johan Tibell
308768c5b1 Use GCC builtins instead of inline asm 2014-04-10 15:16:38 +02:00
Johan Tibell
8ce7d7ea47 Add GHC 7.8.1 to travis-ci config 2014-04-10 08:02:11 +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