Skip to main content

JuiceFS Metrics Spec

JuiceFS provided a Prometheus API for each filesystem, here are the descriptions of each metrics.

Filesystem

Label Description

NameDescription
namefilesystem name

Metric Description

NameDescriptionUnit
juicefs_sizesize of filesbyte
juicefs_inodesnumber of inodes
juicefs_trash_sizesize of files in trashbyte
juicefs_trash_filesnumber of files in trash

Client

Label Description

NameDescription
namefilesystem name
hostclient hostname
ipclient IP address
mountpointpath of mount point
NameDescriptionUnit
juicefs_uptimeuptimesecond
juicefs_cpuusageoverall CPU usage timemicrosecond
juicefs_memusagecurrent memory usagebyte
NameDescriptionUnit
juicefs_object_copycopy requests number
juicefs_object_deletedelete requests number
juicefs_object_errorfailed requests number
juicefs_object_getget requests number
juicefs_object_headhead requests number
juicefs_object_listlist requests number
juicefs_object_putput requests number
juicefs_objectoverall requests number
juicefs_get_bytestotal readbyte
juicefs_put_bytestotal writebyte
NameDescriptionUnit
juicefs_read_bytesthe total amount of reads, unlike juicefs_get_bytes, which is the statistics of the file operation level.byte
juicefs_write_bytesthe total amount of writes, unlike juicefs_put_bytes, which is the statistics of the file operation level.byte
juicefsfuse_ops\<name>various file operation counts, such as get_attr, lookup, open