Update valueName values
Over time there are more possible valueName options; this is taken
directly from the current list [1]
[1] 67d0bca3cb/public/app/plugins/panel/singlestat/module.ts (L24)
Change-Id: I010d5360ea7704af376a384330e1fc2e512e4c9a
This commit is contained in:
parent
e6c7095c6b
commit
53fea97346
@ -81,7 +81,8 @@ class Singlestat(Base):
|
||||
'valueFontSize', default='80%'): v.All(
|
||||
v.Match(r'^[1-9]?[0]{1}%$|^1[0-9]?[0]{1}%$|^200%$')),
|
||||
v.Required('valueName', default='avg'): v.Any(
|
||||
'avg', 'current', 'max', 'min', 'total'),
|
||||
'min', 'max', 'avg', 'current', 'total',
|
||||
'name', 'first', 'delta', 'diff', 'range', 'last_time'),
|
||||
v.Optional('datasource'): v.All(str),
|
||||
v.Optional('decimals'): v.All(int, v.Range(min=0, max=12)),
|
||||
v.Optional('gauge'): gauge,
|
||||
|
Loading…
x
Reference in New Issue
Block a user