public static Counter CreateCounter(string name, string help, CounterConfiguration configuration) =>
 DefaultFactory.CreateCounter(name, help, configuration);
Beispiel #2
0
 /// <inheritdoc/>
 public Counter Counter(string name, string help, CounterConfiguration configuration = null)
 {
     return(_innerMetricFactory.CreateCounter(name, help, configuration));
 }
Beispiel #3
0
 public static Counter CreateCounter(string name, string help, params string[] labelNames)
 {
     return(DefaultFactory.CreateCounter(name, help, labelNames));
 }
Beispiel #4
0
 protected override ICollector <ICounter> CreateMetricInstance(string[] labelNames) => MetricFactory.CreateCounter(
     "grpc_requests_received_total",
     "Number of gRPC requests received (including those currently being processed).",
     new CounterConfiguration
 {
     LabelNames = labelNames
 });