Primeval Metrics wraps Dropwizard Metrics into an OSGi service.
The Aspecio module for Primeval Metrics provides an aspect to time method calls.
<groupId>io.primeval</groupId>
<artifactId>primeval-metrics</artifactId>
<version>1.0.0-SNAPSHOT</version>
Until a stable release, the snapshot version is available in the Sonatype OSS Snapshots repository.
Primeval Metrics requires Java 8 and depends on Dropwizard Metrics.
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>3.2.2</version>
</dependency>
Service Metrics
is provided.
public interface Metrics extends MetricSet {
Counter counter(String name);
Timer timer(String name);
Meter meter(String name);
}
Post a new GitHub issue or join on Gitter.
primeval-metrics was developed by Simon Chemouil.
(c) 2016-2017, Simon Chemouil, Lambdacube
primeval-metrics is part of the Primeval project.