Skip to content

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

@sander1095

Description

@sander1095

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions