An AppDynamics extension to be used with a stand alone Java machine agent to provide metrics for Dropwizard
Dropwizard is a Java framework for developing ops-friendly, high-performance, RESTful web services. Dropwizard pulls together stable, mature libraries from the Java ecosystem into a simple, light-weight package that lets you focus on getting things done. Dropwizard has out-of-the-box support for sophisticated configuration, application metrics, logging, operational tools, and much more, allowing you and your team to ship a production-quality web service in the shortest time possible.
Before the extension is installed, the prerequisites mentioned here need to be met. Please do not proceed with the extension installation if the specified prerequisites are not met.
metricPrefixThe metricPrefix of the extension has to be configured as specified here. Please make sure that the right metricPrefix is chosen based on your machine agent deployment, otherwise this could lead to metrics not being visible in the controller.
#Dropwizard Health Metric URL path servers: - uri: http://<<dropwizard_host>>:<<health_metrics_port>>/metrics displayName: metrics
Metrics: These are the metrics collected from DropWizard and reported to controller.
##Dropwizard Metrics metrics: - meters: - displayName : "Logback|M1Rate|All" path : "ch.qos.logback.core.Appender.all" type: "OBS.CUR.COL" . . . .
Workbench is a feature that lets you preview the metrics before registering it with the controller. This is useful if you want to fine tune the configurations. Workbench is embedded into the extension jar.To use the workbench
java -jar /path/to/MachineAgent/monitors/DropWizard/DropWizardMonitor.zipThis starts an http server at
http://host:9090/. This can be accessed from the browser.
#Get the stats curl http://localhost:9090/api/stats #Get the registered metrics curl http://localhost:9090/api/metric-paths
config.ymland validate it from the browser or the API
Always feel free to fork and contribute any changes directly via GitHub.
Please look at the troubleshooting document and make sure that everything is followed correctly.
Please contact email@example.com with the following details
|Machine Agent Compatibility||4.0+|
|Last Update||15 Aug 2017|