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