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

[question/proposal] Monitoring #17

Closed
yklyahin opened this issue Oct 1, 2018 · 0 comments
Closed

[question/proposal] Monitoring #17

yklyahin opened this issue Oct 1, 2018 · 0 comments

Comments

@yklyahin
Copy link

yklyahin commented Oct 1, 2018

What is the way to collect metrics for monitoring?
It would be good to get more information about the statistic of circuit breaker than just status: open, half-open and closed.

Count contains enough information about CB condition.

type Counts struct {
	Requests             uint32
	TotalSuccesses       uint32
	TotalFailures        uint32
	ConsecutiveSuccesses uint32
	ConsecutiveFailures  uint32
}
@yklyahin yklyahin closed this as completed Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant