cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How do I use the Extensions WorkBench?

Workbench is an inbuilt feature provided with each extension to help you to fine-tune the extension setup before you actually deploy it on the Controller. Workbench functionality is inbuilt with each extension JAR file.

 

Currently, the AppDynamics Platform does not allow a user to delete a metric once it has been registered. As soon as you deploy an extension directly after downloading, it will have several default settings.

 

If you wanted to make a minor change, say in the metricPrefix of the extension, after you deployed it with the default configuration, the platform would not allow you to delete the metrics with the default metricPrefix and you would have to keep the old metrics as well.

 

This useful feature should be used during the process of deploying each extension, since it will give you a better idea of what metrics will be recorded. If you see that you are missing some metrics, this tool will give you an opportunity to add those metrics as well.

 

In order to use Extensions Workbench, follow these steps:

 

  1. Following the instructions on Cisco DevNet, build the specific extension's ZIP file and place it in themonitors folder.
    wb1.png


  2. In the terminal, navigate to the extension folder.
    ExtWorkbench1-Xnip2020-07-08_15-29-18.png

  3. Verify that you have the main extension JAR file.ExtensionWorkbench2-Xnip2020-07-08_15-30-50.png

  4. Navigate to the extension folder that contains the jar file and execute the following command to start Workbench mode: java -jar cassandra-monitoring-extension.jar

    NOTE | Workbench by default uses port 9090. If you would like to change that to another port,  use the following structure to build your command: 
    java -jar <extension-jar> <host> <port>

  5. If you see the following output in the terminal, this means that it worked correctly and you have officially started Workbench Mode.
    ExtensionsWorkbench3-Xnip2020-07-08_15-35-04.png

  6. Now, open your browser and navigate to http://localhost:9090/. This starts the HTTP server that allows you to access the Workbench Mode.wb5.png
  7. Verify that all the desired metrics are present. Remove any unwanted metrics from the config.yml file to reduce noise.

  8. As you explore the map of metrics, you can see if you are getting a valid output on the graph on right. The metrics that are listed in the config.yml are the ones that are shown on the Workbench.
    wb6.png

  9. Once you are satisfied with the metrics and their values that are received, stop the current process and start the Machine Agent to view the metrics being reported on the metric browser. 
Version history
Last update:
‎10-19-2021 08:16 PM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Comments

where is the zip file? I really want to use this extension.

You can find all our extensions at https://www.appdynamics.com/community/exchange/

You can download the extension you would like and then configure it accordingly.

Thanks,

Bhuvnesh

Does this work with custom monitors, which are sometimes also referred to as 'extensions'?

Hi Adam,

If the extension was built by the AppDynamics Extensions team and if the documentation states that the extension (custom monitor) supports Workbench, then yes, it will work.

Thanks,

Bhuvnesh

It wasn't clear to me initially that the Cassandra extension is show here as one example only.  This method can be generalized to ANY extension .... with the command of the form  ...   java -jar <some_extension_name_jar>   

 

 

@Walter.Snyder, thank you for this point of clarification! I'm sure it will help others in the Community.

 

Claudia Landivar

Community Manager & Editor