AppDynamics Knowledge Base

How do I use the Extensions WorkBench?

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.
    image.png


  2. In the terminal, navigate to the extension folder.
    image.png

  3. Verify that you have the main extension JAR file.image.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.
    image.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.image.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.
    image.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. 
Labels (1)
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

It looks like doesn't work with Zookeepers extension.

Hello @Pablo.Jaña , 

Zookeeper extension should support workbench. Please create a Zendesk ticket with the error details if you are facing any issues with this.

You can find out more about creating a Support ticket here: https://community.appdynamics.com/t5/Knowledge-Base/How-do-I-submit-a-Support-ticket-An-FAQ/ta-p/289...

Thanks,

Satish Muddam

Version history
Last update:
‎07-08-2020 03:42 PM
Updated by: