public static IMetricFamily <ISummary> CreateSummary( this MetricFactory factory, string name, string help, bool includeTimestamp, string[] labelNames, IReadOnlyList <QuantileEpsilonPair> objectives, TimeSpan?maxAge, int?ageBuckets, int?bufCap) { return(factory.CreateSummary(name, help, includeTimestamp, true, labelNames, objectives, maxAge, ageBuckets, bufCap)); }
public static IMetricFamily <ISummary, ValueTuple <string> > CreateSummary( this MetricFactory factory, string name, string help, string labelName, IReadOnlyList <QuantileEpsilonPair> objectives = null, TimeSpan?maxAge = null, int?ageBuckets = null, int?bufCap = null, MetricFlags options = MetricFlags.Default) { return(factory.CreateSummary(name, help, ValueTuple.Create(labelName), objectives, maxAge, ageBuckets, bufCap, options)); }
public static IMetricFamily <ISummary> CreateSummary( this MetricFactory factory, string name, string help, bool includeTimestamp, bool suppressEmptySamples, string[] labelNames, IReadOnlyList <QuantileEpsilonPair> objectives, TimeSpan?maxAge, int?ageBuckets, int?bufCap) { var options = BuildMetricFlags(includeTimestamp, suppressEmptySamples); return(factory.CreateSummary(name, help, objectives, maxAge, ageBuckets, bufCap, options, labelNames)); }
public static IMetricFamily <ICounter <long> > CreateCounterInt64(this MetricFactory factory, string name, string help, bool includeTimestamp, params string[] labelNames) { return(factory.CreateCounterInt64(name, help, includeTimestamp, true, labelNames)); }
public static IMetricFamily <ICounter <long> > CreateCounterInt64(this MetricFactory factory, string name, string help, params string[] labelNames) { return(factory.CreateCounterInt64(name, help, false, labelNames)); }
public static IMetricFamily <ISummary> CreateSummary(this MetricFactory factory, string name, string help, bool includeTimestamp, params string[] labelNames) { return(factory.CreateSummary(name, help, includeTimestamp, labelNames, null, null, null, null)); }
public static IMetricFamily <ISummary> CreateSummary(this MetricFactory factory, string name, string help, params string[] labelNames) { return(factory.CreateSummary(name, help, false, labelNames)); }
public static IMetricFamily <ICounter <long>, ValueTuple <string> > CreateCounterInt64(this MetricFactory factory, string name, string help, string labelName, MetricFlags options = MetricFlags.Default) { return(factory.CreateCounterInt64(name, help, ValueTuple.Create(labelName), options)); }
public static IMetricFamily <IUntyped> CreateUntyped(this MetricFactory factory, string name, string help, params string[] labelNames) { return(factory.CreateUntyped(name, help, false, labelNames)); }
public static IMetricFamily <IHistogram> CreateHistogram(this MetricFactory factory, string name, string help, bool includeTimestamp, bool suppressEmptySamples, double[] buckets, params string[] labelNames) { var options = BuildMetricFlags(includeTimestamp, suppressEmptySamples); return(factory.CreateHistogram(name, help, buckets, options, labelNames)); }
public static IMetricFamily <IHistogram> CreateHistogram(this MetricFactory factory, string name, string help, bool includeTimestamp, double[] buckets, params string[] labelNames) { return(factory.CreateHistogram(name, help, includeTimestamp, true, buckets, labelNames)); }
public static IMetricFamily <IHistogram> CreateHistogram(this MetricFactory factory, string name, string help, params string[] labelNames) { return(factory.CreateHistogram(name, help, false, labelNames)); }
public static IMetricFamily <IGauge> CreateGauge(this MetricFactory factory, string name, string help, params string[] labelNames) { return(factory.CreateGauge(name, help, false, true, labelNames)); }
public static IMetricFamily <IGauge, ValueTuple <string> > CreateGauge(this MetricFactory factory, string name, string help, string labelName, MetricFlags options = MetricFlags.Default) { return(factory.CreateGauge(name, help, ValueTuple.Create(labelName), options)); }
public static IMetricFamily <ICounter <long> > CreateCounterInt64(this MetricFactory factory, string name, string help, bool includeTimestamp, bool suppressEmptySamples, params string[] labelNames) { var options = BuildMetricFlags(includeTimestamp, suppressEmptySamples); return(factory.CreateCounterInt64(name, help, options, labelNames)); }
public static IMetricFamily <IHistogram, ValueTuple <string> > CreateHistogram(this MetricFactory factory, string name, string help, string labelName, double[] buckets = null, MetricFlags options = MetricFlags.Default) { return(factory.CreateHistogram(name, help, ValueTuple.Create(labelName), buckets, options)); }
public static IMetricFamily <IUntyped> CreateUntyped(this MetricFactory factory, string name, string help, bool includeTimestamp, params string[] labelNames) { return(factory.CreateUntyped(name, help, includeTimestamp, true, labelNames)); }