/// <inheritdoc /> public ITimer Timer(string name, Units unit, SamplingTypes samplingType = SamplingTypes.FavorRecent, TimeUnits rateUnit = TimeUnits.Seconds, TimeUnits durationUnit = TimeUnits.Milliseconds, List <KeyValuePair <string, string> > tags = null) { return(MetricsStatic.Timer(_context, name, unit, samplingType, rateUnit, durationUnit, tags)); }
/// <inheritdoc /> public ITimer Timer(string name, Units unit, SamplingTypes samplingType, TimeUnits rateUnit, TimeUnits durationUnit, List <KeyValuePair <string, string> > tags = null) { return(MetricsStatic.Timer(_context, name, unit, samplingType, rateUnit, durationUnit, tags)); }