ResilienceTelemetrySource
The source of resilience telemetry events.
using System.Runtime.CompilerServices;
namespace Polly.Telemetry
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class ResilienceTelemetrySource
{
public string BuilderName { get; }
public string BuilderInstanceName { get; }
[System.Runtime.CompilerServices.Nullable(1)]
[field: System.Runtime.CompilerServices.Nullable(1)]
public ResilienceProperties BuilderProperties {
[System.Runtime.CompilerServices.NullableContext(1)]
get;
}
public string StrategyName { get; }
public ResilienceTelemetrySource(string builderName, string builderInstanceName, [System.Runtime.CompilerServices.Nullable(1)] ResilienceProperties builderProperties, string strategyName)
{
BuilderName = builderName;
BuilderInstanceName = builderInstanceName;
BuilderProperties = builderProperties;
StrategyName = strategyName;
}
}
}