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
ui: add a metrics dashboard for changefeeds #34427
Conversation
This is all entirely out of my wheelhouse and I entirely cargo-culted it from other dashboards, so definitely do a careful review, please. The graph names and labels could probably use some wordsmithing (cc @rolandcrosby maybe?). Also a scrollbar is showing up in the dropdown now. I tried to look into it, but couldn't get the dropdown to stay open while i chrome inspector'd it and figured it'd be easier to ask. |
import { GraphDashboardProps } from "./dashboardUtils"; | ||
|
||
export default function (props: GraphDashboardProps) { | ||
const { storeSources } = props; |
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.
nit: indent with 2 spaces (sadly we don't have an autoformatter configured)
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.
Done
It's great to have a first stab at this -- thanks Dan! A few notes:
|
@vilterp Any thoughts on what to do about this? |
Hm, I don't remember what we did last time. Any prop on the dropdown that just lets you make it taller without having to scroll? |
Gotcha, let's sync offline on the timings names. I agree they're not great, but I've thought about it and don't have anything better yet.
Changefeeds and admin ui actually have different docs writers, so first step is figuring out who 😀
All aggregated. It's too expensive to store this per-changefeed, unfortunately.
I was able to pattern match this page, but that would likely require some original work (and visual design). If it falls to me to do it, I don't think it'll make the release. |
These metrics have proven useful for introspecting changefeed behavior, so adding them as a dashboard in case any users hit something that needs debugging. Also will be useful for users to see what's going on in the cluster's changefeeds. Release note (admin ui change): `CHANGEFEED` metrics are now exposed in the UI.
For 2.2 we don't need to add anything besides the timeseries graphs to this page. We can revisit in a future release. Aside from the naming changes we discussed offline this LGTM. |
@rolandcrosby updated based on our convo, feel pretty good about the structure. Happy to push a wordsmithing PR if any changes fall out of documenting it. |
Thanks for the reviews! @vilterp and I dug into the scrollbar in the dashboard dropdown but didn't find anything yet. He gave me the go ahead to merge this as-is and get it in the monday alpha, but I'll file an issue to revisit. (And @piyush-singh, he wanted me to give you a heads up about this.) bors r=vilterp,rolandcrosby |
34427: ui: add a metrics dashboard for changefeeds r=vilterp,rolandcrosby a=danhhz These metrics have proven useful for introspecting changefeed behavior, so adding them as a dashboard in case any users hit something that needs debugging. Also will be useful for users to see what's going on in the cluster's changefeeds. Release note (admin ui change): `CHANGEFEED` metrics are now exposed in the UI. Co-authored-by: Daniel Harrison <daniel.harrison@gmail.com>
Build succeeded |
These metrics have proven useful for introspecting changefeed behavior,
so adding them as a dashboard in case any users hit something that needs
debugging. Also will be useful for users to see what's going on in the
cluster's changefeeds.
Release note (admin ui change):
CHANGEFEED
metrics are now exposed inthe UI.