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 initial failures #2873

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

remotecfg: better handling of initial failures #2873

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

Comments

@tpaschalis
Copy link
Member

What's wrong?

If an Alloy local configuration cannot be loaded on startup, then execution will be aborted. After a successful initial load, subsequent reloads can be partially successful.

The same holds true today for remotecfg today, which (given no fallback cache file) requires all remote configuration to be loaded properly at least once before subsequent calls can partially update the graph.

Given the nature of remotecfg which can help people manage multiple configurations from a third-party place, this is potentially an unwanted behavior, as any errors in a child module cascades to break all pipelines. This means that Alloy cannot even send its own self-monitoring telemetry, making debuging difficult.

We should explore whether there's ways to relax this behavior for remotecfg and whether there's any drawbacks to doing so.

Steps to reproduce

Run remotecfg with two modules, one correct and one incorrect.

Notice that while one is reported as "Unhealthy", the other's status is "Unknown" and is not properly evaluated/started.

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