Seeing directly the sizes of a mounted point of a disk in my host, it gives me some stats:
84.17% used disk space,
2,412383548915386 TiB disk used (2652443762688 bytes / 1024 / 1024 / 1024 /1024)
2,86578132212162 TiB disk used (3150959886336 bytes / 1024 / 1024 / 1024 /1024)
While in Dynatrace, the same disk using the builtin metric:
(builtin:host.disk.usedPct:filter(and(or(in(“dt.entity.disk”,entitySelector(“type(disk),not(tag(~“WarningDisk:90~”))”)))),series(avg,and(ge(85),le(90)))):splitBy(“dt.entity.disk”,“dt.entity.host”):parents):filter(eq(“dt.entity.disk”,DiskA),eq(“dt.entity.host”,HostA))
gives me a 85.43%, which is wrong.
Also, seeing the metrics in the host makes everything clear:

We can see that the pct calculation fails probably because the total space is wrong, because 2,41… / 2,82… TiB ~ 85,43%.
Why is this? Is it that the agent wrong? Is it that the total space calculation is wrong?
Thanks.

