Live: display stream rate, fix duplicate channels in list response (#37365)

This commit is contained in:
Alexander Emelin
2021-07-30 21:05:39 +03:00
committed by GitHub
parent 012b9c41a5
commit 31903778ae
6 changed files with 174 additions and 51 deletions

View File

@@ -189,7 +189,7 @@ func (s *Handler) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
}
for _, mf := range metricFrames {
err := stream.Push(user.OrgId, mf.Key(), mf.Frame())
err := stream.Push(mf.Key(), mf.Frame())
if err != nil {
logger.Error("Error pushing frame", "error", err, "data", string(body))
return