Ejemplo n.º 1
0
        public static IMetricFamily <IGauge <long> > CreateGaugeInt64(this MetricFactory factory, string name, string help, bool includeTimestamp, bool suppressEmptySamples, params string[] labelNames)
        {
            var options = BuildMetricFlags(includeTimestamp, suppressEmptySamples);

            return(factory.CreateGaugeInt64(name, help, options, labelNames));
        }
Ejemplo n.º 2
0
 public static IMetricFamily <IGauge <long> > CreateGaugeInt64(this MetricFactory factory, string name, string help, params string[] labelNames)
 {
     return(factory.CreateGaugeInt64(name, help, false, labelNames));
 }
Ejemplo n.º 3
0
 public static IMetricFamily <IGauge <long> > CreateGaugeInt64(this MetricFactory factory, string name, string help, bool includeTimestamp, params string[] labelNames)
 {
     return(factory.CreateGaugeInt64(name, help, includeTimestamp, true, labelNames));
 }
Ejemplo n.º 4
0
 public static IMetricFamily <IGauge <long>, ValueTuple <string> > CreateGaugeInt64(this MetricFactory factory, string name, string help, string labelName, MetricFlags options = MetricFlags.Default)
 {
     return(factory.CreateGaugeInt64(name, help, ValueTuple.Create(labelName), options));
 }