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

chore: add the unit for vertex processing rates on ui #1435

Merged
merged 4 commits into from
Jan 4, 2024

Conversation

KeranYang
Copy link
Member

@KeranYang KeranYang commented Jan 3, 2024

Quentin Faidide from numaflow slack channel:

The units are not shown in the Processing Rates panel. It's not the end of the world since it's easy to check against the 1m one with the unit in the graph, but it's free lunch to add it and have users figuring out instantly what the numbers means

Before this PR

Screenshot 2024-01-03 at 5 01 50 PM

After

Screenshot 2024-01-03 at 5 03 36 PM

@KeranYang KeranYang requested a review from darshansimha January 3, 2024 22:09
@KeranYang KeranYang marked this pull request as ready for review January 3, 2024 22:15
@@ -39,14 +39,14 @@ export function ProcessingRates({
rates.push({
partition: index,
oneM: item.processingRates["1m"]
? item.processingRates["1m"].toFixed(2)
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of changing the rates and their types, can you add the "/sec" text to the JSX on line number : 85.
That way we can keep the data types as it is.

@KeranYang KeranYang merged commit 9472651 into numaproj:main Jan 4, 2024
19 checks passed
@KeranYang KeranYang deleted the rate-ui branch March 18, 2024 15:04
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