Skip to main content

JuiceFS Metrics

If you haven't yet set up monitoring for JuiceFS, read monitoring and data visualization" to learn how.

Global labels

NameDescription
vol_nameVolume name
instanceClient host name in format <host>:<port>. Refer to official document for more information
mpMount point path, if metrics are reported through Prometheus Pushgateway, for example, JuiceFS Hadoop Java SDK, mp will be sdk-<PID>

File system

Metrics

NameDescriptionUnit
juicefs_used_spaceTotal used spacebyte
juicefs_used_inodesTotal number of inodes

Operating system

Metrics

NameDescriptionUnit
juicefs_uptimeTotal running timesecond
juicefs_cpu_usageAccumulated CPU usagesecond
juicefs_memoryUsed memorybyte

Metadata engine

Metrics

NameDescriptionUnit
juicefs_transaction_durations_histogram_secondsTransactions latency distributionssecond
juicefs_transaction_restartNumber of times a transaction restarted

FUSE

Metrics

NameDescriptionUnit
juicefs_fuse_read_size_bytesSize distributions of read requestbyte
juicefs_fuse_written_size_bytesSize distributions of write requestbyte
juicefs_fuse_ops_durations_histogram_secondsOperations latency distributionssecond
juicefs_fuse_open_handlersNumber of open files and directories

SDK

Metrics

NameDescriptionUnit
juicefs_sdk_read_size_bytesSize distributions of read requestbyte
juicefs_sdk_written_size_bytesSize distributions of write requestbyte
juicefs_sdk_ops_durations_histogram_secondsOperations latency distributionssecond

Cache

Metrics

NameDescriptionUnit
juicefs_blockcache_blocksNumber of cached blocks
juicefs_blockcache_bytesSize of cached blocksbyte
juicefs_blockcache_hitsCount of cached block hits
juicefs_blockcache_missCount of cached block miss
juicefs_blockcache_writesCount of cached block writes
juicefs_blockcache_dropsCount of cached block drops
juicefs_blockcache_evictsCount of cached block evicts
juicefs_blockcache_hit_bytesSize of cached block hitsbyte
juicefs_blockcache_miss_bytesSize of cached block missbyte
juicefs_blockcache_write_bytesSize of cached block writesbyte
juicefs_blockcache_read_hist_secondsLatency distributions of read cached blocksecond
juicefs_blockcache_write_hist_secondsLatency distributions of write cached blocksecond
juicefs_staging_blocksNumber of blocks in the staging path
juicefs_staging_block_bytesTotal bytes of blocks in the staging pathbyte
juicefs_staging_block_delay_secondsTotal seconds of delay for staging blockssecond

Object storage

Labels

NameDescription
methodMethod to request object storage (e.g. GET, PUT, HEAD, DELETE)

Metrics

NameDescriptionUnit
juicefs_object_request_durations_histogram_secondsObject storage request latency distributionssecond
juicefs_object_request_errorsCount of failed requests to object storage
juicefs_object_request_data_bytesSize of requests to object storagebyte

Internal

Metrics

NameDescriptionUnit
juicefs_compact_size_histogram_bytesSize distributions of compacted databyte
juicefs_used_read_buffer_size_bytessize of currently used buffer for read

Data synchronization

Metrics

NameDescriptionUnit
juicefs_sync_scannedNumber of all objects scanned from the source
juicefs_sync_handledNumber of objects from the source that have been processed
juicefs_sync_pendingNumber of objects waiting to be synchronized
juicefs_sync_copiedNumber of objects that have been synchronized
juicefs_sync_copied_bytesTotal size of data that has been synchronizedbyte
juicefs_sync_skippedNumber of objects that skipped during synchronization
juicefs_sync_failedNumber of objects that failed during synchronization
juicefs_sync_deletedNumber of objects that deleted during synchronization
juicefs_sync_checkedNumber of objects that have been verified by checksum during synchronization
juicefs_sync_checked_bytesTotal size of data that has been verified by checksum during synchronizationbyte