Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phaneesh/riemann-bundle

Dropwizard Riemann bundle which simplifies dropwizard metrics integration into Riemann
https://github.com/phaneesh/riemann-bundle

Last synced: about 2 months ago
JSON representation

Dropwizard Riemann bundle which simplifies dropwizard metrics integration into Riemann

Awesome Lists containing this project

README

        

# Dropwizard Riemann Bundle [![Travis build status](https://travis-ci.org/phaneesh/riemann-bundle.svg?branch=master)](https://travis-ci.org/phaneesh/riemann-bundle)

This bundle simplifies integrating dropwizard metrics with [Riemann](http://riemann.io/).
This bundle compiles only on Java 8.

## Dependencies
* [metrics3-riemann-reporter](https://github.com/riemann/riemann-java-client/tree/master/metrics3-riemann-reporter) 0.5.1

## Usage
The bundle integrates dropwizard metrics with [Riemann](http://riemann.io/) with a simple configuration.

### Build instructions
- Clone the source:

git clone github.com/phaneesh/riemann-bundle

- Build

mvn install

### Maven Dependency
Use the following repository:
```xml

clojars
Clojars repository
https://clojars.org/repo

```
Use the following maven dependency:
```xml

io.raven.dropwizard
dropwizard-riemann
2.0.21-1

```

### Using Riemann bundle

#### Bootstrap
```java
@Override
public void initialize(Bootstrap> bootstrap) {
bootstrap.addBundle(new RiemannBundle() {

@Override
public RiemannConfig getRiemannConfiguration(Configuration configuration) {
...
}
});
}
```

### Configuration
```
riemann:
host: my.riemann.host
port: 5556
prefix: mycompany.myenvironment.myservice
pollingInterval: 60
tags:
- mytag1
- mytag2
- mytag3
```

LICENSE
-------

Copyright 2016 Phaneesh Nagaraja .

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.