Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 548 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 548 Bytes

Metrics Utilities

Metrics Utilities provides a Scala wrapper around dropwizard.io/metrics using InfluxDB as a data store. It is designed to help you use Metrics throughout your system easily by having a single Scala Object as an interface.

Usage

MetricsUtil.enableInfluxDbReporting("influxdb", "database", "username", "password")

MetricsUtil.getTimer("MetricName1", TimeUnit.MILLISECONDS, TimeUnit.MINUTES)
MetricsUtil.getCounter("MetricName2")
MetricsUtil.getHistogram("MetricName3")