sony / gobreaker

Circuit Breaker implemented in Go
MIT License
2.93k stars 185 forks source link

Allow accessing to internal counters (eg. for stats) #25

Closed Enrico204 closed 3 years ago

Enrico204 commented 5 years ago

This patch adds a method to accessing internal counters (which are not exported). This can be useful when debugging or collecting data for metrics.

Enrico204 commented 3 years ago

Don't worry :-) I fixed the code, let me know if there is anything else :-)

YoshiyukiMineo commented 3 years ago

Thank you.