Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
01-13-2020 02:52 AM
Hi all,
i need to remove all old data from metric browser
AppD still displays this in the metric browser. If you have a few this is not an issue but having hundreds of data you don't care about is annoying.
I was wondering if anyone has found a way of keeping just metrics for active instances and services
01-13-2020 04:56 AM
Hi,
We found a solution here, maybe it's can help you:
You need to go to your serveur AppDynamics Platform, connect to DB:
/opt/appdynamics/platform/product/controller/bin/controller.sh login-db
Found the metric to delete:
example for me:
select id,name from metric where name like '%Active Direc%';
+--------+--------------------------------------------------------------------+
| id | name |
+--------+--------------------------------------------------------------------+
| 643176 | Custom Metrics|Services| |Active Directory Domain Services |
| 643177 | Custom Metrics|Services| |Active Directory Web Services |
| 643179 | Custom Metrics|Services| |Active Directory Domain Services |
| 643180 | Custom Metrics|Services| |Active Directory Web Services |
| 643182 | Custom Metrics|Services| |Active Directory Domain Services |
| 643183 | Custom Metrics|Services| |Active Directory Web Services |
+--------+--------------------------------------------------------------------+
With the ID you can delete all custom metric:
First: delete from metric_config_map where metric_id = '643176';
Second: delete from metric where id = '643176';
Wait 30 mins / 1 hours and refresh, the metric gone.
bye
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form