Beispiel #1
0
 public void Start()
 {
     Logger.LogAction("starting metric timer", () =>
     {
         _collector.Open();
         _timer.Start();
     });
 }
 public void Start()
 {
     Logger.LogAction("starting prometheus server", () =>
     {
         DefaultCollectorRegistry.Instance.RegisterOnDemandCollectors(_prometheusCollection);
         _collector.Open();
         _server.Start();
     });
 }