Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
Advantages of adding external metrics to AppDynamics include:

About Custom Metrics

You can supplement the existing metrics in the AppDynamics Controller UI with your own custom metrics. Custom metrics get the benefits of the AppDynamics Controller platform, including: 

  • automatic baselines and anomaly detection for external metricsdetection 
  • availability for display on custom dashboards
  • availability for use in policies
  • visibility of all metrics in the Metric Browser, where you can display external metrics along with AppDynamics metrics on the same graph

You define custom metrics using a monitoring extension. You can create monitoring extensions using:

  • Java
  • HTTP Listener
  • Shell or batch scripts
  • .NET performance counters

In your extension, you define the name and path of your metric (where it appears in the metric browser tree), what type of metric it is (sum, average, and so on), and how the data for the metric should be rolled up as it ages.   

Monitoring Extensions Using Scripts

You can write a shell script (LINUX) or batch file (Windows) to report custom metrics every minute to the Standalone Machine Agent. The Standalone Machine Agent passes these metrics on to the Controller.

See Build a Monitoring Extension Using Scripts.

Monitoring Extensions Using Java

Your custom metrics may be too complicated to collect using a script. For example, you may need to perform complex calculations or call a third party API to get the metrics.

...

See Standalone Machine Agent HTTP Listener for information on starting the HTTP listener and sending it metrics.

Monitoring Extensions Using

...

You can write a shell script (LINUX) or batch file (Windows) to report custom metrics every minute to the Standalone Machine Agent. The Standalone Machine Agent passes these metrics on to the Controller.

See Build a Monitoring Extension Using Scripts.

Monitoring Extensions Using Performance Counters in a .NET Environment

You can add additional performance counters to the standard hardware metrics reported by the embedded .NET Embedded Machine Agent by configuring the <perf-counters> element in the .NET Embedded Machine Agent's application.config file.

See  Windows Performance Counters.