Ejemplo n.º 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();
 }
Ejemplo n.º 2
0
 public HttpMetricsMiddleware(RequestDelegate next, IStatsPublisher statsPublisher)
 {
     this._next           = next;
     this._statsPublisher = statsPublisher;
 }
Ejemplo n.º 3
0
 public TimingScope(IStatsPublisher statsd, string bucket)
 {
     this.statsd = statsd;
     this.bucket = bucket;
     stopwatch.Start();
 }