Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add value mappings for sparkline charts #45

Merged
merged 1 commit into from
Apr 24, 2021
Merged

Conversation

ricoberger
Copy link
Member

Sparkline charts in the Prometheus plugin are supporting value mappings
now. This allows a user to specify a map to overwrite the displayed
value.

We also fixed a bug for NaN values in the charts. The used charting
library doesn't support NaN values, so we have to convert them to "null"
before the chart is rendered.

Sparkline charts in the Prometheus plugin are supporting value mappings
now. This allows a user to specify a map to overwrite the displayed
value.

We also fixed a bug for NaN values in the charts. The used charting
library doesn't support NaN values, so we have to convert them to "null"
before the chart is rendered.
@ricoberger ricoberger merged commit 1e38adf into main Apr 24, 2021
@ricoberger ricoberger deleted the add-value-mappings branch April 24, 2021 12:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant