30 May 2022
02:13 AM
- last edited on
30 Sep 2022
05:40 AM
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.
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.
Just to add to @Fin_Ubels points, this custom metric creation will make you end up consuming DDU license
@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
16 Jun 2022
09:37 PM
- last edited on
26 Jun 2022
07:06 AM
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.