This is a wrapper to use the great java-library metrics
with jruby
.
To use, just add gem 'metrics-jruby'
to your Gemfile
and require 'metrics_jruby'
in your initialization.
Now you can access Java::com.codahale.metrics.MetricRegistry
or
Java::ComCodahaleMetrics::MetricRegistry
.
More documentation and examples will follow (hopefully).
More information on metrics, see http://metrics.dropwizard.io/.
If you need other packages than the core, and have a idea how to add those, please contact me via mail, gitter or create a issue.