Beispiel #1
0
 public IActionResult Get2()
 {
     _histogram.Observe(1); // No Crash
     _histogram.WithLabels("test1", "value1").Observe(1);
     _histogram.WithLabels("test2", "value2").Observe(2);
     return(Ok());
 }
 public void Observe()
 {
     _histogram.Observe(_rnd.Next(100));
 }
 public void Observe()
 {
     _summary.Observe(_rnd.Next(100));
 }