-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hackweek: Relay dashboard #2422
Conversation
This reverts commit a454bc6.
…o feat/admin-dashboard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's 🚢 it!
if let Ok(Ok(bytes)) = spawn_blocking(move || rx.recv()).await { | ||
let message = String::from_utf8_lossy(&bytes).to_string(); | ||
let res = socket.send(message.into()).await; | ||
if res.is_err() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error happens only on client disconnect or is there a specific error we should be looking for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied this straight from the example so it Should Be Fine™.
Co-authored-by: Oleksandr <1931331+olksdr@users.noreply.github.com>
Add Web UI Dashboard to Relay.
TODOs
Bugs
How this looks like now
Currently we can see:
statsd
metrics - the graphs will appear as soon as there are any data produced