Products
Solutions
Resources
Customers
Company

Sign in
My Account.
Captures RDS statistics from Amazon CloudWatch and displays them in the AppDynamics Metric Browser.
Note : By default, the Machine agent can only send a fixed number of metrics to the controller. This extension potentially reports thousands of metrics, so to change this limit, please follow the instructions mentioned here.
"cloudwatch:GetMetricData",
"cloudwatch:GetMetricStatistics",
"cloudwatch:ListMetrics"
Note : This extension is compatible with Machine Agent version 4.5.13 or later.
{MACHINE_AGENT_HOME}/monitorsLibs
to httpclient-4.5.9
and httpcore-4.4.12
to make this warning go away.{MACHINE_AGENT_HOME}/monitorsLibs
has to be manually be updated to httpclient-4.5.9
and httpcore-4.4.12
.<MachineAgent_Dir>/monitors/AWSRDSMonitor
The metricPrefix of the extension has to be configured as specified here. Please make sure that the right metricPrefix is chosen based on your machine agent deployment, otherwise this could lead to metrics not being visible in the controller.Please place the extension in the "monitors" directory of your Machine Agent installation directory. Do not place the extension in the "extensions" directory of your Machine Agent installation directory.
<MachineAgent_Dir>/monitors/AWSRDSMonitor
The metricPrefix of the extension has to be configured as specified here. Please make sure that the right metricPrefix is chosen based on your machine agent deployment, otherwise this could lead to metrics not being visible in the controller.Configure "awsAccessKey", "awsSecretKey" and "regions"". If you are running this extension inside an EC2 instance which has IAM profile configured then you don't have to configure these values, extension will use IAM profile to authenticate.
For example
#Add you list of AWS accounts here
accounts:
- awsAccessKey: "XXXXXXX1"
awsSecretKey: "XXXXXXX1"
displayAccountName: "Test1"
regions: ["us-east-1","us-west-1","us-west-2"]
- awsAccessKey: "XXXXXXX2"
awsSecretKey: "XXXXXXX2"
displayAccountName: "Test2"
regions: ["eu-central-1","eu-west-1"]
If you want to encrypt the "awsAccessKey" and "awsSecretKey" then follow the "Credentials Encryption" section and provide the encrypted values in "awsAccessKey" and "awsSecretKey". Configure "enableDecryption" of "credentialsDecryptionConfig" to true and provide the encryption key in "encryptionKey"
For example,
#Encryption key for Encrypted password.
credentialsDecryptionConfig:
enableDecryption: "true"
encryptionKey: "XXXXXXXX"
List all DB names(regex is supported) whose metric you wish to fetch from AWS cloud watch. If no name is specified, then no data would be fetched.
includeDBIdentifiers: ["blog.*", "demodb"]
Configure the numberOfThreads
concurrencyConfig:
noOfAccountThreads: 3
noOfRegionThreadsPerAccount: 3
noOfMetricThreadsPerRegion: 3
Configure the monitoring level as shown below. Allowed values are Basic and Detailed. Refer this for more information Basic will fire CloudWatch API calls every 5 minutes. Detailed will fire CloudWatch API calls every 1 minute
cloudWatchMonitoring: "Basic"
Configure the metrics section.
For configuring the metrics, the following properties can be used:
Property | Default value | Possible values | Description |
---|---|---|---|
alias | metric name | Any string | The substitute name to be used in the metric browser instead of metric name. |
statType | "ave" | "AVERAGE", "SUM", "MIN", "MAX" | AWS configured values as returned by API |
aggregationType | "AVERAGE" | "AVERAGE", "SUM", "OBSERVATION" | Aggregation qualifier |
timeRollUpType | "AVERAGE" | "AVERAGE", "SUM", "CURRENT" | Time roll-up qualifier |
clusterRollUpType | "INDIVIDUAL" | "INDIVIDUAL", "COLLECTIVE" | Cluster roll-up qualifier |
multiplier | 1 | Any number | Value with which the metric needs to be multiplied. |
convert | null | Any key value map | Set of key value pairs that indicates the value to which the metrics need to be transformed. eg: UP:0, DOWN:1 |
delta | false | true, false | If enabled, gives the delta values of metrics instead of actual values. |
For example,
- name: "CPUUtilization"
alias: "CPUUtilization"
statType: "ave"
aggregationType: "OBSERVATION"
timeRollUpType: "CURRENT"
clusterRollUpType: "COLLECTIVE"
delta: false
multiplier: 1
All these metric properties are optional, and the default value shown in the table is applied to the metric(if a property has not been specified) by default.
Metrics provided by this extension are defined in the link given below:
Please visit this page to get detailed instructions on password encryption. The steps in this document will guide you through the whole process.
Workbench is an inbuilt feature provided with each extension in order to assist you to fine tune the extension setup before you actually deploy it on the controller. Please review the following document on How to use the Extensions WorkBench
If after going through the Troubleshooting Document you have not been able to get your extension working, please file a ticket and add the following information.
Please provide the following in order for us to assist you better.
1. Stop the running machine agent.
2. Delete all existing logs under <MachineAgent>/logs.
3. Please enable debug logging by editing the file <MachineAgent>/conf/logging/log4j.xml. Change the level value of the following <logger> elements to debug.
<logger name="com.singularity">
<logger name="com.appdynamics">
4. Start the machine agent and please let it run for 10 mins. Then zip and upload all the logs in the directory <MachineAgent>/logs/*.
5. Attach the zipped <MachineAgent>/conf/* directory here.
6. Attach the zipped <MachineAgent>/monitors/ExtensionFolderYouAreHavingIssuesWith directory here.
For any support related questions, you can also contact help@appdynamics.com.
Always feel free to fork and contribute any changes directly here on GitHub.
Name | Version |
---|---|
Extension Version | 2.0.6 |
Controller Compatibility | 4.5 or Later |
Machine Agent | 4.5.13+ |
Last Update | 20/01/2021 |
v2.0.6 - Updated to work with MachineAgent 21.x