Skip to content

Commit

Permalink
Improve no value charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Jogeleit committed Feb 24, 2021
1 parent 82d8dda commit 3750b9d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/policy-reporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: policy-reporter
description: K8s PolicyReporter watches for wgpolicyk8s.io/v1alpha1.PolicyReport resources. It creates Prometheus Metrics and can send rule validation events to Loki

type: application
version: 0.7.1
version: 0.7.2
appVersion: 0.6.0
12 changes: 9 additions & 3 deletions charts/policy-reporter/templates/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,17 @@ data:
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "orange",
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 1
}
]
},
Expand All @@ -87,7 +92,7 @@ data:
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
"last"
],
"fields": "",
"values": false
Expand Down Expand Up @@ -117,6 +122,7 @@ data:
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
Expand Down Expand Up @@ -147,7 +153,7 @@ data:
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
"last"
],
"fields": "",
"values": false
Expand Down

0 comments on commit 3750b9d

Please sign in to comment.