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 information about current Hystrix Configuration to FailedServiceInvocationLogger #34

Open
eliaslindholm opened this issue Dec 9, 2015 · 0 comments

Comments

@eliaslindholm
Copy link
Contributor

FailedServiceInvocationLogger prints log message each time a bean invocation is aborted by the fault-tolerance layer. Current Message is formatted as follows:

Aborted command execution: cause=SEMAPHORE_REJECTED astrixBean=se.avanzabank.trading.services.AccountServiceAsync hystrixCommandKey=se.avanzabank.trading.services.AccountServiceAsync

To simplify maintainance it would be good to provide the current values of relevant Hystrix configuration depending on the failure cause (SEMAPHORE_REJECTED, THREAD_POOL_REJECTED etc.). For instance:

Aborted command execution: cause=SEMAPHORE_REJECTED astrixBean=se.avanzabank.trading.services.AccountServiceAsync hystrixCommandKey=se.avanzabank.trading.services.AccountServiceAsync current configuration: MAX_CONCURRENT_REQUESTS=10
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

1 participant