public IDisposable CreateLoggingMetricsTimer( string entityName, [CallerMemberName] string actionName = null, object requestParams = null, params string[] additionalLabels) { var metricsTimer = new MetricsTimer( Summary, ConcatLabelValues( actionName, entityName, _externalHttpServiceName, null, additionalLabels), _longRequestTime, requestParams, _logSource); return(new TimersWrapper(metricsTimer)); }
public TimersWrapper(MetricsTimer metricsTimer, TracingTimer tracingTimer) { _metricsTimer = metricsTimer; _tracingTimer = tracingTimer; }
public TimersWrapper(MetricsTimer metricsTimer) { _metricsTimer = metricsTimer; }