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

Allow the Resilience package to access the TelemetryOptions of Polly for easier configuration #5244

Open
sander1095 opened this issue Jun 24, 2024 · 0 comments

Comments

@sander1095
Copy link

The full context can be found here: App-vNext/Polly#2162. In short:

Say we configure Polly to retry a HTTP request 3 times. Each time it fails, it logs an error. Say it would have succeeded the 3rd time. Then the errors (which might have triggered some alerts) were not truly errors, only warnings.

I would like to be able to configure Polly to only treat final attempts that fail as errors, and earlier retries to be configured as Warnings.

This is possible with App-vNext/Polly#2072 but I don't seem to be able to edit this context/telemetry stuff when using the Resilience packages.

I would like to be able to modify Polly's severity levels for events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants