Skip to content

metrics support for the circuit breaker #2813

@gourish25

Description

@gourish25

Currently, the circuit breaker does not expose any metrics. This makes it difficult to observe its behavior in production—such as how often it opens, how many requests are rejected, or whether failures are transient or persistent. Without metrics, troubleshooting service instability and validating circuit breaker configuration (thresholds, intervals) becomes difficult .

Expose standard, observable metrics for the circuit breaker that can be scraped by monitoring systems (e.g., Prometheus).

below is the code sniper where I have added circuit breaker

Image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions