Create Custom extension in Appdynamics
Question ID: 109346
0
0

How to create Appdynamics Custom extension to capture server metrics which is not available by default?

Marked as spam
Posted by (Questions: 4, Answers: 0)
Asked on February 20, 2020 7:54 pm
109 views
Answers (1)
0
Private answer

We can build a custom extension in APPD using the following three mechanisms

  • Using a script:
    You can write a shell script (Linux and Unix-like systems) 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.
    For more information, see Build a Monitoring Extension Using Scripts.
  • Using Java:
    Your custom metrics might be too complicated to collect using a script. For example, you might need to perform complex calculations or call a third-party API to get the metrics. In this case, you can extend the JavaServersMonitor class to collect the metrics and report them to the Standalone Machine Agent. Your Java program extends the JavaServersMonitor class to provide your custom functionality.
    See Build a Monitoring Extension Using Java.
  • Using HTTP:
    If you enable the agent HTTP listener, you can post HTTP requests to the Standalone Machine Agent to send it custom metrics every minute. This is done by starting the Standalone Machine Agent with a Jetty HTTP listener.
    See Standalone Machine Agent HTTP Listener for information on starting the HTTP listener and sending it metrics.
Marked as spam
Posted by (Questions: 0, Answers: 4)
Answered on February 20, 2020 7:57 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top