DropWizard.io netuitive
reporter for sending metrics to Netuitive's Linux agent.
Go here and click "Set Me Up!" w/help getting the repository setup.
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-netuitive</artifactId>
<version>1.0.0</version>
<type>pom</type>
</dependency>
metrics:
frequency: 1 minute
reporters:
- type: netuitive
host: localhost
port: 8125
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 |
- Docker version 1.10.3, build 20f81dd
- docker-compose version 1.6.2, build 4d72027
- VirtualBox Version 5.0.16 r105871
- 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
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