04 Jan 2023 08:42 PM - last edited on 22 May 2023 03:36 PM by Michal_Gebacki
04 Jan 2023 09:47 PM
Hi,
Metrics seem to live for 5 years. I am not aware of any "Dynatrace" provided means of deleting metrics.
This post (And links in the post gives you more info, mainly on data retention)
Thanks/ Tibebe
05 Jan 2023 12:40 AM
If the metric was ingested using the V2 API (MINT) please check https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/delete-metrics
05 Jan 2023 04:34 AM - edited 05 Jan 2023 04:50 AM
Hi, Thanks for replying. The metric was created through Web UI. And, as it is was not created by API, so when tried deleting it through it, was unsuccessful. got 400 status
The reason for me to delete is because it's not serving the purpose anymore, and doesn't want it to consume DDU. Is there a way to disable it at least if not able to delete the UI created custom metrics? Please suggest.
08 Jan 2023 08:21 PM
What do you mean by "it was created using Web UI"? Is this a calculated metric? Created in the multidimensional analysis? These can be easily deleted in the Web UI for calculated service metrics, application metrics or user session custom metrics.
Billing is ingest-based, so a metric won't consume DDU if there is no new data written for the metric.
09 Jan 2023 12:37 AM
I found it and had it deleted, thanks for your help.
30 Sep 2024 12:39 PM
Go to:
Settings --> Server-side service monitoring -----> Calculated service metrics