Skip to main content

IAdaptativeLimiterOptionsExtensions.AddMetrics method

Extension method to include prometheus metrics.

public static LoadSheddingOptions AddMetrics(this LoadSheddingOptions options, 
Action<LoadSheddingMetricOptions> optionsDelegate = null)
parameterdescription
optionsThe LoadSheddingOptions instance.
optionsDelegateThe delegate for options

Return Value

LoadSheddingOptions

See Also