Exemplo n.º 1
0
 /// <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));
 }
Exemplo n.º 2
0
 /// <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));
 }