示例#1
0
 public void Stop()
 {
     Logger.LogAction("stopping metric timer", () =>
     {
         _collector.Close();
         _timer.Stop();
     });
 }
 public void Stop()
 {
     Logger.LogAction("stopping prometheus server", () =>
     {
         _collector.Close();
         _server.Stop();
     });
 }