trapperkeeper-metrics

Build Status

Clojars Project

trapperkeeper-metrics is a library intended to help make it easier to track metrics in other Trapperkeeper applications. It includes:

  • a TK service that manages the life cycle of your metrics registry
  • config-driven control of metrics and metrics reporting
  • other miscellaneous utility functions for working with metrics

For more detailed information (what this library does and doesn't do, more detailed tips on how to write code against it, future plans, etc.), check out the documentation.

HTTP Metrics with comidi

To get the most value out of this library, use it in concert with comidi and trapperkeeper-comidi-metrics (to take advantage of the built-in HTTP metrics; see the trapperkeeper-comidi-metrics docs) and the Trapperkeeper Status Service (to expose the most useful metrics data from your app via HTTP).

The trapperkeeper-comidi-metrics repo contains a working example app that illustrates how to tie everything together.