saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
571 stars 65 forks source link

Inclusion of metric gathering for rclone #181

Closed risb0r closed 6 months ago

risb0r commented 6 months ago

Enable/Disable --rc-enable-metrics OpenMetrics/Prometheus compatible endpoint at /metrics for external monitoring or each rclone config. Web capture_3-12-2023_9555

This has been tested with a manual intervention to the config file without issue.

Can also be utilised with or without authentication.

Further reference material here: https://rclone.org/rc/#rc-no-auth

Note: This does require telegraf to be running natively to access the rclone metrics currently.

Commands likely required to be added as a settings.yml variable:

--rc-enable-metrics
--rc-no-auth
--rc-user=VALUE
--rc-pass=VALUE