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

Add fallback-missing outcome #941

Merged
merged 6 commits into from
Oct 14, 2015

Conversation

mattrjacobs
Copy link
Contributor

2 changes:

  1. Add a FALLBACK_MISSING enum to both HystrixRollingNumberType and HystrixEventType. Anytime the fallback path is encountered, and getFallback is not user-supplied (or throws an UnsupportedOperationException), this counter gets incremented.

  2. Add the method isTerminal to HystrixEventType. With the addition of FALLBACK_MISSING, all valid sequences of HystrixEventTypes should end with a terminal HystrixEventType. This allows any possible consumer of a sequence of metrics to know that a command execution is complete just by observing the `HystrixEventType' sequence.

mattrjacobs added a commit that referenced this pull request Oct 14, 2015
@mattrjacobs mattrjacobs merged commit 25c2b6a into Netflix:master Oct 14, 2015
@mattrjacobs mattrjacobs deleted the add-fallback-missing-outcome branch October 14, 2015 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant