Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Unexpected color of gradient in 0.3.2 #124

Closed
alxrem opened this issue Aug 19, 2020 · 3 comments
Closed

Unexpected color of gradient in 0.3.2 #124

alxrem opened this issue Aug 19, 2020 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@alxrem
Copy link

alxrem commented Aug 19, 2020

statusmap v0.3.2 (according to plugins page in grafana)
grafana Grafana v7.1.1 (3039f9c3bd)

Metric has values from 0 to 1. At the time of observation the metric value is 1. But statuses are displayed with a gradient color corresponding to a value of 0.

statusmap-bug-0 3 2

Here is the same values displayed by statusmap v0.2.0:

statusmap-0 2 0

@lekspyl
Copy link

lekspyl commented Aug 20, 2020

Can confirm, 0.3.2 on Grafana 7.0.1.

@lekspyl
Copy link

lekspyl commented Aug 20, 2020

This behavior is inconsistent: if dataset contains metric values with 0s (red) and 1s (green) colors render correctly:
Screenshot 2020-08-20 at 19 13 20
but if there are only 1s then we observe the same behavior @alxrem described:
Screenshot 2020-08-20 at 19 12 54

@diafour
Copy link
Collaborator

diafour commented Aug 24, 2020

Thank you for your reports. It is definitely a bug and should be fixed.

@diafour diafour added the bug Something isn't working label Aug 24, 2020
@diafour diafour added this to the 0.3.3 milestone Aug 24, 2020
This was referenced Sep 12, 2020
@diafour diafour modified the milestones: 0.3.3, 0.3.4 Oct 12, 2020
@diafour diafour closed this as completed Oct 15, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants