IAdaptativeLimiterOptionsExtensions.AddMetrics method
Extension method to include prometheus metrics.
public static LoadSheddingOptions AddMetrics(this LoadSheddingOptions options,
Action<LoadSheddingMetricOptions> optionsDelegate = null)
parameter | description |
---|---|
options | The LoadSheddingOptions instance. |
optionsDelegate | The delegate for options |
Return Value
LoadSheddingOptions
See Also
- class LoadSheddingMetricOptions
- class IAdaptativeLimiterOptionsExtensions
- namespace Farfetch.LoadShedding