10 May 2023 04:35 AM - last edited on 10 May 2023 05:08 AM by AgataWlodarczyk
In Dynatrace we have Temperature metrics per each device. There are multiple devices in one room and the room is a metric dimension.
I'm able to create a query in Data Explorer to show the average temperature per room.
How can I create a new metric called room_average based on a query from Data Explorer in Dynatrace?
Hi @mariusz_cwiklin As you indicate, it is possible to do operations between metrics and obtain the ones you are looking for in the Data Explorer editor, but AFAIK it is not possible to create a metric from metrics.
Metric expressions enable you to apply simple arithmetic operations on operands (metrics or numbers).
For example, this expression calculates the ratio (as a percentage) of two metrics:
Building on the example above, we have the following basic components to work with: