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