-
Notifications
You must be signed in to change notification settings - Fork 36
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
fix: handle min-max for network dashboard #1763
Changes from 2 commits
5eab65b
f104c08
9724973
f073d69
a2127e0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -639,6 +639,14 @@ | |
} | ||
] | ||
} | ||
}, | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could you share an example of before and after. A live setup will be helpful to see. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have added In our clusters, all the values of For testing purpose only, just multiply value by 100 in query #c in both the places.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. some of the overrides are not found. Could you check and remove stale entries There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. removed. |
||
"id": "max", | ||
"value": 1 | ||
}, | ||
{ | ||
"id": "min", | ||
"value": 0 | ||
} | ||
] | ||
}, | ||
|
@@ -1530,6 +1538,14 @@ | |
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "max", | ||
"value": 1 | ||
}, | ||
{ | ||
"id": "min", | ||
"value": 0 | ||
} | ||
] | ||
}, | ||
|
@@ -2535,54 +2551,6 @@ | |
} | ||
] | ||
}, | ||
{ | ||
"matcher": { | ||
"id": "byName", | ||
"options": "Value #C" | ||
}, | ||
"properties": [ | ||
{ | ||
"id": "unit", | ||
"value": "percentunit" | ||
}, | ||
{ | ||
"id": "custom.displayMode", | ||
"value": "gradient-gauge" | ||
}, | ||
{ | ||
"id": "displayName", | ||
"value": "used %" | ||
}, | ||
{ | ||
"id": "noValue", | ||
"value": "n/a" | ||
}, | ||
{ | ||
"id": "thresholds", | ||
"value": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "rgb(80, 220, 20)", | ||
"value": null | ||
}, | ||
{ | ||
"color": "light-yellow", | ||
"value": 50 | ||
}, | ||
{ | ||
"color": "semi-dark-orange", | ||
"value": 75 | ||
}, | ||
{ | ||
"color": "semi-dark-red", | ||
"value": 90 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"matcher": { | ||
"id": "byName", | ||
|
@@ -2693,7 +2661,6 @@ | |
"node", | ||
"port", | ||
"speed", | ||
"Value #C", | ||
"Value #A", | ||
"Value #B" | ||
] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it only apply to
gradient-gauge
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked with other types which displayed value other than text.
Working as expected with:
color-background-solid
color-background
Don't work as expected with:
lcd-gauge
basic
Will add below 2 types in that condition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done