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

remotecfg: better handling of --storage.path directory #2872

Open
tpaschalis opened this issue Feb 28, 2025 · 0 comments
Open

remotecfg: better handling of --storage.path directory #2872

tpaschalis opened this issue Feb 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@tpaschalis
Copy link
Member

What's wrong?

Right now, if the --storage.path directory is deleted while Alloy is running, any components that make use of it (like prometheus.remote_write for its WAL) cannot gracefully recover and will just report errors about not being able to read/write their segments.

I'm not yet sure if this only applies to remotecfg or to components in the local configuration as well, but it's worth looking into

Steps to reproduce

  1. Run Alloy with a remotecfg that uses a prometheus.remote_write component.
  2. Delete the data-alloy directory
  3. See logs

System information

No response

Software version

No response

Configuration


Logs


@tpaschalis tpaschalis added the bug Something isn't working label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant