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

Base color not working #81

Open
whizkidTRW opened this issue May 14, 2024 · 0 comments
Open

Base color not working #81

whizkidTRW opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@whizkidTRW
Copy link

Describe the problem
I want to differentiate between missing data (Unknown or exactly 0) on the links vs. low utilization (0.01%, 0.5%, etc.)

To Reproduce

  1. Set the Base Color to the "default" color desired, in my case gray: rgb(93, 93, 93)
  2. Set the color scale to the following: (Notice nothing < 0.0001)
    0.0001 --> Blue
    0.05 --> Green
    75 --> Yellow
    90 --> Red
  3. Links are rendered with NO background color instead of the Base Color (second screenshot).
  4. Note that if you add into the Color Scale a 0 --> Gray value (first screenshot), the legend gets all messy because the 0 and 0.0001 are on top of each other.

Expected behavior
I expected the lack of values in the Color Scale < 0.0001 would use the default color (gray) and then legend would look right.

Screenshots
Screenshots attached. ENST to HRTS is the link I tested with. Removed the query, thus yielding missing data and the link color goes away. Base Color is not being used for some reason.

Screenshot 2024-05-14 at 9 47 50 AM

Screenshot 2024-05-14 at 9 49 38 AM

VERSIONS! (please complete the following information):

  • Browser: Chrome 124.0.6367.208
  • Grafana Version: 10.4.2
  • Plugin Version: 0.4.3
  • Additional Versions: Influxdb 2.8 & Telegraf 1.29.2

Additional context
We have a number of links in our network that are low utilized because they are in the middle of rings and the traffic is taking the shorter path. We want to differentiate these areas differently than those links that have ZERO data, ie. a problem with the underlying query, as a result from a network migration and the query needs to be updated. An option to render no data or 0 as a particular color would be a fine solution as well, but that's what I figured the Base Color option was intended for.

@whizkidTRW whizkidTRW added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant