mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
console: use avg/max for LimitType (instead of Avg/Max)
This commit is contained in:
@@ -20,7 +20,7 @@ type graphCommonHandlerInput struct {
|
||||
End time.Time `json:"end" binding:"required,gtfield=Start"`
|
||||
Dimensions []query.Column `json:"dimensions"` // group by ...
|
||||
Limit int `json:"limit" binding:"min=1"` // limit product of dimensions
|
||||
LimitType string `json:"limitType" validate:"oneof=Avg Max"`
|
||||
LimitType string `json:"limitType" validate:"oneof=avg max"`
|
||||
Filter query.Filter `json:"filter"` // where ...
|
||||
TruncateAddrV4 int `json:"truncate-v4" binding:"min=0,max=32"` // 0 or 32 = no truncation
|
||||
TruncateAddrV6 int `json:"truncate-v6" binding:"min=0,max=128"` // 0 or 128 = no truncation
|
||||
|
||||
Reference in New Issue
Block a user