Skip to content

Conversation

ricoberger
Copy link
Member

This adds a new option "table-large" for the Prometheus chart legend,
which can be used to have a larger legend table, when there are a lot of
values to display in the legend.

We also changed the formatting of the values in the legend and in
sparkline charts, so that they are rounded to a maximum of 4 decimals.

This adds a new option "table-large" for the Prometheus chart legend,
which can be used to have a larger legend table, when there are a lot of
values to display in the legend.

We also changed the formatting of the values in the legend and in
sparkline charts, so that they are rounded to a maximum of 4 decimals.
@ricoberger ricoberger merged commit 238c82d into main Aug 9, 2021
@ricoberger ricoberger deleted the add-new-option-for-chart-legend branch August 9, 2021 20:21
ricoberger added a commit that referenced this pull request Aug 11, 2021
Until now it was possible that the tooltip in the nivo charts wasn't
completly visible. That should be fixed now. For that we are checking if
the point for which the tooltip is shown is in the first half or second
half of the chart. If it is in the first half the tooltip will be
displayed on the right of the cursor and if it is in the second half the
tooltip will be displayed on the right of the cursor.

We also apply the roundNumber function, which was introduced in #107, in
the table component of the Prometheus plugin.

The "/api/health" endpoint is now excluded from all middlewares. This
was changed, so that we do not spam metrics and logs with the values for
this enpoint, because it makes finding the right logs in a Kubernetes
environment with regular health check difficult.

Last but not least we updated all the NPM packages, which we are using
in the plugins.
ricoberger added a commit that referenced this pull request Aug 11, 2021
Until now it was possible that the tooltip in the nivo charts wasn't
completly visible. That should be fixed now. For that we are checking if
the point for which the tooltip is shown is in the first half or second
half of the chart. If it is in the first half the tooltip will be
displayed on the right of the cursor and if it is in the second half the
tooltip will be displayed on the right of the cursor.

We also apply the roundNumber function, which was introduced in #107, in
the table component of the Prometheus plugin.

The "/api/health" endpoint is now excluded from all middlewares. This
was changed, so that we do not spam metrics and logs with the values for
this enpoint, because it makes finding the right logs in a Kubernetes
environment with regular health check difficult.

Last but not least we updated all the NPM packages, which we are using
in the plugins.
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.

1 participant