Developers often want visibility into retry behavior and circuit breaker state transitions for monitoring and analytics. Add optional metrics hooks that allow consumers to collect operational data without requiring a full observability platform. Potential use cases: - Prometheus metrics - OpenTelemetry exporters - Internal monitoring dashboards - Custom analytics systems ## Example createResilientFetch({ onRetry: () => metrics.increment("retries"), onFailure: () => metrics.increment("failures"), onCircuitOpen: () => metrics.increment("circuit_open") }); ## Acceptance Criteria - Design metrics hook interface - Support retry metrics - Support failure metrics - Support circuit breaker metrics - Add tests - Update documentation
Activity
AryanSharma48 commentedon Oct 10, 2026
Voice-triggered fix started. A pull request will be opened for human review. Nothing is merged automatically.
AryanSharma48 commentedon Oct 10, 2026
Automated Fix Ready for Review
Pull Request: #68
Workflow Run: https://github.com/AryanSharma48/smoothAPI/actions/runs/38042109506
All tests passed in the headless agent verification run. A human must review and merge.