Beispiel #1
0
 /// <inheritdoc />
 public void Update(BucketHistogramOptions options, long value)
 {
     _registry.BucketHistogram(options, () => _histogramBuilder.Build(options.Buckets)).Update(value);
 }
Beispiel #2
0
 /// <inheritdoc />
 public IBucketHistogram Instance <T>(BucketHistogramOptions options, Func <T> builder)
     where T : IBucketHistogramMetric
 {
     return(_registry.BucketHistogram(options, builder));
 }