From cd0b75c1a639a88f8a1a90f6a2a5ddad3360870c Mon Sep 17 00:00:00 2001 From: peter-csala Date: Tue, 15 Oct 2024 18:49:55 +0200 Subject: [PATCH] Add TelemetrySource to RateLimiterRejectedException --- src/Polly.Core/PublicAPI.Unshipped.txt | 1 + src/Polly.Core/Telemetry/ResilienceStrategyTelemetry.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Polly.Core/PublicAPI.Unshipped.txt b/src/Polly.Core/PublicAPI.Unshipped.txt index f82785466ab..d3e2ba8b55f 100644 --- a/src/Polly.Core/PublicAPI.Unshipped.txt +++ b/src/Polly.Core/PublicAPI.Unshipped.txt @@ -3,3 +3,4 @@ Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! messa Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! message, System.TimeSpan retryAfter, System.Exception! inner) -> void Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(System.TimeSpan retryAfter) -> void Polly.CircuitBreaker.BrokenCircuitException.RetryAfter.get -> System.TimeSpan? +Polly.Telemetry.ResilienceStrategyTelemetry.TelemetrySource.get -> Polly.Telemetry.ResilienceTelemetrySource! diff --git a/src/Polly.Core/Telemetry/ResilienceStrategyTelemetry.cs b/src/Polly.Core/Telemetry/ResilienceStrategyTelemetry.cs index d1d5c08e3eb..d6cce9ab80b 100644 --- a/src/Polly.Core/Telemetry/ResilienceStrategyTelemetry.cs +++ b/src/Polly.Core/Telemetry/ResilienceStrategyTelemetry.cs @@ -23,7 +23,7 @@ internal ResilienceStrategyTelemetry(ResilienceTelemetrySource source, Telemetry /// Gets BlahBlahBlah. /// /// dummy. - public ResilienceTelemetrySource TelemetrySource { get; } // TODO: fix visibility + public ResilienceTelemetrySource TelemetrySource { get; } // Fix visibility /// /// Reports an event that occurred in a resilience strategy.