Skip to content

ui: add latency info to stmt pages#97082

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
maryliag:latency-info-ui
Feb 15, 2023
Merged

ui: add latency info to stmt pages#97082
craig[bot] merged 1 commit intocockroachdb:masterfrom
maryliag:latency-info-ui

Conversation

@maryliag
Copy link
Copy Markdown
Contributor

Part Of: #72954

Screenshot 2023-02-13 at 5 53 57 PM

Add p50, p90, p99, max and min latency to
Statement table on SQL Activity page.

Release note (ui change): Add columns p50, p90, p99, max and min latency for Statement table on SQL Activity page.

@maryliag maryliag requested review from a team February 13, 2023 22:55
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@maryliag maryliag requested review from dongniwang and kevin-v-ngo and removed request for a team February 13, 2023 22:55
Copy link
Copy Markdown

@ericharmeling ericharmeling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some tooltip nits!

Reviewed 2 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @dongniwang, @kevin-v-ngo, and @maryliag)


pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 911 at r1 (raw file):

        placement="bottom"
        style="tableTitle"
        content={<p>Maximum latency value of the {contentModifier}.</p>}

nit: suggestion

Suggestion:

The highest latency value in the sampled {contentModifier} executions with this fingerprint.

pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 932 at r1 (raw file):

        placement="bottom"
        style="tableTitle"
        content={<p>Minimum latency value of the {contentModifier}.</p>}

nit: suggestion

Suggestion:

The lowest latency value in the sampled {contentModifier} executions with this fingerprint.

pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 953 at r1 (raw file):

        placement="bottom"
        style="tableTitle"
        content={<p>The 50 Percentile for the {contentModifier}.</p>}

nit: suggestion

Suggestion:

The 50th latency percentile for {contentModifier} executions with this fingerprint.

pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 974 at r1 (raw file):

        placement="bottom"
        style="tableTitle"
        content={<p>The 90 Percentile for the {contentModifier}.</p>}

nit: suggestion

Suggestion:

The 90th latency percentile for {contentModifier} executions with this fingerprint.

pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 995 at r1 (raw file):

        placement="bottom"
        style="tableTitle"
        content={<p>The 99 Percentile for the {contentModifier}.</p>}

nit: suggestion

Suggestion:

The 99th latency percentile for {contentModifier} executions with this fingerprint.

Copy link
Copy Markdown
Contributor Author

@maryliag maryliag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @dongniwang, @ericharmeling, and @kevin-v-ngo)


pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 911 at r1 (raw file):

Previously, ericharmeling (Eric Harmeling) wrote…

nit: suggestion

All your suggestions are a lot better, thank you!


pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 932 at r1 (raw file):

Previously, ericharmeling (Eric Harmeling) wrote…

nit: suggestion

Done


pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 953 at r1 (raw file):

Previously, ericharmeling (Eric Harmeling) wrote…

nit: suggestion

Done


pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 974 at r1 (raw file):

Previously, ericharmeling (Eric Harmeling) wrote…

nit: suggestion

Done


pkg/ui/workspaces/cluster-ui/src/statsTableUtil/statsTableUtil.tsx line 995 at r1 (raw file):

Previously, ericharmeling (Eric Harmeling) wrote…

nit: suggestion

Done

Part Of: cockroachdb#72954

Add p50, p90, p99, max and min latency to
Statement table on SQL Activity page.

Release note (ui change): Add columns p50, p90, p99, max and min
latency for Statement table on SQL Activity page.
@maryliag
Copy link
Copy Markdown
Contributor Author

TFTR!
bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 14, 2023

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 15, 2023

Build succeeded:

@craig craig bot merged commit e73303a into cockroachdb:master Feb 15, 2023
@maryliag maryliag deleted the latency-info-ui branch February 16, 2023 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants