public void Apply(MetricServerOptions options) { foreach (var configuration in _configurations) { configuration(options); } }
public HttpMetricsStartupFilter(ILogger <HttpMetricsStartupFilter> logger, IOptionsMonitor <MetricServerOptions> options) { _logger = logger; _options = options.CurrentValue; }