Fix viewer protocol counts in prometheus output
This commit is contained in:
		
							parent
							
								
									f29d48154f
								
							
						
					
					
						commit
						9fe01e82d9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1588,9 +1588,9 @@ void Controller::handlePrometheus(HTTP::Parser &H, Socket::Connection &conn, int
 | 
				
			||||||
      totUnspecified++;
 | 
					      totUnspecified++;
 | 
				
			||||||
    }else if (thisSessId[0] == 'O'){
 | 
					    }else if (thisSessId[0] == 'O'){
 | 
				
			||||||
      totOutputs++;
 | 
					      totOutputs++;
 | 
				
			||||||
      outputs[statComm.getConnector(idx)]++;
 | 
					 | 
				
			||||||
    }else{
 | 
					    }else{
 | 
				
			||||||
      totViewers++;
 | 
					      totViewers++;
 | 
				
			||||||
 | 
					      outputs[statComm.getConnector(idx)]++;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue