Skip to content
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/shared/profile/IcicleGraphArrow: Create arrow-based IcicleGraph #3326

Merged
merged 12 commits into from
Jul 5, 2023

Conversation

metalmatze
Copy link
Member

These are the frontend changes to read flame graphs from arrow records.
The backend changes are in #3069 which this PR depends on.

@metalmatze metalmatze requested a review from a team as a code owner June 20, 2023 14:27
@metalmatze metalmatze requested review from a team as code owners June 21, 2023 17:39
Base automatically changed from flamegraph-arrow to main June 22, 2023 10:55
@metalmatze metalmatze force-pushed the flamegraph-arrow-ui branch 2 times, most recently from 2f24d6a to fd6853d Compare July 3, 2023 16:57
Copy link
Contributor

@manojVivek manojVivek left a comment

Choose a reason for hiding this comment

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

Lgtm overall!

className="rounded-md border bg-gray-50 px-3 py-2 text-sm shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-gray-900"
onChange={e => setSortBy(e.target.value)}
>
<option value="function_name">Function Name</option>
Copy link
Contributor

Choose a reason for hiding this comment

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

Shall we place the select dropdown next to the Reset View button and add a text in front. Like this:

"Reset View" "Sort by: <Select />"

@@ -52,7 +53,8 @@ type NavigateFunction = (path: string, queryParams: any, options?: {replace?: bo

export interface FlamegraphData {
loading: boolean;
data?: Flamegraph;
Copy link
Contributor

Choose a reason for hiding this comment

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

We might need to cater for this removed prop for the grafana plugin as that's the reason for the typing error here.

Copy link
Member Author

Choose a reason for hiding this comment

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

aah, I see. Let's not rename it then, but only add the table one for now. I think there is a bigger refactoring we should do anyway.

Copy link
Contributor

@yomete yomete left a comment

Choose a reason for hiding this comment

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

lgtm overall! just a few things to work over that i mentioned.

@metalmatze
Copy link
Member Author

There are some longer-running CI checks still running, but I would like to get this in before we have another conflict. Happy to follow up with PRs if anything is found.

@metalmatze metalmatze merged commit 3f56619 into main Jul 5, 2023
@metalmatze metalmatze deleted the flamegraph-arrow-ui branch July 5, 2023 15:07
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