Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time

build test deploy 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();