mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 12:51:40 +02:00
Add metrics to histoselect, add userfilters
- edit struct to make only count return required
This commit is contained in:
@@ -110,10 +110,10 @@ type MetricFootprints struct {
|
||||
}
|
||||
|
||||
type MetricHistoPoint struct {
|
||||
Min int `json:"min"`
|
||||
Max int `json:"max"`
|
||||
Count int `json:"count"`
|
||||
Bin int `json:"bin"`
|
||||
Bin *int `json:"bin,omitempty"`
|
||||
Count int `json:"count"`
|
||||
Min *int `json:"min,omitempty"`
|
||||
Max *int `json:"max,omitempty"`
|
||||
}
|
||||
|
||||
type MetricHistoPoints struct {
|
||||
|
Reference in New Issue
Block a user