summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grafana_dashboards/schema/panel/singlestat.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/grafana_dashboards/schema/panel/singlestat.py b/grafana_dashboards/schema/panel/singlestat.py
index ffa37fd..1e7a7ae 100644
--- a/grafana_dashboards/schema/panel/singlestat.py
+++ b/grafana_dashboards/schema/panel/singlestat.py
@@ -81,7 +81,8 @@ class Singlestat(Base):
81 'valueFontSize', default='80%'): v.All( 81 'valueFontSize', default='80%'): v.All(
82 v.Match(r'^[1-9]?[0]{1}%$|^1[0-9]?[0]{1}%$|^200%$')), 82 v.Match(r'^[1-9]?[0]{1}%$|^1[0-9]?[0]{1}%$|^200%$')),
83 v.Required('valueName', default='avg'): v.Any( 83 v.Required('valueName', default='avg'): v.Any(
84 'avg', 'current', 'max', 'min', 'total'), 84 'min', 'max', 'avg', 'current', 'total',
85 'name', 'first', 'delta', 'diff', 'range', 'last_time'),
85 v.Optional('datasource'): v.All(str), 86 v.Optional('datasource'): v.All(str),
86 v.Optional('decimals'): v.All(int, v.Range(min=0, max=12)), 87 v.Optional('decimals'): v.All(int, v.Range(min=0, max=12)),
87 v.Optional('gauge'): gauge, 88 v.Optional('gauge'): gauge,