GithubHelp home page GithubHelp logo

bspindler / dropwizard-metrics-netuitive Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 40 KB

library for adding a 'netuitive' reporter type to dropwizard.

License: Apache License 2.0

Java 99.03% Shell 0.97%

dropwizard-metrics-netuitive's Introduction

DropWizard.io netuitive reporter for sending metrics to Netuitive's Linux agent.

add bintray repository

Go here and click "Set Me Up!" w/help getting the repository setup.

add dropwizard-metrics-netuitive to your pom

<dependency>
  <groupId>io.dropwizard.metrics</groupId>
  <artifactId>metrics-netuitive</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>

add to your dropwizard.io config.yml

metrics:
  frequency: 1 minute
  reporters:
      - type: netuitive
        host: localhost
        port: 8125

Testing w/Docker stack

dir purpose
src/test/docker root directory for this test suite
src/test/docker/docker-dropwizard-example dropwizard example application for testing
src/test/docker/docker-compose.yml docker-compose file used to define and launch test environment

runtime environment used for testing

  • Docker version 1.10.3, build 20f81dd
  • docker-compose version 1.6.2, build 4d72027
  • VirtualBox Version 5.0.16 r105871

Docker stack defines two containers:

  • dropwizard:
    • example dropwizard app w/dropwizard-metrics-netuitive reporter (requires local maven install to work)
    • updated config.yml file to enable netuitive reporter
  • netuitive-agent
    • linux agent to ship data to netuitive
    • note: some environment variables need to be updated to configure the agent

Alt

Running the tests

cd src/test/docker;

This directory contains a docker-compose.yml file which contains a test stack definition for testing. In that directory run:

docker-compose up -d 

Now run your tests

./run_tests.sh

Now shut down stack

docker-compose stop

dropwizard-metrics-netuitive's People

Contributors

bspindler avatar

Watchers

 avatar James Cloos avatar

dropwizard-metrics-netuitive's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.