23 Dec 2024 10:15 AM
Metric transformation is not available in Dynatrace Metric Query API.
Example
Need to transform the value with only 2 decimals. Currently it is displaying as "0.4556666634437" but it expected value is "0.46".
Solved! Go to Solution.
02 Jan 2025 04:17 PM
Hi, @RajaTamilarasan! Have you managed to find the answer to your question? It would be great if you share it with the Community 🙂
06 Jan 2025 10:47 PM
You must transform the data by yourself. Metric API provides values as they are stored. If you need a different representation such as rounding, you need to process it in your application calling the Dynatrace Metrics API. Only the following transformations are available: https://docs.dynatrace.com/docs/shortlink/api-metrics-v2-selector