-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: surface debug pages for users #20690
Comments
If we're gonna expose these maybe we should just put a link to |
They should be at least labeled as Advanced or something like that.
…On Wed, Dec 13, 2017 at 4:26 PM, Andrew Couch ***@***.***> wrote:
If we're gonna expose these maybe we should just put a link to /debug in
the sidebar (what if the cockroach secretly linked to debug?) and let them
just browse them all? If we mark them advanced/experimental it's probably
okay if they're rough around the edges?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20690 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABihuTMN5fUCFSkOKL-dVpfQaoGqdDsiks5tAEDTgaJpZM4RBFjd>
.
|
Should we go with something somewhere between being as hidden as the
Cockroach Logo (since that's pretty much the same hidden level as what we
have now) and actually giving it placement in the side bar? Or perhaps it
is aligned to the bottom of the side bar instead of the top left, and
marked as experimental?
Persona-wise, I think this is really going after the developer who is
testing CockroachDB and trying to get it to work, not for the DBA who is
debugging CockroachDB on a daily basis. This is because we are only
surfacing these pages now for the purpose of helping users out who keep
asking questions that could be solved by looking at the debug pages. We
also might eventually want to place some more user-friendly and advanced
pages under the CCL license.
On Wed, Dec 13, 2017 at 4:38 PM, Bram Gruneir <[email protected]>
wrote:
… They should be at least labeled as Advanced or something like that.
On Wed, Dec 13, 2017 at 4:26 PM, Andrew Couch ***@***.***>
wrote:
> If we're gonna expose these maybe we should just put a link to /debug in
> the sidebar (what if the cockroach secretly linked to debug?) and let
them
> just browse them all? If we mark them advanced/experimental it's probably
> okay if they're rough around the edges?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/cockroachdb/cockroach/issues/
20690#issuecomment-351529830>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABihuTMN5fUCFSkOKL-
dVpfQaoGqdDsiks5tAEDTgaJpZM4RBFjd>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20690 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFgDWPtHawwUhDk_xzjTcvFs3WLj0ofdks5tAEPcgaJpZM4RBFjd>
.
--
Diana Hsieh
[email protected]
407-690-9048
|
My intuition runs mostly contrary to that. The debug pages are the stuff that only makes sense if you're extremely familiar with the inner workings of the system. If there are parts of the debug pages that you think are valuable to beginners, I would advise pulling them out of the |
@tschottdorf I actually think we are totally aligned. I agree that the pages you listed are the most important ones for beginners which is why I marked them as focus areas in the acceptance criteria. I guess what I should clarify is that I think we should expose these in a way that a beginner could use them, and hide the more advanced options either under a different grouping or in an expansion menu so that beginners know where to look first. |
One other thought: if they're hidden/undocumented, it's reasonable for us to deprioritize bug reports. Given the length of our bug list, that might be a useful feature. OTOH, since they're generally really useful for us developing the system, we probably want to prioritize bug reports anyway. |
@couchand that's a good point. We probably shouldn't take on the burden of making this super user-friendly until we decide to prioritize it. I think @josueeee is coming up with an approach during his free friday time, so we should be able to at least get something out there, and mark it as experimental or something. |
ok, based on our convo from yesterday, it seems like we are agreed that we should move forward with this, with the caveat that we really need to clear up the debt we have around being able to support these pages through automated testing (message received!). @josueeee I added some new user stories since it appears that we may need to stick in zone configs in the debug pages, and we also have @couchand's nifty localities page. fyi @vilterp re zone config matrix. Let's merge as a debug page and revisit if we have time? @Amruta-Ranade do you know how we document experimental features right now? |
@dianasaur323 We document them as regular features and mark them as "Experimental" (example: https://www.cockroachlabs.com/docs/stable/import.html) |
@Amruta-Ranade I see - could we discuss writing up a short "user contract" of what users can expect when a feature is experimental, and link to that documentation? |
@dianasaur323 Yes. |
Awesome! Thanks. Once I hash out experimental vs beta, I'll open up an
issue in docs.
…On Wed, Jan 31, 2018 at 9:31 AM, Amruta Ranade ***@***.***> wrote:
@dianasaur323 <https://github.com/dianasaur323> Yes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20690 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFgDWEfDPHC7YQW3s3mfluy_fSTziRKXks5tQHlGgaJpZM4RBFjd>
.
--
Diana Hsieh
[email protected]
407-690-9048
|
How do the debug pages fit in as They are an advanced feature, but definitely not experimental. |
I'm glad you asked this question - we are actually hashing out exactly what experimental means, and you will hear an update about it over the next couple weeks. Short answer is that experimental means we make no guarantees about the UI, how long they will persist in that state, and how polished they are. We don't want to take on the burden of maintaining backwards compatibility on these pages. We will likely start pulling info surfaced in these pages into other components in the admin UI over the next couple releases. |
My point is that that is very different than import. Import was experimental because it was not complete and fairly flakey. And experimental fits that perfectly. The UI for the debug pages is clunky and functional, but not in that much flux. They could use some polish and some styling, but I don't think they're going anywhere and being overhauled in any meaningful way in the short or even longer term. |
Popping over to @piyush-singh |
@vilterp following up with some tentative copy as discussed: Top of the page: The following pages are meant for advanced monitoring and troubleshooting. Note that these are experimental and subject to change. |
Here's the link to the docs page for the custom metrics chart: https://www.cockroachlabs.com/docs/stable/admin-ui-custom-chart-debug-page.html |
Edits for note at the top of the page: |
31195: sql: fixed flakey tests for cancelled/errored schema changes r=eriktrinh a=eriktrinh TestBackfillError had the async schema changer execute immediately, before the synchronous one could see the error. TestCancelSchemaChange had the GC TTL set to 0 during the SELECT. Fixes #31175, #31177 Release note: None 31218: ui: surface debug pages r=couchand a=couchand Add a (somewhat muted) link in the sidebar for the debug pages, an informational note about the provisional status of the pages, and a snazzy top panel for the ones we want to call attention to. <img width="1351" alt="screen shot 2018-10-10 at 4 38 29 pm" src="https://user-images.githubusercontent.com/793969/46764652-062ebb80-ccab-11e8-990a-4123a1e3f0a5.png"> Closes #20690 Co-authored-by: Erik Trinh <[email protected]> Co-authored-by: Andrew Couch <[email protected]> Co-authored-by: Pete Vilter <[email protected]>
cc @josueeee your requested user stories for the debug page in 2.0
Usability
and cc @BramGruneir for thoughts. For context, we don't have a lot of time to brush the debug pages up, so this is incredibly limited in scope. Basically trying to highlight what would be most useful to users who are not CockroachDB experts.
The text was updated successfully, but these errors were encountered: