User Tools

Site Tools


This is an old revision of the document!



The Metrics library is used to get an insight view into the running server.

Adding additional metrics

To add additional metrics a MetricRegistry is needed. It can be obtained during the bootstrap phase.

public void initialize(Bootstrap<PostalCodeConfiguration> bootstrap) {
    metricRegistry = bootstrap.getMetricRegistry();

dropwizard.1405506187.txt.gz · Last modified: 2014/07/16 10:23 by mihael