Hi,
I am not sure if this is a bug or not. I do not get filesystem metrics via the metrics endpoint on two servers running Debian bookworm.
incus query /1.0/metrics | grep filesystem
# HELP incus_memory_Shmem_bytes The amount of cached filesystem data that is swap-backed.
os_name: Debian GNU/Linux
os_version: "12"
project: default
server: incus
server_version: "6.4"
storage: btrfs
storage_version: "6.2"
storage_supported_drivers:
- name: dir
version: "1"
remote: false
- name: lvm
version: 2.03.16(2) (2022-05-18) / 1.02.185 (2022-05-18) / 4.47.0
remote: false
- name: lvmcluster
version: 2.03.16(2) (2022-05-18) / 1.02.185 (2022-05-18) / 4.47.0
remote: true
- name: btrfs
version: "6.2"
remote: false
I should be seeing something like incus_filesystem_avail_bytes according to the documentation.
Or does it not work fully with btrfs? Does it require quota to show the metric?