Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics for Retry policy #110

Open
svroonland opened this issue Mar 11, 2021 · 0 comments
Open

Metrics for Retry policy #110

svroonland opened this issue Mar 11, 2021 · 0 comments

Comments

@svroonland
Copy link
Owner

Periodically emit retry metrics from Retry for monitoring and alerting purposes

  • Add parameter metricsCollector: Retry.Metrics => UIO[Unit] to Retry.make
  • Add metricsInterval: Duration to customize the metrics emission interval
  • Emit metrics before end of use of the policy
  • Metrics:
    • total number of requests
    • total number of attempts
    • histogram of the number of attempts
  • Metrics objects should be summable (including the histogram) to get the total metrics in some period, like in the zio-kinesis Producer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant