Project: JuiceFS (Runtime / Cloud Native Storage)
File: p8s_metrics.md

title: JuiceFS Metrics sidebar_position: 4 If you haven't yet set up monitoring for JuiceFS, read to learn how. | Name | Description | | - | -- | | `vol_name` | Volume name | | `instance` | Client host name in format

Refer to for more information | | `mp` | Mount point path, if metrics are reported through , for example, , `mp` will be `sdk-<PID>` | | Name | Description | Unit | |-|-|| | `juicefsusedspace` | Total used space | byte | | `juicefsusedinodes` | Total number of inodes | | | Name | Description | Unit | | - | -- | - | | `juicefs_uptime` | Total running time | second | | `juicefscpuusage` | Accumulated CPU usage | second | | `juicefs_memory` | Used memory | byte | | Name | Description | Unit | | - | -- | - | | `juicefstransactiondurationshistogramseconds` | Transactions latency distributions | second | | `juicefstransactionrestart` | Number of times a transaction restarted | | | Name | Description | Unit | | - | -- | - | | `juicefsfusereadsizebytes` | Size distributions of read request | byte | | `juicefsfusewrittensizebytes` | Size distributions of write request | byte | | `juicefsfuseopsdurationshistogram_seconds` | Operations latency distributions | second | | `juicefsfuseopen_handlers` | Number of open files and directories | | | Name | Description | Unit | | - | -- | - | | `juicefssdkreadsizebytes` | Size distributions of read request | byte | | `juicefssdkwrittensizebytes` | Size distributions of write request | byte | | `juicefssdkopsdurationshistogram_seconds` | Operations latency distributions | second | | Name | Description | Unit | |:-||--| | `juicefsblockcacheblocks` | Number of cached blocks | | | `juicefsblockcachebytes` | Size of cached blocks | byte | | `juicefsblockcachehits` | Count of cached block hits | | | `juicefsblockcachemiss` | Count of cached block miss | | | `juicefsblockcachewrites` | Count of cached block writes | | | `juicefsblockcachedrops` | Count of cached block drops | | | `juicefsblockcacheevicts` | Count of cached block evicts | | | `juicefsblockcachehit_bytes` | Size of cached block hits | byte | | `juicefsblockcachemiss_bytes` | Size of cached block miss | byte | | `juicefsblockcachewrite_bytes` | Size of cached block writes | byte | | `juicefsblockcachereadhistseconds` | Latency distributions of read cached block | second | | `juicefsblockcachewritehistseconds` | Latency distributions of write cached block | second | | `juicefsstagingblocks` | Number of blocks in the staging path | | | `juicefsstagingblock_bytes` | Total bytes of blocks in the staging path | byte | | `juicefsstagingblockdelayseconds` | Total seconds of delay for staging blocks | second | | Name | Description | | - | -- | | `method` | Method to request object storage (e.g. GET, PUT, HEAD, DELETE) | | Name | Description | Unit | | - | -- | - | | `juicefsobjectrequestdurationshistogram_seconds` | Object storage request latency distributions | second | | `juicefsobjectrequest_errors` | Count of failed requests to object storage | | | `juicefsobjectrequestdatabytes` | Size of requests to object storage | byte | | Name | Description | Unit | |-| -- | - | | `juicefscompactsizehistogrambytes` | Size distributions of compacted data | byte | | `juicefsusedreadbuffersize_bytes` | size of currently used buffer for read | | | Name | Description | Unit | |-|-|-| | `juicefssyncscanned` | Number of all objects scanned from the source | | | `juicefssynchandled` | Number of objects from the source that have been processed | | | `juicefssyncpending` | Number of objects waiting to be synchronized | | | `juicefssynccopied` | Number of objects that have been synchronized | | | `juicefssynccopied_bytes` | Total size of data that has been synchronized | byte | | `juicefssyncskipped` | Number of objects that skipped during synchronization | | | `juicefssyncfailed` | Number of objects