Metrics Reporting Provider for instrumentalapp.com

A reporter for Metrics which announces measurements to Instrumentalapp.

License

License

Categories

Categories

Metrics Application Testing & Monitoring Monitoring
GroupId

GroupId

com.e-gineering
ArtifactId

ArtifactId

metrics-instrumental
Last Version

Last Version

3.1.0.1
Release Date

Release Date

Type

Type

bundle
Description

Description

Metrics Reporting Provider for instrumentalapp.com
A reporter for Metrics which announces measurements to Instrumentalapp.
Project URL

Project URL

https://github.com/egineering-llc/metrics-instrumental
Project Organization

Project Organization

E-Gineering, LLC.
Source Code Management

Source Code Management

https://github.com/egineering-llc/metrics-instrumental

Download metrics-instrumental

Dependencies

compile (1)

Group / Artifact Type Version
io.dropwizard.metrics : metrics-core jar 3.1.0

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.assertj : assertj-core jar 1.6.1
org.mockito : mockito-all jar 1.9.5

Project Modules

There are no modules declared in this project.

metrics-instrumental Build Status

This is a reporter for the Dropwizard Metrics library which publishes metrics to Instrumental, a cloud-based metrics tool.

Example Usage

If you're using maven, add the following dependency

<dependency>
  <groupId>com.e-gineering</groupId>
  <artifactId>metrics-instrumental</artifactId>
  <version>3.1.0.1</version>
</dependency>

Then, somewhere in your code, create an Instrumental instance with your api key, and start a reporter.

Instrumental instrumental = new Instrumental("your_api_key");
instrumental.notice("Starting up...");
InstrumentalReporter instrumentalReporter = InstrumentalReporter.forRegistry(registry)
                                                                .convertRatesTo(TimeUnit.SECONDS)
                                                                .convertDurationsTo(TimeUnit.MILLISECONDS)
                                                                .build(instrumental);
reporter.start(5, TimeUnit.SECONDS);
com.e-gineering

E-gineering, LLC

Versions

Version
3.1.0.1
3.1.0