Skip to content

An adapter such that the metrics from Ebean can be supplied and reported via Avaje metrics

License

Notifications You must be signed in to change notification settings

ebean-orm/ebean-avaje-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ebean-avaje-metrics

An adapter such that the metrics from Ebean can be supplied and reported via Avaje metrics

Example use

Database db = DB.getDefault();
MetricManager.addSupplier(new DbMetricSupplier(db));

Example - register multiple databases

Database db1 = DB.getDefault();
Database db2 = DB.byName("central");

// metric names prefixed with "db"
MetricManager.addSupplier(new DbMetricSupplier(db1));

// metric names prefixed with "centraldb"
MetricManager.addSupplier(new DbMetricSupplier(db2, "centraldb"));

About

An adapter such that the metrics from Ebean can be supplied and reported via Avaje metrics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages