Skip to content

Dropwizard Riemann bundle which simplifies dropwizard metrics integration into Riemann

Notifications You must be signed in to change notification settings

phaneesh/riemann-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dropwizard Riemann Bundle Travis build status

This bundle simplifies integrating dropwizard metrics with Riemann. This bundle compiles only on Java 8.

Dependencies

Usage

The bundle integrates dropwizard metrics with Riemann 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:

<repository>
    <id>clojars</id>
    <name>Clojars repository</name>
    <url>https://clojars.org/repo</url>
</repository>

Use the following maven dependency:

<dependency>
    <groupId>io.raven.dropwizard</groupId>
    <artifactId>dropwizard-riemann</artifactId>
    <version>2.0.21-1</version>
</dependency>

Using Riemann bundle

Bootstrap

    @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 phaneesh.n@gmail.com.

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.

About

Dropwizard Riemann bundle which simplifies dropwizard metrics integration into Riemann

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages