Fix stats JSON output of connector counts -_-
This commit is contained in:
parent
93d28526f7
commit
af87ab3552
1 changed files with 1 additions and 1 deletions
|
@ -1777,7 +1777,7 @@ void Controller::handlePrometheus(HTTP::Parser & H, Socket::Connection & conn, i
|
|||
resp["streams"][it->first]["curr"].append(it->second.currOuts);
|
||||
}
|
||||
for (std::map<std::string, uint32_t>::iterator it = outputs.begin(); it != outputs.end(); ++it){
|
||||
resp["outputs"][it->first] = it->second;
|
||||
resp["output_counts"][it->first] = it->second;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue