Metric transformation is not available in Dynatrace Metric Query API

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”.

Hi, @RajaTamilarasan! Have you managed to find the answer to your question? It would be great if you share it with the Community :slightly_smiling_face:

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: Metrics API - Metric selector — Dynatrace Docs