Commit graph

9 commits

Author SHA1 Message Date
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
cf16f54193 Don't export S.R.Snap.monitor 2013-11-21 21:46:34 +01:00
Johan Tibell
c66c4c97ab Whitespace only 2013-11-05 21:07:14 +01:00
Johan Tibell
bc8955aa30 Move parseHttpAccept to Snap module 2013-11-05 20:52:45 +01:00
Simon Meier
b09050fa6c Factor out and polish counter, gauge, and label serving.
Handlers are no longer triggered by a prefix of their path.
2013-04-10 08:54:14 +02:00
Johan Tibell
cd08cac490 Whitespace only 2013-02-22 09:45:19 -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
Johan Tibell
60e28182e9 Move documentation of user-defined counters
It was mistakenly moved to an internal module as part of a refactoring.
2013-02-20 08:23:50 -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