def METHOD_NAME(gauge: Gauge, directory: StrPath) -> None:
    # TODO: move to metrics, as for the other metrics (queue, cache)
    total, used, free, percent = disk_usage(str(directory))
    gauge.labels(type="total").set(total)
    gauge.labels(type="used").set(used)
    gauge.labels(type="free").set(free)
    gauge.labels(type="percent").set(percent)