Fetching contributors…
Cannot retrieve contributors at this time
62 lines (51 sloc) 2.32 KB

Build Status Maven Central


Provides Dropwizard Metrics integration module for Bootique. See usage example bootique-metrics-demo.

Quick Start:

Add the Metrics module to your Bootique app:


Inject MetricRegistry anywhere in your code where you need to create Meters, Gauges, Counters, Histograms, Timers, etc. E.g.:

public MyObject(MetricRegistry metrics) {
	this.timer = metrics.timer(, "work-timer"));
public void doWork() {
	Timer.Context context = this.timer.time();
	try {
		// do work
	} finally {
		long timeNanos = context.stop();