Skip to content

JuiceFS

Collect information on component metrics related to JuiceFS data size, IO, transactions, objects, clients, etc.

Installation and Configuration

JuiceFS Metrics

JuiceFS exposes the default metrics port as 9567, where you can view relevant metric information through a browser: http://clientIP:9567/metrics.

DataKit Collector Configuration

Since JuiceFS can directly expose a metrics URL, it is possible to collect data directly using the prom collector.

The content to be adjusted is as follows:

urls = ["http://localhost:9567/metrics"]

source = "juicefs"

interval = "10s"

Other configurations may need adjustment

, parameter adjustment description:

  • urls: The prometheus metrics address; here, fill in the metrics URL exposed by the corresponding component.
  • source: Collector alias, it's recommended to make distinctions.
  • interval: Collection interval

Restart DataKit

systemctl restart datakit

Metrics

For detailed metrics information, refer to the official documentation

```

Feedback

Is this page helpful? ×