-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactor Prometheus and Hystrix metrics (#350)
BREAKING CHANGE Instead of continuing to add different metrics modules to the circuit breaker API, we can extract the `PrometheusMetrics` and `HystrixStats` classes as their own modules. All they need is a handle to the circuit itself so they can listen for events and/or monitor the circuit stats. This allows us to continue maintaining things like Hystrics that are deprecated upstream, without polluting our circuit breaker implementation. Hystrix and prometheus metrics are now handled by external modules that are in nodeshift/opossum-hystrix and nodeshift/opossum-prometheus.
- Loading branch information
Showing
15 changed files
with
1,056 additions
and
1,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.