Rclone metrics extraction

I would like to confirm that the only way to generate metrics for rclone is by using the rclone rc method.

ie. this method would make the operations such as copy, sync, delete not usable without their "rc" version and separate arguments required. ex. SrcFs=

We have a wrapper script using rclone and would prefer to continue using the non-rc version. But were hoping to extract metrics from these command executions. Is it possible?

Depends on exactly what you want, but if you use -v --stats 10s you'll get metrics every 10s in the log. Add --use-json-log and you've got parsable metrics without the RC.

Thank you for the tip. I'm going to explore this one further!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.