mirror of
https://github.com/rancher/types.git
synced 2025-09-17 07:19:17 +00:00
@@ -12,11 +12,11 @@ const (
|
||||
)
|
||||
|
||||
type MetricRule struct {
|
||||
Comparison string `json:"comparison,omitempty" yaml:"comparison,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Duration string `json:"duration,omitempty" yaml:"duration,omitempty"`
|
||||
Expression string `json:"expression,omitempty" yaml:"expression,omitempty"`
|
||||
LegendFormat string `json:"legendFormat,omitempty" yaml:"legendFormat,omitempty"`
|
||||
Step int64 `json:"step,omitempty" yaml:"step,omitempty"`
|
||||
ThresholdValue *float64 `json:"thresholdValue,omitempty" yaml:"thresholdValue,omitempty"`
|
||||
Comparison string `json:"comparison,omitempty" yaml:"comparison,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Duration string `json:"duration,omitempty" yaml:"duration,omitempty"`
|
||||
Expression string `json:"expression,omitempty" yaml:"expression,omitempty"`
|
||||
LegendFormat string `json:"legendFormat,omitempty" yaml:"legendFormat,omitempty"`
|
||||
Step int64 `json:"step,omitempty" yaml:"step,omitempty"`
|
||||
ThresholdValue float64 `json:"thresholdValue,omitempty" yaml:"thresholdValue,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user