Skip to content

ui: add internal app filter to active statements and transactions pages#83014

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
ericharmeling:internal-stmt-txn-filters
Jul 7, 2022
Merged

ui: add internal app filter to active statements and transactions pages#83014
craig[bot] merged 1 commit intocockroachdb:masterfrom
ericharmeling:internal-stmt-txn-filters

Conversation

@ericharmeling
Copy link
Copy Markdown

This PR adds a single internal app filter option on to the Active Statements and Active Transactions pages. Active
statements and transactions run by internal apps are no longer displayed by default.

See commit message for release note.

Screen.Recording.2022-06-16.at.4.08.00.PM.mov

Fixes #81072.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@ericharmeling ericharmeling requested a review from a team June 16, 2022 20:22
@ericharmeling
Copy link
Copy Markdown
Author

I will probably want to update this PR to handle unset as shown in #83008... I'll wait for that PR to land and then update this one accordingly.

Copy link
Copy Markdown
Contributor

@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.

Awesome!
Agree with updating the usage on unset here.
Also, can you confirm if you select both app names on the filter it will show values for both? I think that was the only test missing from the video (no need to record another video, just want to make sure you tested that case too)

Otherwise, :lgtm:

Reviewed 7 of 7 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @ericharmeling)

@ericharmeling ericharmeling force-pushed the internal-stmt-txn-filters branch from 97251c6 to 09dcb32 Compare June 28, 2022 15:08
@ericharmeling
Copy link
Copy Markdown
Author

Also, can you confirm if you select both app names on the filter it will show values for both? I think that was the only test missing from the video (no need to record another video, just want to make sure you tested that case too)

Confirmed!

Screen.Recording.2022-06-28.at.11.06.36.AM.mov

@ericharmeling ericharmeling force-pushed the internal-stmt-txn-filters branch 10 times, most recently from 33c3781 to b955f18 Compare July 5, 2022 17:04
@ericharmeling ericharmeling force-pushed the internal-stmt-txn-filters branch from b955f18 to 7b6eeee Compare July 6, 2022 17:30
This commit adds a single internal app filter option on to the
Active Statements and Active Transactions pages. Active
statements and transactions run by internal apps are no longer
displayed by default.

Release note (ui change): The Active Statements and Active
Transactions pages now have a single filter option for internal
apps. These pages no longer display internal statements and transactions
by default.
@ericharmeling ericharmeling force-pushed the internal-stmt-txn-filters branch from 7b6eeee to c9f8474 Compare July 7, 2022 19:59
@ericharmeling
Copy link
Copy Markdown
Author

The Bazel check failures appear to be unrelated to the changes in this PR

@ericharmeling
Copy link
Copy Markdown
Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 7, 2022

Build succeeded:

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.

align filter for internal on active stmt/txn with sessions

3 participants