Commit graph

4 commits

Author SHA1 Message Date
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
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
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
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