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

Improve Charts #651

Merged
merged 1 commit into from
May 13, 2024
Merged

Improve Charts #651

merged 1 commit into from
May 13, 2024

Conversation

ricoberger
Copy link
Member

@ricoberger ricoberger commented May 13, 2024

This commit contains several improvements to the charts used within the app:

  • The charts used for ResourceQuotas and LimitRanges are now splitted, so that different metrics are not mixed anymore
  • Charts which are related to CPU cores are now using m instead of Cores as unit.
  • The live metrics charts are now containing a tooltip.
  • The legend in the live metrics charts are now better formatted, so that the text doesn't overflow anymore, when the name of a container is very long.
  • The x axis in the Prometheus charts is now better formatted, so that the overlap of labels is minimized.
  • The values in the Prometheus charts are now better formatted by using the NumberFormat.compact(locale: "en_US").format() function.
  • In the Prometheus charts it is now possible to select a single metric in the legend, which should be shown in the chart.

We also added a new decoration parameter to all text styling functions, so that a text can be underlined, which is used to indicate the selected metric in the Prometheus charts legend.

@ricoberger ricoberger added the changelog: changed Something was changed or updated label May 13, 2024
This commit contains several improvements to the charts used within the
app:

- The charts used for `ResourceQuotas` and `LimitRanges` are now
  splitted, so that different metrics are not mixed anymore
- Charts which are related to CPU cores are now using `m` instead of
  `Cores` as unit.
- The live metrics charts are now containing a tooltip.
- The legend in the live metrics charts are now better formatted, so
  that the text doesn't overflow anymore, when the name of a container
  is very long.
- The x axis in the Prometheus charts is now better formatted, so that
  the overlap of labels is minimized.
- The values in the Prometheus charts are now better formatted by using
  the `NumberFormat.compact(locale: "en_US").format()` function.
- In the Prometheus charts it is now possible to select a single metric
  in the legend, which should be shown in the chart.

We also added a new `decoration` parameter to all text styling
functions, so that a text can be underlined, which is used to indicate
the selected metric in the Prometheus charts legend.
@ricoberger ricoberger merged commit a19dbca into main May 13, 2024
2 checks passed
@ricoberger ricoberger deleted the improve-charts branch May 13, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: changed Something was changed or updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant