Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Latest commit

 

History

History
67 lines (35 loc) · 1.49 KB

README.md

File metadata and controls

67 lines (35 loc) · 1.49 KB

primeval-metrics Build Status Gitter primeval-io/Lobby

Primeval Metrics wraps Dropwizard Metrics into an OSGi service.

The Aspecio module for Primeval Metrics provides an aspect to time method calls.

Maven coordinates

	<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.

Dependencies

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>

OSGi Services

Service Metrics is provided.

public interface Metrics extends MetricSet {

    Counter counter(String name);

    Timer timer(String name);

    Meter meter(String name);

}

Getting help

Post a new GitHub issue or join on Gitter.

Author

primeval-metrics was developed by Simon Chemouil.

Copyright

(c) 2016-2017, Simon Chemouil, Lambdacube

primeval-metrics is part of the Primeval project.