public IScorpionMeter Meter(string name, SMUnit unit, SMTimeUnit rateUnit = SMTimeUnit.Seconds)
 {
     return(Monitor.Meter(name, unit));
 }
 public ScorpionCounterImplement(MetricsContext context, string name, SMUnit unit)
 {
     counter = context.Counter(name, new Unit(unit.Name));
 }
 public IScorpionCounter Conter(string name, SMUnit unit)
 {
     return(Monitor.Conter(name, unit));
 }
 public IScorpionHistogram Histogram(string name, SMUnit unit)
 {
     return(Monitor.Histogram(name, unit));
 }
예제 #5
0
 public ScorpionHistogram(MetricsContext context, string name, SMUnit unit)
 {
     histogram = context.Histogram(name, new Unit(unit.Name));
 }
예제 #6
0
        public IScorpionMeter Meter(string name, SMUnit unit, SMTimeUnit rateUnit = SMTimeUnit.Seconds)
        {
            var c = new ScorpionMeterImplement(Context, name, unit, rateUnit);

            return(c);
        }
예제 #7
0
        public IScorpionHistogram Histogram(string name, SMUnit unit)
        {
            var c = new ScorpionHistogram(Context, name, unit);

            return(c);
        }
예제 #8
0
        public IScorpionCounter Conter(string name, SMUnit unit)
        {
            var c = new ScorpionCounterImplement(Context, name, unit);

            return(c);
        }
예제 #9
0
 public ScorpionMeterImplement(MetricsContext context, string name, SMUnit unit, SMTimeUnit rateUnit)
 {
     meter = context.Meter(name, new Unit(unit.Name), (TimeUnit)rateUnit);
 }