30 May 2022 10:13 AM - last edited on 30 Sep 2022 01:40 PM by Ana_Kuzmenchuk
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"
Solved! Go to Solution.
17 Jun 2022 05:05 AM - edited 17 Jun 2022 05:11 AM
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.
This is the settings page for my example TestByte unit.
17 Jun 2022 05:20 AM
Just to add to @Fin_Ubels points, this custom metric creation will make you end up consuming DDU license
17 Jun 2022 05:29 AM
@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
17 Jun 2022 05:37 AM - last edited on 26 Jun 2022 03:06 PM by andre_vdveen
my bad, if you are not creating any new calculated metric adding dimension for splitting this should not add in licensing for existing metrics.