cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding letters to the end of the calculated metrics

Super
Participant

There is a metric builtin:host.disk.used:filter(and(in("dt.entity.disk",entitySelector("type(disk),entityName(~"/pgerrorlogs~")")))):splitBy(" dt.entity.host","dt.entity.disk"):avg:auto:sort(value(avg,descending)):limit(10)

Can I add custom values to the end of the metric like "Gb"

4 REPLIES 4

Fin_Ubels
Dynatrace Advisor
Dynatrace Advisor

Hey Super,

There is a feature that allows you to define custom units to be used with metrics. This allows you to create whatever units that you like! Although if your new unit is a a billion or million or etc of something then you'll have to do the math in the data explorer yourself. See the below images for reference.

Fin_Ubels_0-1655438230239.png


This is the settings page for my example TestByte unit.

Fin_Ubels_2-1655438607325.png

 

 

techean
Dynatrace Pro
Dynatrace Pro

Just to add to @Fin_Ubels  points, this custom metric creation will make you end up consuming DDU license 

 

KG

Fin_Ubels
Dynatrace Advisor
Dynatrace Advisor

@techean this isn't creating a custom metric though, it's just editing what we see in the output of the data explorer so would it still use DDUs? I can't find anything to say it would unless I'm missing something

my bad, if you are not creating any new calculated metric adding dimension for splitting this should not add in licensing for existing metrics.

KG