Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics: rclone rc binding metrics endpoint #8248

Open
hiddenmarten opened this issue Dec 15, 2024 · 0 comments
Open

metrics: rclone rc binding metrics endpoint #8248

hiddenmarten opened this issue Dec 15, 2024 · 0 comments

Comments

@hiddenmarten
Copy link
Contributor

The associated forum post URL from https://forum.rclone.org

I don't have any, just wanted to create an issue to link my future PR with.

What is the problem you are having with rclone?

rclone rc trying to bind metrics endpoint if environment variable RCLONE_METRICS_ADDR is set

What is your rclone version (output from rclone version)

v1.68.2

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

Linux

Which cloud storage system are you using? (e.g. Google Drive)

Doesn't matter in that case.

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

RCLONE_METRICS_ADDR="0.0.0.0:9000" rclone rc -vv rc/noop

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

NOTE: └──╼ $ RCLONE_METRICS_ADDR="0.0.0.0:9000" rclone rcd was run in advance.

└──╼ $ RCLONE_METRICS_ADDR="0.0.0.0:9000" rclone rc -vv rc/noop
2024/12/15 22:21:21 DEBUG : Setting  metrics_addr="0.0.0.0:9000" from environment variable RCLONE_METRICS_ADDR
2024/12/15 22:21:21 DEBUG : Setting --metrics-addr "0.0.0.0:9000" from environment variable RCLONE_METRICS_ADDR="0.0.0.0:9000"
2024/12/15 22:21:21 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "rc" "-vv" "rc/noop"]
2024/12/15 22:21:21 CRITICAL: Failed to start metrics server: failed to init server: listen tcp 0.0.0.0:9000: bind: address already in use

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
@hiddenmarten hiddenmarten changed the title bug: rclone rc binding metrics endpoint metrics: rclone rc binding metrics endpoint Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant