mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
console: add “%” to available units
This is useful to detect interfaces that are close to saturation quickly. It would usually require to group by exporter name and interface name and it may not make sense for some graph types (like stacked 100%). It is useful with Lines and Grid.
This commit is contained in:
@@ -27,7 +27,7 @@ type graphHandlerInput struct {
|
||||
Dimensions []query.Column `json:"dimensions"` // group by ...
|
||||
Limit int `json:"limit" binding:"min=1"` // limit product of dimensions
|
||||
Filter query.Filter `json:"filter"` // where ...
|
||||
Units string `json:"units" binding:"required,oneof=pps l2bps l3bps"`
|
||||
Units string `json:"units" binding:"required,oneof=pps l2bps l3bps inl2% outl2%"`
|
||||
Bidirectional bool `json:"bidirectional"`
|
||||
PreviousPeriod bool `json:"previous-period"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user