예제 #1
0
 public TimingScope(IStatsPublisher statsd, string bucket, IEnumerable <KeyValuePair <string, string> > additionalDimensions = null)
 {
     this.statsd = statsd;
     this.bucket = bucket;
     this.additionalDimensions = additionalDimensions;
     stopwatch.Start();
 }
예제 #2
0
 public HttpMetricsMiddleware(RequestDelegate next, IStatsPublisher statsPublisher)
 {
     this._next           = next;
     this._statsPublisher = statsPublisher;
 }
예제 #3
0
 public TimingScope(IStatsPublisher statsd, string bucket)
 {
     this.statsd = statsd;
     this.bucket = bucket;
     stopwatch.Start();
 }