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

Green Lights don't show in the UI if there's no failures #29

Open
dvdoliveira opened this issue Feb 14, 2020 · 1 comment
Open

Green Lights don't show in the UI if there's no failures #29

dvdoliveira opened this issue Feb 14, 2020 · 1 comment

Comments

@dvdoliveira
Copy link

Hello! 👋
We just implemented stoplight-admin to manage Stoplight circuit breakers and noticed that, unless the circuit gets at least one failure or is locked, the UI will not show it in the list. Once the first failure happens then it shows.

We are wondering if this is by design or any limitation of Stoplight gem.

The use case for seeing these lights in the UI is that we might want to manually trip the circuit to red as a prevention measure and currently, it's not possible. The only way we can do that is through Redis or Rails console and it would be great to be able to do it through the UI.

If this is a feature that other people can use, I'm happy to investigate and create a PR for it.

@bolshakov
Copy link
Owner

We use Redis to store information about failures. When an error happens, we save it into Redis, and the UI can pick it up and display it. Unfortunately, without errors, there is nothing to show.

This is quite a simple design decision that does not require fancy initialization and registering circuit breakers. Thus, this is a limitation driven by design :)

If you have ideas how to improve Stoplight, consider filing a ticket here https://github.com/bolshakov/stoplight/issues/new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants