Fix viewer protocol counts in prometheus output

This commit is contained in:
Thulinma 2023-04-10 13:24:27 +02:00
parent f29d48154f
commit 9fe01e82d9

View file

@ -1588,9 +1588,9 @@ void Controller::handlePrometheus(HTTP::Parser &H, Socket::Connection &conn, int
totUnspecified++;
}else if (thisSessId[0] == 'O'){
totOutputs++;
outputs[statComm.getConnector(idx)]++;
}else{
totViewers++;
outputs[statComm.getConnector(idx)]++;
}
}