Load balancer now detects what streams are available on what servers, does not direct traffic if not configured
This commit is contained in:
parent
4b360c8164
commit
e05268f670
2 changed files with 15 additions and 0 deletions
|
@ -1697,6 +1697,10 @@ void Controller::handlePrometheus(HTTP::Parser & H, Socket::Connection & conn, i
|
|||
}
|
||||
}
|
||||
|
||||
jsonForEach(Storage["streams"], sIt){
|
||||
resp["conf_streams"].append(sIt.key());
|
||||
}
|
||||
|
||||
|
||||
H.Chunkify(resp.toString(), conn);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue