Esempio n. 1
0
 public MetricsController(MqttClientFactory mqttClientFactory)
 {
     _mqttClientFactory = mqttClientFactory;
     _connectedClientsGauge.Set(_mqttClientFactory.ConnectedClientsCount());
 }