This is a simple example application using the Instrumental reporter for Dropwizard.
After checking out this repo:
-
Change the API key to your Instrumental project key
-
Build with
mvn clean dependency:copy-dependencies package
-
Run
java -cp target/egineering_dropwizard_client-1.0-SNAPSHOT.jar:target/dependency/* com.instrumental_java_client_test.expectedbehavior.app.App
Remember to re-run the maven command if you edit the project.
The example sends metric directly to Instrumental and also through a registry. You can view all metrics sent to Instrumental from this example by making a graph with the query instrumental.java.*
If you need more help or examples, contact support@instrumentalapp.com.