Simple extension to allow writing custom metrics to AppDynamics
- Java 7 or later
Releases of the extension are available at GitHub Releases
./gradlew clean check zip
- Unzip
http-bridge-extension-1.0.zip
into the machineagentmonitors
directory - Ensure that the values in the
task-arguments
section inmonitor.xml
are satisfactory.
- Request should be posted to
http://localhost:9999/hostmetrics/metric
as a form
- name: Pipe(|) separated path of the custom metric.
- value: long value of the metric
- aggregationtype
- rolluptype
- clusterrolluptype
Posting an averaged value
curl -d "name=Custom Metrics|Useless|Average&value=0&aggregationtype=AVERAGE&rolluptype=AVERAGE&clusterrolluptype=INDIVIDUAL" http://localhost:9999/hostmetrics/metric