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

fix: units and tooltip content for metric charts #2333

Merged
merged 6 commits into from
Jan 22, 2025

Conversation

adarsh0728
Copy link
Contributor

@adarsh0728 adarsh0728 commented Jan 17, 2025

  1. Remove legends like "ms" and "Units" from Y-axis (default mode, will show legends if user configure it)
  2. The values of chart tooltip are now fixed at two decimal places.
  3. Unit("ms", "k" etc) are also included in the tooltip values.
  4. Added metric_description in the config for each metric so that it can be displayed in the info icon next to metric's display name.

@adarsh0728
Copy link
Contributor Author

adarsh0728 commented Jan 17, 2025

2 decimal precision and unit("ms") in tooltip value:
Screenshot 2025-01-17 at 6 04 11 PM

@adarsh0728
Copy link
Contributor Author

Metric Description info icon:
Screenshot 2025-01-20 at 11 32 09 AM
Screenshot 2025-01-20 at 11 32 21 AM

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.81%. Comparing base (c492520) to head (7337a78).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2333      +/-   ##
==========================================
- Coverage   67.94%   67.81%   -0.13%     
==========================================
  Files         352      352              
  Lines       46527    46529       +2     
==========================================
- Hits        31613    31555      -58     
- Misses      13833    13896      +63     
+ Partials     1081     1078       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adarsh0728 adarsh0728 requested a review from veds-g January 22, 2025 04:35
@adarsh0728 adarsh0728 marked this pull request as ready for review January 22, 2025 05:01
Signed-off-by: adarsh0728 <[email protected]>
Copy link
Contributor

@veds-g veds-g left a comment

Choose a reason for hiding this comment

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

LGTM

@whynowy whynowy merged commit bdab759 into numaproj:main Jan 22, 2025
25 checks passed
jacque1ine pushed a commit to jacque1ine/numaflow that referenced this pull request Jan 23, 2025
jacque1ine pushed a commit to jacque1ine/numaflow that referenced this pull request Jan 23, 2025
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