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

fix(stats): Deregister the telemetry circuit breaker from the health indicator #706

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

ttomsu
Copy link
Member

@ttomsu ttomsu commented Nov 21, 2019

Back in October, the telemetry endpoint went down, causing our nightly tests to start failing. The root cause was that the resiliance4j circuit breaker library was hooked up to the Spring Boot health endpoint, so when the breaker was tripped (yay that this part worked as intended), it caused Echo's /health endpoint to start returning 503s, and thus traffic to it was halted in a Kubernetes environment.

The fix is to not register the circuit breaker with the health endpoint. I added a system test to confirm this (heavy handed, yes, but I don't know how else to test this dependency) and for good measure, I added a unit test that throws various Retrofit errors.

tag: spinnaker/spinnaker#5144

@ttomsu ttomsu merged commit ac270b2 into spinnaker:master Nov 21, 2019
@ttomsu ttomsu deleted the stats-down-test branch November 21, 2019 20:00
ttomsu pushed a commit to ttomsu/echo that referenced this pull request Dec 9, 2019
ttomsu pushed a commit that referenced this pull request Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants