Skip to content

Add support for Failsafe #10856

Open
Open
@neilfordyce

Description

@neilfordyce

Is your feature request related to a problem? Please describe.

Failsafe is a popular library for handling request failures. We gather metrics from it to understand how well it's handling failures and how close it is to reaching thresholds. Is that the kind of library that would make sense to instrument via a new InstrumentationModule in this repository?

Describe the solution you'd like

I'd like to replace some existing metrics from my services which are generated using Codahale. I'm particularly interested in gathering Circuit Breaker and Retry metrics.

Possible instrument names:

failsafe.circuitbreaker.delay.time
failsafe.circuitbreaker.execution.count
failsafe.circuitbreaker.success.count
failsafe.circuitbreaker.failure.count

failsafe.retry.attempted.count
failsafe.retry.failed.count
failsafe.retry.succeeded.count

Describe alternatives you've considered

Instrumenting manually in each time we use Failsafe, but there's obvious duplication of effort to configure in every service Failsafe is used.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcomeenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions