grafana / cog

Code Generation with a human touch
Apache License 2.0
43 stars 2 forks source link

Specific values for Threshold colors in dashboard #558

Open spinillos opened 1 week ago

spinillos commented 1 week ago

Some customers asked to have specific values for threshold color. They need to find in the frontend what are the values to set.

The field is a string, but show it as enum could be nice.

K-Phoen commented 1 week ago

Threshold color can be any color value. I know that you can use named colors, hexadecimal codes and probably even rgb() notation. An enum wouldn't make sense here I think.

As often, it would be useful if the schemas described that for us 🤷